Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// PREPARE THE PIXMAP: m_handlePixmap.resize(59, 39); painter.begin(&m_handlePixmap); // FILL IT FOR TEST PURPOSE: QBrush brush(Qt::black); painter.fillRect(QRect(0, 0, 59, 39), brush); // DRAW THE HANDLE: ((KStyle&)(kapp->style())).drawKStylePrimitive(KStyle::KPE_ToolBarHandle, &painter, this, QRect(0, 0, 19, 19), colorGroup(), QStyle::Style_Default); painter.end(); |
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools