mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
style sheets: * style sheets with background textures * scroll area / toolbox style sheet fix * floating dock widgets * kept 1st version of stylesheets in backup directory * removed maininfoarea stylesheet, no longer needed with fixed style sheet code * central paintEvent method to enable style sheets in derived widgets * detect frameless windows, dynamic properties
33 lines
682 B
Plaintext
33 lines
682 B
Plaintext
QFrame#fr_InfoWindow {
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
border-radius: 10px;
|
|
border-color: white;
|
|
background-color: rgba(0,0,0,200);
|
|
}
|
|
|
|
QStackedWidget {
|
|
font-family: arial-rounded;
|
|
font: bold 10px;
|
|
color: white; /** font not in text edit **/
|
|
}
|
|
|
|
QPushButton {
|
|
background-color: transparent;
|
|
border-style: solid;
|
|
border-width: 0px;
|
|
border-radius:3px;
|
|
border-color: green;
|
|
max-height:20px;
|
|
}
|
|
|
|
QTextEdit {
|
|
background-color: rgba(255, 255, 0, 240); /* transparent yellow */
|
|
border-style: solid;
|
|
border-width:1px;
|
|
border-radius:6px;
|
|
border-color: green;
|
|
opacity: 0.5;
|
|
color: black; /** font **/
|
|
}
|