The OptionCategory class wraps associated option pages.
More...
#include <optioncategory.h>
The OptionCategory class wraps associated option pages.
Definition at line 14 of file optioncategory.h.
◆ OptionCategory()
Dialogs::OptionCategory::OptionCategory |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~OptionCategory()
Dialogs::OptionCategory::~OptionCategory |
( |
| ) |
|
|
override |
◆ applyAllPages()
bool Dialogs::OptionCategory::applyAllPages |
( |
| ) |
|
◆ assignPages()
void Dialogs::OptionCategory::assignPages |
( |
const QList< OptionPage * > |
pages | ) |
|
Assigns the specified pages to the category.
Previously assigned pages get deleted. The pagesChanged() signal is emitted. The category takes ownership over the given pages.
Definition at line 82 of file optioncategory.cpp.
◆ currentIndex()
int Dialogs::OptionCategory::currentIndex |
( |
| ) |
const |
|
inline |
◆ displayName()
const QString& Dialogs::OptionCategory::displayName |
( |
| ) |
const |
◆ displayNameChanged
Dialogs::OptionCategory::displayNameChanged |
( |
| ) |
|
|
signal |
Emitted when the display name changed.
◆ icon()
const QIcon& Dialogs::OptionCategory::icon |
( |
| ) |
const |
◆ iconChanged
Dialogs::OptionCategory::iconChanged |
( |
| ) |
|
|
signal |
Emitted when the icon changed.
◆ matches()
bool Dialogs::OptionCategory::matches |
( |
const QString & |
searchKeyWord | ) |
const |
Returns whether the option category matches the specified searchKeyWord.
Definition at line 66 of file optioncategory.cpp.
◆ pages()
const QList<OptionPage *> Dialogs::OptionCategory::pages |
( |
| ) |
const |
◆ pagesChanged
Dialogs::OptionCategory::pagesChanged |
( |
| ) |
|
|
signal |
Emitted when the pages changed.
◆ resetAllPages()
void Dialogs::OptionCategory::resetAllPages |
( |
| ) |
|
◆ setCurrentIndex()
void Dialogs::OptionCategory::setCurrentIndex |
( |
int |
currentIndex | ) |
|
|
inline |
◆ setDisplayName()
void Dialogs::OptionCategory::setDisplayName |
( |
const QString & |
displayName | ) |
|
|
inline |
◆ setIcon()
void Dialogs::OptionCategory::setIcon |
( |
const QIcon & |
icon | ) |
|
|
inline |
◆ displayName
const QString & Dialogs::OptionCategory::displayName |
|
inlinereadwrite |
◆ icon
const QIcon & Dialogs::OptionCategory::icon |
|
inlinereadwrite |
◆ pages
const QList< OptionPage * > Dialogs::OptionCategory::pages |
|
inlinereadwrite |
The documentation for this class was generated from the following files: