|
FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
Provides automatic preservation of a QComboBox's current item on reset of a QAbstractItemModel. More...
#include <qttools/gui/qcombo_box_current_item_keeper.h>
Signals | |
| void | currentIndexChanged (int row) |
Public Member Functions | |
| QComboBoxCurrentItemKeeper (QComboBox *comboBox=NULL) | |
| int | columnForModelRowIdentifier () const |
| void | setColumnForModelRowIdentifier (int col) |
Provides automatic preservation of a QComboBox's current item on reset of a QAbstractItemModel.
| qtgui::QComboBoxCurrentItemKeeper::QComboBoxCurrentItemKeeper | ( | QComboBox * | comboBox = NULL | ) |
| int qtgui::QComboBoxCurrentItemKeeper::columnForModelRowIdentifier | ( | ) | const |
|
signal |
| void qtgui::QComboBoxCurrentItemKeeper::setColumnForModelRowIdentifier | ( | int | col | ) |
1.8.8