diff options
author | Arno <arno@disconnect.de> | 2018-10-13 03:18:29 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-10-13 03:18:29 +0200 |
commit | 423670fc310b8c853c471a3c272db13e38edd8db (patch) | |
tree | cd64ff3558a09070c16849cbaac6d37246d4560d /copydialog.h | |
parent | 6ccb253ceb2f893fc1ba917a6db1792fcfeca8db (diff) | |
download | BeetPlayer-423670fc310b8c853c471a3c272db13e38edd8db.tar.gz BeetPlayer-423670fc310b8c853c471a3c272db13e38edd8db.tar.bz2 BeetPlayer-423670fc310b8c853c471a3c272db13e38edd8db.zip |
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...
Diffstat (limited to 'copydialog.h')
-rw-r--r-- | copydialog.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <QDialog> + +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 |