Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QAbstractSpinBox::paintEvent ( QPaintEvent event  )  [protected, virtual, inherited]

Reimplemented from QWidget.

Reimplemented in QDateTimeEdit.

Definition at line 877 of file qabstractspinbox.cpp.

References QStylePainter::drawComplexControl(), and QAbstractSpinBox::initStyleOption().

Referenced by QDateTimeEdit::paintEvent().

{
    QStyleOptionSpinBox opt;
    initStyleOption(&opt);
    QStylePainter p(this);
    p.drawComplexControl(QStyle::CC_SpinBox, opt);
}


Generated by  Doxygen 1.6.0   Back to index