look'n'feel tweaks
This commit is contained in:
parent
b3e29ad4a6
commit
a4d8376c20
|
@ -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);"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user