#include <choicesearchutilities.h>
◆ ChoiceSearchComboBox()
Digikam::ChoiceSearchComboBox::ChoiceSearchComboBox |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
A combo box for entering a choice of values. Operates on a ChoiceSearchModel. After constructing the object, call setModel with your model.
◆ checkStateChanged
void Digikam::ChoiceSearchComboBox::checkStateChanged |
( |
| ) |
|
|
signal |
◆ currentIndex()
QModelIndex Digikam::ModelIndexBasedComboBox::currentIndex |
( |
| ) |
const |
|
inherited |
◆ eventFilter()
bool Digikam::StayPoppedUpComboBox::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotectedinherited |
◆ hidePopup()
void Digikam::ModelIndexBasedComboBox::hidePopup |
( |
| ) |
|
|
overrideinherited |
◆ installView()
void Digikam::ChoiceSearchComboBox::installView |
( |
QAbstractItemView * |
view = nullptr | ) |
|
|
overrideprotectedvirtual |
◆ label()
◆ labelClicked
void Digikam::ChoiceSearchComboBox::labelClicked |
( |
| ) |
|
|
protectedslot |
◆ model()
◆ sendViewportEventToView()
void Digikam::ListViewComboBox::sendViewportEventToView |
( |
QEvent * |
e | ) |
|
|
overrideprotectedvirtualinherited |
Implement in subclass: Send the given event to the viewportEvent() method of m_view. This method is protected for a usual QAbstractItemView. You can override, pass a view, and call parent implementation. The existing view will be used. You must then also reimplement sendViewportEventToView.
Implements Digikam::StayPoppedUpComboBox.
References Digikam::StayPoppedUpComboBox::m_view.
◆ setCurrentIndex()
void Digikam::ModelIndexBasedComboBox::setCurrentIndex |
( |
const QModelIndex & |
index | ) |
|
|
inherited |
◆ setLabelText()
void Digikam::ChoiceSearchComboBox::setLabelText |
( |
const QString & |
text | ) |
|
◆ setSearchModel()
◆ showPopup()
void Digikam::ModelIndexBasedComboBox::showPopup |
( |
| ) |
|
|
overrideinherited |
◆ view()
QListView * Digikam::ListViewComboBox::view |
( |
| ) |
const |
|
inherited |
◆ m_currentIndex
QPersistentModelIndex Digikam::ModelIndexBasedComboBox::m_currentIndex |
|
protectedinherited |
◆ m_label
◆ m_view
QAbstractItemView* Digikam::StayPoppedUpComboBox::m_view = nullptr |
|
protectedinherited |
The documentation for this class was generated from the following files: