Convenience methods for combo box. More...
#include <comboboxex.h>
Public Member Functions | |
ComboBoxEx (QComboBox &comboBox) | |
QStringList | allItems () const |
bool | removeCurrentItem () |
Removes currently selected item. More... | |
bool | removeItem (const QString &item) |
Removes item that matches specified one. More... | |
void | setCurrentOrAddNewAndSelect (const QString &item) |
void | setItemsSorted (QStringList items) |
Convenience methods for combo box.
Definition at line 32 of file comboboxex.h.
bool ComboBoxEx::removeCurrentItem | ( | ) |
Removes currently selected item.
Definition at line 45 of file comboboxex.cpp.
bool ComboBoxEx::removeItem | ( | const QString & | item | ) |
Removes item that matches specified one.
Definition at line 50 of file comboboxex.cpp.