Qt Utilities 6.14.3
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
#include <optionpage.h>
Public Member Functions | |
UiFileBasedOptionPage (QWidget *parentWindow=nullptr) | |
Constructs a new UI file based option page. | |
~UiFileBasedOptionPage () override | |
Destroys the option page. | |
bool | apply () override=0 |
Applies altered settings. | |
void | reset () override=0 |
Discards altered settings and resets relevant widgets. | |
Public Member Functions inherited from QtUtilities::OptionPage | |
OptionPage (QWidget *parentWindow=nullptr) | |
Constructs a option page. | |
virtual | ~OptionPage () |
Destroys the option page. | |
QWidget * | parentWindow () const |
Returns the parent window of the option page. | |
QWidget * | widget () |
Returns the widget for the option page. | |
bool | hasBeenShown () const |
Returns an indication whether the option page has been shown yet. | |
bool | matches (const QString &searchKeyWord) |
Returns whether the pages matches the specified searchKeyWord. | |
const QStringList & | errors () const |
Returns the errors which haven been occurred when applying the changes. | |
Protected Member Functions | |
QWidget * | setupWidget () override |
Inflates the widget for the option page using the UI class. | |
UiClass * | ui () |
Provides the derived class access to the UI class. | |
Protected Member Functions inherited from QtUtilities::OptionPage | |
QStringList & | errors () |
Returns the errors which haven been occurred when applying the changes. | |
Definition at line 110 of file optionpage.h.
|
explicit |
Constructs a new UI file based option page.
Definition at line 130 of file optionpage.h.
|
override |
Destroys the option page.
Definition at line 138 of file optionpage.h.
|
overridepure virtual |
Applies altered settings.
Implements QtUtilities::OptionPage.
|
overridepure virtual |
Discards altered settings and resets relevant widgets.
Implements QtUtilities::OptionPage.
|
overrideprotectedvirtual |
Inflates the widget for the option page using the UI class.
Implements QtUtilities::OptionPage.
Definition at line 145 of file optionpage.h.
|
inlineprotected |
Provides the derived class access to the UI class.
Definition at line 159 of file optionpage.h.