ui: Use window decorations on dialog windows (issue #376)

* added SubWindow flag to QtWindow to either use window decorations or show window within main window
* fixes black borders in some Linux window managers

bug id = 376

fortune cookie message = Your skill will accomplish what the force of many others cannot.
This commit is contained in:
Eberhard Graether
2017-06-07 14:40:16 +02:00
parent fb5bb33a10
commit 503ca76a40
27 changed files with 167 additions and 152 deletions
+2 -12
View File
@@ -4,16 +4,6 @@
font-weight: 100;
}
#closeButton {
background: transparent;
border: none;
color: white;
font-size: 14px;
height: 24px;
width: 24px;
}
#closeButton:hover {
border: 2px solid white;
border-radius: 12px;
#window {
background: qlineargradient( x1:0 y1:0.4, x2:0 y2:1, stop:0 #2F3F86, stop:1 #1C7BBC );
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 517 B

@@ -2,8 +2,6 @@
#header_background {
background-color: #2E3C86;
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
}
#title {
@@ -142,8 +140,6 @@
#creator_header_background {
background-color: #2E3C86;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
#creator_title_label {
-5
View File
@@ -1,8 +1,3 @@
QLabel {
font-size: 12px;
color: black;
}
#licenseField {
font-family: "<setting:font_name>";
font-size: 11px;
+4
View File
@@ -14,6 +14,10 @@ QCheckBox:disabled {
color: gray;
}
#window {
background: white;
}
#title {
font-size: 16px;
font-weight: bold;