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

void QWidget::setSizeIncrement ( int  w,
int  h 
) [inherited]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Sets the x (width) size increment to w and the y (height) size increment to h.

Definition at line 2976 of file qwidget.cpp.

References QWidget::isWindow(), and QWidget::x.

{
    Q_D(QWidget);
    d->createTLExtra();
    QTLWExtra* x = d->topData();
    if (x->incw == w && x->inch == h)
        return;
    x->incw = w;
    x->inch = h;
    if (isWindow())
        d->setConstraints_sys();
}


Generated by  Doxygen 1.6.0   Back to index