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_;
87 bool saved_capture_no_extcap_;
89 QTimer *searchLineEditTimer;
90 QString searchLineEditText;
97 void selectPane(QString pane);
103 void handleCopyMenu(QPoint pos);
108 void copyActionTriggered();
113 void copyRowActionTriggered();
119 void on_advancedSearchLineEdit_textEdited(
const QString &search_re);
125 void on_showChangedValuesCheckBox_toggled(
bool checked);
130 void on_buttonBox_accepted();
135 void on_buttonBox_rejected();
140 void on_buttonBox_helpRequested();
146 void on_buttonBox_clicked(QAbstractButton *button);
154 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:195
void showEvent(QShowEvent *evt) override
Handles the show event for the dialog.
Definition preferences_dialog.cpp:236
void keyPressEvent(QKeyEvent *event) override
Handles key press events within the dialog.
Definition preferences_dialog.cpp:207
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:202
Tree model backing the Preferences dialog.
Definition pref_models.h:28