From 0ba8622147e4c2344a4d73bf764f01c8b7dcccad Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Thu, 18 Oct 2018 11:37:46 -0400 Subject: [PATCH] 2018-10-18 Fred Gleason * Tweaked the position of buttons on the bottom row of the main screen of rdlibrary(1). * Changed the minimum size of the main screen of rdlibrary to 850x600. --- ChangeLog | 5 +++++ rdlibrary/rdlibrary.cpp | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index edb2ca64..c9cfd7d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17828,3 +17828,8 @@ 2018-10-17 Patrick Linstruth * Fixed bug in rdservice(8) where local maintence process was started with RDSERVICE_SYSTEMMAINT_ID instead of RDSERVICE_LOCALMAINT_ID. +2018-10-18 Fred Gleason + * Tweaked the position of buttons on the bottom row of the main + screen of rdlibrary(1). + * Changed the minimum size of the main screen of rdlibrary to + 850x600. diff --git a/rdlibrary/rdlibrary.cpp b/rdlibrary/rdlibrary.cpp index 00c81f5d..830e2b80 100644 --- a/rdlibrary/rdlibrary.cpp +++ b/rdlibrary/rdlibrary.cpp @@ -521,7 +521,7 @@ MainWidget::MainWidget(QWidget *parent) QSize MainWidget::sizeHint() const { - return QSize(800,600); + return QSize(850,600); } @@ -1115,18 +1115,18 @@ void MainWidget::resizeEvent(QResizeEvent *e) lib_add_button->setGeometry(10,e->size().height()-60,80,50); lib_edit_button->setGeometry(100,e->size().height()-60,80,50); lib_delete_button->setGeometry(190,e->size().height()-60,80,50); - disk_gauge->setGeometry(475,e->size().height()-55, - e->size().width()-775, - disk_gauge->sizeHint().height()); - lib_rip_button-> - setGeometry(e->size().width()-290,e->size().height()-60,80,50); - lib_reports_button-> - setGeometry(e->size().width()-200,e->size().height()-60,80,50); - lib_close_button->setGeometry(e->size().width()-90,e->size().height()-60, - 80,50); lib_macro_button->setGeometry(290,e->size().height()-60,80,50); lib_player->playButton()->setGeometry(290,e->size().height()-60,80,50); lib_player->stopButton()->setGeometry(380,e->size().height()-60,80,50); + disk_gauge->setGeometry(475,e->size().height()-55, + e->size().width()-765, + disk_gauge->sizeHint().height()); + lib_rip_button-> + setGeometry(e->size().width()-280,e->size().height()-60,80,50); + lib_reports_button-> + setGeometry(e->size().width()-190,e->size().height()-60,80,50); + lib_close_button->setGeometry(e->size().width()-90,e->size().height()-60, + 80,50); } }