Main application settings dialog with tabbed navigation and search.
More...
#include <dlg_settings.h>
|
| void | closeEvent (QCloseEvent *event) override |
| bool | eventFilter (QObject *watched, QEvent *event) override |
Main application settings dialog with tabbed navigation and search.
Provides a modern settings interface organized into tabbed pages. Users can either navigate by clicking tabs or search for specific settings using the built-in search bar. Search results are filtered and ranked by relevance.
◆ SettingsPage
Page order in the tab bar, matching the order pages are added in setupUi().
Use these values instead of raw indices so reordering pages never silently breaks external callers like tab_room.cpp.
| Enumerator |
|---|
| GeneralPage | |
| AppearancePage | |
| UserInterfacePage | |
| DeckEditorPage | |
| StoragePage | |
| MessagesPage | |
| SoundPage | |
| ShortcutsPage | |
| NumPages | |
◆ DlgSettings()
| DlgSettings::DlgSettings |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ buildSearchIndex()
| void DlgSettings::buildSearchIndex |
( |
| ) |
|
|
private |
◆ closeEvent()
| void DlgSettings::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotected |
◆ eventFilter()
| bool DlgSettings::eventFilter |
( |
QObject * | watched, |
|
|
QEvent * | event ) |
|
overrideprotected |
◆ flashWidget()
| void DlgSettings::flashWidget |
( |
QWidget * | widget | ) |
|
|
staticprivate |
◆ navigateToSearchResult()
| void DlgSettings::navigateToSearchResult |
( |
const QModelIndex & | index | ) |
|
|
private |
◆ onSearchResultClicked
| void DlgSettings::onSearchResultClicked |
( |
const QModelIndex & | index | ) |
|
|
privateslot |
◆ onSearchTextChanged
| void DlgSettings::onSearchTextChanged |
( |
const QString & | text | ) |
|
|
privateslot |
◆ onTabClicked
| void DlgSettings::onTabClicked |
( |
int | index | ) |
|
|
privateslot |
◆ retranslateTabNames()
| void DlgSettings::retranslateTabNames |
( |
| ) |
|
|
private |
◆ retranslateUi()
| void DlgSettings::retranslateUi |
( |
| ) |
|
|
private |
◆ setActiveTab()
| void DlgSettings::setActiveTab |
( |
int | index | ) |
|
|
private |
◆ setTab()
| void DlgSettings::setTab |
( |
int | index | ) |
|
◆ setupTabBar()
| void DlgSettings::setupTabBar |
( |
| ) |
|
|
private |
◆ setupUi()
| void DlgSettings::setupUi |
( |
| ) |
|
|
private |
◆ switchToSearchMode()
| void DlgSettings::switchToSearchMode |
( |
| ) |
|
|
private |
◆ switchToTabMode()
| void DlgSettings::switchToTabMode |
( |
| ) |
|
|
private |
◆ translatedPageNames()
| QStringList DlgSettings::translatedPageNames |
( |
| ) |
|
|
staticprivate |
◆ updateLanguage
| void DlgSettings::updateLanguage |
( |
| ) |
|
|
privateslot |
◆ currentTabIndex
| int DlgSettings::currentTabIndex |
|
private |
Currently active tab index.
◆ okButton
| QPushButton* DlgSettings::okButton |
|
private |
Button to close the dialog.
◆ pages
All settings page instances.
◆ pagesContainer
| QWidget* DlgSettings::pagesContainer |
|
private |
Container stacking pages and search results.
◆ pagesWidget
| QStackedWidget* DlgSettings::pagesWidget |
|
private |
Stacked widget containing settings pages.
◆ searchActive
| bool DlgSettings::searchActive |
|
private |
Whether search mode is active.
◆ searchDelegate
Delegate for search result rendering.
◆ searchEdit
| QLineEdit* DlgSettings::searchEdit |
|
private |
Search bar for filtering settings.
◆ searchModel
Model for search results.
◆ searchResultsView
| QListView* DlgSettings::searchResultsView |
|
private |
Search results list view.
◆ tabBarWidget
| QWidget* DlgSettings::tabBarWidget |
|
private |
Container widget for the tab buttons.
◆ tabButtons
| QList<QToolButton *> DlgSettings::tabButtons |
|
private |
The documentation for this class was generated from the following files: