23 Q_PROPERTY(
bool tabBarAlwaysVisible READ isTabBarAlwaysVisible WRITE setTabBarAlwaysVisible)
28 bool isTabBarAlwaysVisible()
const;
29 void setTabBarAlwaysVisible(
bool value);
32 OptionPage *page(
int categoryIndex,
int pageIndex)
const;
34 void translateCategory(
OptionCategory *category,
const std::function<QString()> &translator);
36 QWidget *cornerWidget(Qt::Corner corner = Qt::TopRightCorner)
const;
37 void setCornerWidget(QWidget *widget, Qt::Corner corner = Qt::TopRightCorner);
38 void addHeadingWidget(QWidget *widget);
39 void selectPage(
int categoryIndex,
int pageIndex);
51 bool event(QEvent *event)
override;
52 void showEvent(QShowEvent *event)
override;
55 void currentCategoryChanged(
const QModelIndex &index);
56 void updateTabWidget();
57 void retranslateTabWidget();
60 std::unique_ptr<Ui::SettingsDialog> m_ui;
64 bool m_tabBarAlwaysVisible;
The OptionPage class is the base class for SettingsDialog pages.