Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

profile_dialog.h
1 /* profile_dialog.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef PROFILE_DIALOG_H
11 #define PROFILE_DIALOG_H
12
13 #include "geometry_state_dialog.h"
14
15 class QPushButton;
16 class QTreeWidgetItem;
17
18 namespace Ui {
19 class ProfileDialog;
20 }
21
22 class ProfileDialog : public GeometryStateDialog
23 {
24 Q_OBJECT
25
26 public:
27 enum ProfileAction { ShowProfiles, NewProfile, EditCurrentProfile, DeleteCurrentProfile };
28
29 explicit ProfileDialog(QWidget *parent = 0);
30 ~ProfileDialog();
31 int execAction(ProfileAction profile_action);
32
33
34 private:
35 void updateWidgets();
36 Ui::ProfileDialog *pd_ui_;
37 QPushButton *ok_button_;
38
39 private slots:
40 void on_profileTreeWidget_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
41 void on_newToolButton_clicked();
42 void on_deleteToolButton_clicked();
43 void on_copyToolButton_clicked();
44 void on_buttonBox_accepted();
45 void on_buttonBox_helpRequested();
46 void editingFinished();
47 };
48
49 #endif // PROFILE_DIALOG_H
GeometryStateDialog
Definition: geometry_state_dialog.h:15
Ui
Definition: ui_about_dialog.h:291
ProfileDialog
Definition: profile_dialog.h:22
Ui::ProfileDialog
Definition: ui_profile_dialog.h:142