Q_UNUSED(event);
QPainter painter(this);
- ///< @todo magic
+///< @todo magic
QRect shadowRect = QRect(0, 0, rect().width(), m_menuDropShadowTile.height());
painter.drawTiledPixmap(shadowRect, m_menuDropShadowTile);
}
QPainter painter(this);
if (isChecked()) {
- ///< @todo magic
+///< @todo magic
m_tabRect.setRect(0, 0, TAB_WIDTH_ACTIVE, TAB_HEIGHT);
painter.drawPixmap(m_tabRect, m_tabActiveImage);
} else {
- ///< @todo magic
+///< @todo magic
m_tabRect.setRect(TAB_WIDTH_ACTIVE - TAB_WIDTH, 0, TAB_WIDTH, TAB_HEIGHT);
painter.drawPixmap(m_tabRect, m_tabInactiveImage);
}
// --- BAR ---
m_panelBar = new PanelBar(this);
- ///< @todo magic
+///< @todo magic
m_panelBar->move(PANEL_TAB_WIDTH, 0);
// --- PANEL CONTENT ---
m_panelContentStack = new PanelContentStack(this);
- ///< @todo magic
+///< @todo magic
m_panelContentStack->move(PANEL_TAB_WIDTH + PANEL_BAR_WIDTH, 0);
// --- PANEL ANIMATION ---
QVBoxLayout *userInfoPanelLayout = new QVBoxLayout;
userInfoPanelLayout->setMargin(0);
userInfoPanelLayout->setSpacing(0);
+///< @todo magic
userInfoPanelLayout->setContentsMargins(PANEL_MARGIN_LEFT, 0, PANEL_MARGIN_RIGHT, 0);
setLayout(userInfoPanelLayout);