10#ifndef PREFERENCES_DIALOG_H
11#define PREFERENCES_DIALOG_H
26class PreferencesDialog;
53 void setPane(
const QString module_name);
77 void resizeSplitter();
79 Ui::PreferencesDialog *pd_ui_;
81 QHash<QString, QWidget*> prefs_pane_to_item_;
88 QTimer *searchLineEditTimer;
89 QString searchLineEditText;
96 void selectPane(QString pane);
102 void handleCopyMenu(QPoint pos);
107 void copyActionTriggered();
112 void copyRowActionTriggered();
118 void on_advancedSearchLineEdit_textEdited(
const QString &search_re);
124 void on_showChangedValuesCheckBox_toggled(
bool checked);
129 void on_buttonBox_accepted();
134 void on_buttonBox_rejected();
139 void on_buttonBox_helpRequested();
145 void on_buttonBox_clicked(QAbstractButton *button);
153 void updateSearchLineEdit();
Item delegate providing in-place editors for the Advanced Preferences table.
Definition pref_delegate.h:26
Sort/filter proxy model for the Advanced Preferences pane.
Definition pref_models.h:237
GeometryStateDialog(QWidget *parent, Qt::WindowFlags f=Qt::Window)
Constructs a new GeometryStateDialog with the specified parent and window flags.
Definition geometry_state_dialog.h:91
Sort/filter proxy model for the module (left-hand) pane of the Preferences dialog.
Definition pref_models.h:364
~PreferencesDialog()
Destroys the PreferencesDialog.
Definition preferences_dialog.cpp:194
void showEvent(QShowEvent *evt) override
Handles the show event for the dialog.
Definition preferences_dialog.cpp:235
void keyPressEvent(QKeyEvent *event) override
Handles key press events within the dialog.
Definition preferences_dialog.cpp:206
PreferencesDialog(QWidget *parent=0)
Constructs a PreferencesDialog.
Definition preferences_dialog.cpp:123
void setPane(const QString module_name)
Show the preference pane corresponding to the a preference module name.
Definition preferences_dialog.cpp:201
Tree model backing the Preferences dialog.
Definition pref_models.h:28