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 /collectiondatesview.cpp | |
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 'collectiondatesview.cpp')
-rw-r--r-- | collectiondatesview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/collectiondatesview.cpp b/collectiondatesview.cpp index 17856c7..83a7c3f 100644 --- a/collectiondatesview.cpp +++ b/collectiondatesview.cpp @@ -4,6 +4,7 @@ #include <QDate> #include "collectiondatesview.h" +#include "copydialog.h" CollectionDatesView::CollectionDatesView(QWidget *parent) : CollectionWidget(parent){ } @@ -77,3 +78,8 @@ void CollectionDatesView::populate(){ } enableSorting(Qt::DescendingOrder); } + +void CollectionDatesView::copyTo(){ + CopyDialog *cdlg = new CopyDialog(this); + cdlg->show(); +} |