Mercurial > trustbridge
view ui/createinstallerdialog.h @ 372:6cc124e79066
Add save/load unselected and add role enumerator
Explicitly naming the roles avoids confusion and makes
the code more readable
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 11:56:29 +0200 |
parents | b67dd46cd4a9 |
children | 17e1c8f37d72 |
line wrap: on
line source
#ifndef CREATEINSTALLERDIALOG_H #define CREATEINSTALLERDIALOG_H #include <QDialog> #include <QMainWindow> #include <QLineEdit> /** * @file createinstallerdialog.h * @brief The dialog to show settings and create an installer. */ class QListWidget; class CreateInstallerDialog : public QDialog { Q_OBJECT public: /** @brief Create a dialog showing settings for the create installer# * process * */ CreateInstallerDialog(QMainWindow *parent); private: void setupGUI(); QLineEdit *mCertFile; QLineEdit *mArchiveFile; QLineEdit *mSaveFile; private slots: void openCertificateSelect(); void openArchiveSelect(); void openSaveLocation(); void createInstaller(); }; #endif // CREATEINSTALLERDIALOG_H