FougTools  0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Signals | Public Member Functions | List of all members
qtgui::QComboBoxCurrentItemKeeper Class Reference

Provides automatic preservation of a QComboBox's current item on reset of a QAbstractItemModel. More...

#include <qttools/gui/qcombo_box_current_item_keeper.h>

Inheritance diagram for qtgui::QComboBoxCurrentItemKeeper:

Signals

void currentIndexChanged (int row)
 

Public Member Functions

 QComboBoxCurrentItemKeeper (QComboBox *comboBox=NULL)
 
int columnForModelRowIdentifier () const
 
void setColumnForModelRowIdentifier (int col)
 

Detailed Description

Provides automatic preservation of a QComboBox's current item on reset of a QAbstractItemModel.

Constructor & Destructor Documentation

qtgui::QComboBoxCurrentItemKeeper::QComboBoxCurrentItemKeeper ( QComboBox *  comboBox = NULL)

Member Function Documentation

int qtgui::QComboBoxCurrentItemKeeper::columnForModelRowIdentifier ( ) const
void qtgui::QComboBoxCurrentItemKeeper::currentIndexChanged ( int  row)
signal
void qtgui::QComboBoxCurrentItemKeeper::setColumnForModelRowIdentifier ( int  col)

The documentation for this class was generated from the following files: