20 Q_PROPERTY(QString displayName READ displayName WRITE setDisplayName NOTIFY displayNameChanged)
21 Q_PROPERTY(QIcon icon READ icon WRITE setIcon NOTIFY iconChanged)
22 Q_PROPERTY(QList<
OptionPage *> pages READ pages WRITE assignPages NOTIFY pagesChanged)
28 const QString &displayName() const;
29 void setDisplayName(const QString &displayName);
30 const QIcon &icon() const;
31 void setIcon(const QIcon &icon);
33 void assignPages(const QList<
OptionPage *> &pages);
36 void retranslateAllPages();
37 bool matches(const QString &searchKeyWord) const;
38 int currentIndex() const;
39 void setCurrentIndex(
int currentIndex);
42 void displayNameChanged(const QString &displayName);
43 void iconChanged(const QIcon &icon);
47 QString m_displayName;
The OptionPage class is the base class for SettingsDialog pages.