-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScreenButton.cpp
More file actions
25 lines (19 loc) · 1.13 KB
/
Copy pathScreenButton.cpp
File metadata and controls
25 lines (19 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "ScreenButton.h"
ScreenButton::ScreenButton()
{
quitButton = new QPushButton();
quitButton->setFixedSize(30, 30);
quitButton->setStyleSheet("QPushButton{background-color: rgb(239, 83, 80); border-radius: 15px; border: none;}"
"QPushButton:hover{background-color: rgb(229, 57, 53)}"
"QPushButton:pressed{background-color: rgb(211, 47, 47)}");
minButton = new QPushButton();
minButton->setFixedSize(30, 30);
minButton->setStyleSheet("QPushButton{background-color: rgb(255, 202, 40); border-radius: 15px; border: none;}"
"QPushButton:hover{background-color: rgb(255, 179, 0)}"
"QPushButton:pressed{background-color: rgb(255, 160, 0)}");
maxButton = new QPushButton();
maxButton->setFixedSize(30, 30);
maxButton->setStyleSheet("QPushButton{background-color: rgb(102, 187, 106); border-radius: 15px; border: none;}"
"QPushButton:hover{background-color: rgb(67, 160, 71)}"
"QPushButton:pressed{background-color: rgb(56, 142, 60)}");
}