Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
main_window_preferences_frame.h
Go to the documentation of this file.
1
10#ifndef MAIN_WINDOW_PREFERENCES_FRAME_H
11#define MAIN_WINDOW_PREFERENCES_FRAME_H
12
13#include <epan/prefs.h>
14
15#include <QFrame>
16
17namespace Ui {
19}
20
21class MainWindowPreferencesFrame : public QFrame
22{
23 Q_OBJECT
24
25public:
26 explicit MainWindowPreferencesFrame(QWidget *parent = 0);
28
29protected:
30 void showEvent(QShowEvent *evt);
31
32private:
33 Ui::MainWindowPreferencesFrame *ui;
34
35 pref_t *pref_geometry_save_position_;
36 pref_t *pref_geometry_save_size_;
37 pref_t *pref_geometry_save_maximized_;
38 pref_t *pref_fileopen_style_;
39 pref_t *pref_fileopen_dir_;
40 pref_t *pref_recent_df_entries_max_;
41 pref_t *pref_recent_files_count_max_;
42 pref_t *pref_ask_unsaved_;
43 pref_t *pref_autocomplete_filter_;
44 pref_t *pref_toolbar_main_style_;
45 pref_t *pref_window_title_;
46 pref_t *pref_prepend_window_title_;
47 void updateWidgets();
48
49private slots:
50 void on_geometryCheckBox_toggled(bool checked);
51 void on_foStyleCWDRadioButton_toggled(bool checked);
52 void on_foStyleLastOpenedRadioButton_toggled(bool checked);
53 void on_foStyleSpecifiedRadioButton_toggled(bool checked);
54 void on_foStyleSpecifiedLineEdit_textEdited(const QString &new_dir);
55 void on_foStyleSpecifiedPushButton_clicked();
56 void on_maxFilterLineEdit_textEdited(const QString &new_max);
57 void on_maxRecentLineEdit_textEdited(const QString &new_max);
58 void on_confirmUnsavedCheckBox_toggled(bool checked);
59 void on_displayAutoCompleteCheckBox_toggled(bool checked);
60 void on_mainToolbarComboBox_currentIndexChanged(int index);
61 void on_languageComboBox_currentIndexChanged(int index);
62 void on_windowTitle_textEdited(const QString &new_title);
63 void on_prependWindowTitle_textEdited(const QString &new_prefix);
64};
65
66#endif // MAIN_WINDOW_PREFERENCES_FRAME_H
Definition main_window_preferences_frame.h:22
Definition prefs.c:249