10#ifndef PROFILE_DIALOG_H
11#define PROFILE_DIALOG_H
20#include <QTreeWidgetItem>
91 Ui::ProfileDialog *pd_ui_;
92 QPushButton *ok_button_;
93 QPushButton *import_button_;
94#if defined(HAVE_MINIZIP) || defined(HAVE_MINIZIPNG)
95 QPushButton *export_button_;
96 QAction *export_selected_entry_;
107 void finishImport(QFileInfo fi,
int skipped,
const QStringList& importedProfiles);
115#if defined(HAVE_MINIZIP) || defined(HAVE_MINIZIPNG)
120 void exportProfiles(
bool exportAllPersonalProfiles =
false);
125 void importFromZip();
130 void importFromDirectory();
135 void newToolButtonClicked();
140 void deleteToolButtonClicked();
145 void copyToolButtonClicked();
150 void buttonBoxAccepted();
155 void buttonBoxHelpRequested();
160 void dataChanged(
const QModelIndex &);
166 void filterChanged(
const QString &text);
171 void selectionChanged();
177 QModelIndexList selectedProfiles();
A dialog that remembers its geometry and splitter state.
Definition geometry_state_dialog.h:20
Dialog for managing Wireshark configuration profiles.
Definition profile_dialog.h:31
void selectProfile(QString profile=QString())
Select the profile with the given name.
Definition profile_dialog.cpp:147
QLabel * autoSwitchLimitLabel() const
Gets the auto switch limit label UI element.
Definition profile_dialog.cpp:135
virtual void keyPressEvent(QKeyEvent *event)
Handles key press events within the dialog.
Definition profile_dialog.cpp:140
ProfileAction
Actions that can be performed on profiles.
Definition profile_dialog.h:38
@ ShowProfiles
Definition profile_dialog.h:39
@ ImportDirProfile
Definition profile_dialog.h:42
@ ImportZipProfile
Definition profile_dialog.h:41
@ ExportAllProfiles
Definition profile_dialog.h:44
@ EditCurrentProfile
Definition profile_dialog.h:45
@ DeleteCurrentProfile
Definition profile_dialog.h:46
@ ExportSingleProfile
Definition profile_dialog.h:43
@ NewProfile
Definition profile_dialog.h:40
int execAction(ProfileAction profile_action)
Executes a specific profile action.
Definition profile_dialog.cpp:157
virtual ~ProfileDialog()
Destroys the ProfileDialog.
Definition profile_dialog.cpp:130
Table model that manages the full set of configuration profiles, supporting creation,...
Definition profile_model.h:244
Sort/filter proxy model for ProfileModel, supporting filtering by profile visibility (all,...
Definition profile_model.h:178
Definition packet-epl.h:22