#include "panelcommon.h"
+///< @todo requires clean-up, there is some commented code
+
PanelBar::PanelBar(QWidget *parent)
: QWidget(parent)
{
QPainter painter(this);
painter.drawTiledPixmap(m_barRect, m_barTile);
+ ///< @todo magic
painter.drawTiledPixmap(0, 0, PANEL_BAR_WIDTH, m_menuDropShadowTile.height(),
m_menuDropShadowTile);
}
{
qDebug() << __PRETTY_FUNCTION__;
+ ///< @todo magic
m_barRect.setRect(0, 0, PANEL_BAR_WIDTH, size.height());
// m_sliderRegion = QRegion(m_buttonRect).united(QRegion(m_topRect).united(QRegion(m_bottomRect)));