3#if !defined(QT_WIDGETS_LIB)
4#error Qt Widgets required!
55 [[nodiscard]] QString
displayName()
const {
return m_displayName; }
71 [[nodiscard]]
const QIcon &
categoryIcon()
const {
return m_categoryIcon; }
80 [[nodiscard]]
inline const QStringList &
keyWords()
82 if (m_keywordsInitialized)
86 for (
const QLabel *label : findChildren<QLabel *>())
87 m_keywords << label->text();
88 for (
const QCheckBox *checkbox : findChildren<QCheckBox *>())
89 m_keywords << checkbox->text();
90 for (
const QPushButton *pushButton : findChildren<QPushButton *>())
91 m_keywords << pushButton->text();
92 for (
const QGroupBox *groupBox : findChildren<QGroupBox *>())
93 m_keywords << groupBox->title();
95 m_keywordsInitialized =
true;
147 bool m_keywordsInitialized =
false;
148 QStringList m_keywords;
150 QString m_displayName;
151 QString m_displayCategory;
152 QIcon m_categoryIcon;
154 QSettings *m_settings =
nullptr;