look'n'feel tweaks

This commit is contained in:
Gary Wang 2019-09-29 22:18:38 +08:00
parent b3e29ad4a6
commit a4d8376c20
3 changed files with 4 additions and 4 deletions

View File

@ -15,8 +15,8 @@ BottomButtonGroup::BottomButtonGroup(QWidget *parent)
"border: 1px solid gray;"
"border-top-left-radius: 10px;"
"border-top-right-radius: 10px;"
"border-bottom: none;"
"background-color:rgba(0,0,0,180)"
"border-style: none;"
"background-color:rgba(0,0,0,120)"
"}"
"QPushButton {"
"background-color:rgba(225,255,255,0);"

View File

@ -15,7 +15,7 @@ GraphicsView::GraphicsView(QWidget *parent)
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setResizeAnchor(QGraphicsView::AnchorUnderMouse);
setStyleSheet("background-color: rgba(0, 0, 0, 180);"
setStyleSheet("background-color: rgba(0, 0, 0, 220);"
"border-radius: 3px;");
setAcceptDrops(true);
}

View File

@ -21,7 +21,7 @@ MainWindow::MainWindow(QWidget *parent) :
{
this->setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
this->setAttribute(Qt::WA_TranslucentBackground, true);
this->setMinimumSize(610, 410);
this->setMinimumSize(710, 530);
m_fadeOutAnimation = new QPropertyAnimation(this, "windowOpacity");
m_fadeOutAnimation->setDuration(300);