The OptionCategory class wraps associated option pages.
More...
#include <optioncategory.h>
The OptionCategory class wraps associated option pages.
Definition at line 18 of file optioncategory.h.
◆ OptionCategory()
QtUtilities::OptionCategory::OptionCategory |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~OptionCategory()
QtUtilities::OptionCategory::~OptionCategory |
( |
| ) |
|
|
override |
◆ applyAllPages()
bool QtUtilities::OptionCategory::applyAllPages |
( |
| ) |
|
◆ assignPages()
void QtUtilities::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 QtUtilities::OptionCategory::currentIndex |
( |
| ) |
const |
|
inline |
◆ displayName()
const QString & QtUtilities::OptionCategory::displayName |
( |
| ) |
const |
|
inline |
◆ displayNameChanged
QtUtilities::OptionCategory::displayNameChanged |
( |
const QString & |
displayName | ) |
|
|
signal |
Emitted when the display name changed.
◆ icon()
const QIcon & QtUtilities::OptionCategory::icon |
( |
| ) |
const |
|
inline |
◆ iconChanged
QtUtilities::OptionCategory::iconChanged |
( |
const QIcon & |
icon | ) |
|
|
signal |
Emitted when the icon changed.
◆ matches()
bool QtUtilities::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 * > & QtUtilities::OptionCategory::pages |
( |
| ) |
const |
|
inline |
◆ pagesChanged
Emitted when the pages changed.
◆ resetAllPages()
void QtUtilities::OptionCategory::resetAllPages |
( |
| ) |
|
◆ setCurrentIndex()
void QtUtilities::OptionCategory::setCurrentIndex |
( |
int |
currentIndex | ) |
|
|
inline |
◆ setDisplayName()
void QtUtilities::OptionCategory::setDisplayName |
( |
const QString & |
displayName | ) |
|
|
inline |
◆ setIcon()
void QtUtilities::OptionCategory::setIcon |
( |
const QIcon & |
icon | ) |
|
|
inline |
◆ displayName
QString QtUtilities::OptionCategory::displayName |
|
readwrite |
◆ icon
QIcon QtUtilities::OptionCategory::icon |
|
readwrite |
◆ pages
QList<OptionPage *> QtUtilities::OptionCategory::pages |
|
readwrite |
The documentation for this class was generated from the following files: