Changeset View
Changeset View
Standalone View
Standalone View
part/overwritedialog.h
Show All 37 Lines | |||||
38 | #include <QHBoxLayout> | 38 | #include <QHBoxLayout> | ||
39 | #include <QDialogButtonBox> | 39 | #include <QDialogButtonBox> | ||
40 | 40 | | |||
41 | 41 | | |||
42 | class OverwriteDialog : public QDialog | 42 | class OverwriteDialog : public QDialog | ||
43 | { | 43 | { | ||
44 | Q_OBJECT | 44 | Q_OBJECT | ||
45 | public: | 45 | public: | ||
46 | explicit OverwriteDialog(QWidget *parent, const QList<const Kerfuffle::Archive::Entry*> &entries, const QHash<QString, QIcon> &icons, bool error = false); | 46 | explicit OverwriteDialog(QWidget *parent, const QList<const Kerfuffle::Archive::Entry*> &entries, bool error = false); | ||
47 | ~OverwriteDialog() override; | 47 | ~OverwriteDialog() override; | ||
48 | 48 | | |||
49 | private: | 49 | private: | ||
50 | QVBoxLayout m_vBoxLayout; | 50 | QVBoxLayout m_vBoxLayout; | ||
51 | QHBoxLayout m_messageLayout; | 51 | QHBoxLayout m_messageLayout; | ||
52 | QLabel m_messageIcon; | 52 | QLabel m_messageIcon; | ||
53 | QLabel m_messageText; | 53 | QLabel m_messageText; | ||
54 | QListWidget m_entriesList; | 54 | QListWidget m_entriesList; | ||
55 | QDialogButtonBox m_buttonBox; | 55 | QDialogButtonBox m_buttonBox; | ||
56 | }; | 56 | }; | ||
57 | 57 | | |||
58 | #endif | 58 | #endif |