Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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
24namespace Ui {
25class AboutDialog;
26}
27
29{
30Q_OBJECT
31
32public:
33 explicit AuthorListModel(QObject * parent = Q_NULLPTR);
34 virtual ~AuthorListModel();
35
36protected:
37 virtual QStringList headerColumns() const;
38
39};
40
42{
43 Q_OBJECT
44public:
45 explicit PluginListModel(QObject * parent = Q_NULLPTR);
46
47 QStringList typeNames() const;
48
49protected:
50 virtual QStringList headerColumns() const;
51
52private:
53 QStringList typeNames_;
54};
55
57{
58 Q_OBJECT
59public:
60 explicit ShortcutListModel(QObject * parent = Q_NULLPTR);
61
62protected:
63 virtual QStringList headerColumns() const;
64};
65
67{
68 Q_OBJECT
69public:
70 explicit FolderListModel(QObject * parent = Q_NULLPTR);
71
72protected:
73 virtual QStringList headerColumns() const;
74};
75
76class AboutDialog : public QDialog
77{
78 Q_OBJECT
79
80public:
81 explicit AboutDialog(QWidget *parent = 0);
83
84protected:
85 virtual bool event(QEvent *event);
86 virtual void showEvent(QShowEvent *);
87
88private:
89 void updateWiresharkText();
90
91 Ui::AboutDialog *ui;
92 QString script_pattern;
93 QString clipboardInfo;
94
95private 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