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

void QWidget::setDisabled ( bool  disable  )  [slot, inherited]

Disables widget input events if disable is true; otherwise enables input events.

See the enabled documentation for more information.

See also:
isEnabledTo(), QKeyEvent, QMouseEvent, changeEvent()

Definition at line 2483 of file qwidget.cpp.

{
    setEnabled(!disable);
}


Generated by  Doxygen 1.6.0   Back to index