Wireshark  4.3.0
The Wireshark network protocol analyzer
about_dialog.h
Go to the documentation of this file.
1 
10 #ifndef ABOUT_DIALOG_H
11 #define ABOUT_DIALOG_H
12 
13 #include "config.h"
14 
16 
17 #include <QDialog>
18 #include <QAbstractItemModel>
19 #include <QModelIndex>
20 #include <QHash>
21 #include <QString>
22 #include <QSortFilterProxyModel>
23 
24 namespace Ui {
25 class AboutDialog;
26 }
27 
29 {
30 Q_OBJECT
31 
32 public:
33  explicit AuthorListModel(QObject * parent = Q_NULLPTR);
34  virtual ~AuthorListModel();
35 
36 protected:
37  virtual QStringList headerColumns() const;
38 
39 };
40 
42 {
43  Q_OBJECT
44 public:
45  explicit PluginListModel(QObject * parent = Q_NULLPTR);
46 
47  QStringList typeNames() const;
48 
49 protected:
50  virtual QStringList headerColumns() const;
51 
52 private:
53  QStringList typeNames_;
54 };
55 
57 {
58  Q_OBJECT
59 public:
60  explicit ShortcutListModel(QObject * parent = Q_NULLPTR);
61 
62 protected:
63  virtual QStringList headerColumns() const;
64 };
65 
67 {
68  Q_OBJECT
69 public:
70  explicit FolderListModel(QObject * parent = Q_NULLPTR);
71 
72 protected:
73  virtual QStringList headerColumns() const;
74 };
75 
76 class AboutDialog : public QDialog
77 {
78  Q_OBJECT
79 
80 public:
81  explicit AboutDialog(QWidget *parent = 0);
82  ~AboutDialog();
83 
84 protected:
85  virtual bool event(QEvent *event);
86  virtual void showEvent(QShowEvent *);
87 
88 private:
89  void updateWiresharkText();
90 
91  Ui::AboutDialog *ui;
92  QString script_pattern;
93  QString clipboardInfo;
94 
95 private slots:
96  void urlDoubleClicked(const QModelIndex &);
97  void handleCopyMenu(QPoint);
98  void showInFolderActionTriggered();
99  void copyActionTriggered(bool row = false);
100  void copyRowActionTriggered();
101  void on_tblPlugins_doubleClicked(const QModelIndex &index);
102  void on_copyToClipboard_clicked();
103 };
104 
105 #endif // ABOUT_DIALOG_H
Definition: astringlist_list_model.h:23
Definition: about_dialog.h:77
Definition: about_dialog.h:29
Definition: about_dialog.h:67
Definition: about_dialog.h:42
Definition: about_dialog.h:57