![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Public Member Functions | |
ModelIndexBasedComboBox (QWidget *const parent=nullptr) | |
QComboBox has a current index based on a single integer. | |
QModelIndex | currentIndex () const |
void | hidePopup () override |
void | setCurrentIndex (const QModelIndex &index) |
void | showPopup () override |
Protected Attributes | |
QPersistentModelIndex | m_currentIndex |
|
explicit |
This is not sufficient for more complex models. This class is a combo box that stores a current index based on QModelIndex.