SettingsSelector Class
(Utils::SettingsSelector)Public Functions
| SettingsSelector(QWidget *parent = 0) | |
| ~SettingsSelector() | |
| QMenu * | addMenu() const |
| QAbstractItemModel * | configurationModel() const |
| int | currentIndex() const |
| QString | labelText() const |
| void | setAddMenu(QMenu *) |
| void | setConfigurationModel(QAbstractItemModel *model) |
| void | setCurrentIndex(int index) |
| void | setLabelText(const QString &text) |
Signals
| void | add() |
| void | currentChanged(int index) |
| void | remove(int index) |
| void | rename(int index, const QString &newName) |
Member Function Documentation
SettingsSelector::SettingsSelector(QWidget *parent = 0)
Default constructs an instance of SettingsSelector.
SettingsSelector::~SettingsSelector()
Destroys the instance of SettingsSelector.
[signal] void SettingsSelector::add()
QMenu *SettingsSelector::addMenu() const
See also setAddMenu().
QAbstractItemModel *SettingsSelector::configurationModel() const
See also setConfigurationModel().
[signal] void SettingsSelector::currentChanged(int index)
int SettingsSelector::currentIndex() const
See also setCurrentIndex().
QString SettingsSelector::labelText() const
See also setLabelText().
[signal] void SettingsSelector::remove(int index)
[signal] void SettingsSelector::rename(int index, const QString &newName)
void SettingsSelector::setAddMenu(QMenu *)
See also addMenu().
void SettingsSelector::setConfigurationModel(QAbstractItemModel *model)
See also configurationModel().
void SettingsSelector::setCurrentIndex(int index)
See also currentIndex().
void SettingsSelector::setLabelText(const QString &text)
See also labelText().