QwwListWidget Class
The QwwListWidget class provides an enhanced QListWidget. More...
Header: | #include <QwwListWidget> |
Public Functions
QwwListWidget(QWidget * parent = 0) |
Public Slots
void | moveCurrentDown() |
void | moveCurrentUp() |
void | removeCurrent() |
Signals
void | currentAvailable(bool avail) |
void | moveDownAvailable(bool avail) |
void | moveUpAvailable(bool avail) |
Detailed Description
The QwwListWidget class provides an enhanced QListWidget.
This widget implements enhancements to QListWidget that allow manipulating the current item using signals and slots.
Member Function Documentation
QwwListWidget::QwwListWidget(QWidget * parent = 0)
Constructs a line widget with a given parent.
void QwwListWidget::currentAvailable(bool avail) [signal]
Signal emitted when a current item becomes or stops being available.
avail carries information if the item is available or not. This signal is useful if you want to enable or disable actions or buttons that operate on a selected item in the list.
void QwwListWidget::moveCurrentDown() [slot]
Moves current item one row down if possible
void QwwListWidget::moveCurrentUp() [slot]
Moves current item one row up if possible
void QwwListWidget::moveDownAvailable(bool avail) [signal]
This signal is emitted when the ability of moving the current item down changes.
avail carries information if the item can or cannot be moved down.
void QwwListWidget::moveUpAvailable(bool avail) [signal]
This signal is emitted when the ability of moving the current item up changes.
avail carries information if the item can or cannot be moved up.
void QwwListWidget::removeCurrent() [slot]
Removes current item from the list