Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wireshark_file_dialog.h
Go to the documentation of this file.
1
10#ifndef WIRESHARK_FILE_DIALOG_H
11#define WIRESHARK_FILE_DIALOG_H
12
13#include <QFileDialog>
14
35class WiresharkFileDialog : public QFileDialog
36{
37public:
38 WiresharkFileDialog(QWidget *parent = nullptr, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString());
39 QString selectedNativePath() const;
40 static QString getExistingDirectory(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), Options options = ShowDirsOnly);
41 static QString getOpenFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options());
42 static QString getSaveFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options());
43};
44
45#endif // WIRESHARK_FILE_DIALOG_H
The WiresharkFileDialog class.
Definition wireshark_file_dialog.h:36