From 423670fc310b8c853c471a3c272db13e38edd8db Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 13 Oct 2018 03:18:29 +0200 Subject: Implement layout for CopyDialog Does nothing yet except close. This was harder than it should be: To keep a GridLayout expanding its cells vertically, you have to set the Alignment in the *parent* Layout. Took me a while to figure out... --- copydialog.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 copydialog.h (limited to 'copydialog.h') diff --git a/copydialog.h b/copydialog.h new file mode 100644 index 0000000..2d34094 --- /dev/null +++ b/copydialog.h @@ -0,0 +1,20 @@ +#ifndef COPYDIALOG_H +#define COPYDIALOG_H + +#include + +class QLineEdit; +class QLabel; + +class CopyDialog : public QDialog { + public: + explicit CopyDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); + + private: + QLineEdit *mSrcE; + QLineEdit *mDstE; + QLineEdit *mFolderE; + QLabel *mResultL; +}; + +#endif // COPYDIALOG_H -- cgit v1.2.3-70-g09d2