diff --git a/fsettingsdialog.ui b/fsettingsdialog.ui index 7367c4b..f92ae24 100644 --- a/fsettingsdialog.ui +++ b/fsettingsdialog.ui @@ -256,7 +256,7 @@ - + diff --git a/mainwindow.cpp b/mainwindow.cpp index aed23a6..785e303 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -587,6 +587,11 @@ void MainWindow::prepareResize(QMouseEvent *event) { void MainWindow::mouseReleaseEvent(QMouseEvent *event) { + if(resizeHeightEnabled||resizeWidthEnabled||resizeWidthEnabledInv) { + resizeTimer.start(1000); + qDebug() << "Start Tiemr"; + } + dragEnabled = false; resizeHeightEnabled = false; resizeWidthEnabled = false; @@ -607,15 +612,9 @@ void MainWindow::mouseDoubleClickEvent(QMouseEvent *event) void MainWindow::resizeDone() { - /* - if(currentView==0){ - db.updateIntPref("minviewWidth", this->width()); - db.updateIntPref("minviewHeight", this->height()); - } else */ - { - db.updateIntPref("defaultviewWidth", this->width()); - db.updateIntPref("defaultviewHeight", this->height()); - } + + db.updateIntPref("defaultviewWidth", this->width()); + db.updateIntPref("defaultviewHeight", this->height()); } void MainWindow::mouseMoveEvent(QMouseEvent *event) diff --git a/stylesheet.qss b/stylesheet.qss index 43bf833..11b5beb 100644 --- a/stylesheet.qss +++ b/stylesheet.qss @@ -52,10 +52,15 @@ background-color: #3fc1f4; background:#1DAEE1; } -#MainWindow { +#MainWindow, QDialog { background:#1DAEE1; } +QPushButton { + background:#dadada; + border: 1px solid #eee; + padding: 3px 13px; +} FGameWidget #fgwDialog_GameTitle{ font-size:14pt; @@ -76,6 +81,10 @@ FGameWidget #fgwDialog_Background[gameSelected="true"] { color: #2DAAE1; } +#w_mainInfo { + color: #2DAAE1; +} + #gameScrollArea, #scrollAreaWidgetContents, #gameListWidget { background: transparent; @@ -130,6 +139,8 @@ QScrollBar::down-button:vertical, #gameScrollArea::up-button:vertical{ #w_globalButtons QPushButton{ border-radius: 28px; + border: 0px solid #eee; + padding: 0; width:56px; height:56px; background: #1DAAE1;