diff options
Diffstat (limited to 'demos/embedded/styledemo/files/blue.qss')
-rw-r--r-- | demos/embedded/styledemo/files/blue.qss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/demos/embedded/styledemo/files/blue.qss b/demos/embedded/styledemo/files/blue.qss new file mode 100644 index 0000000..aa87277 --- /dev/null +++ b/demos/embedded/styledemo/files/blue.qss @@ -0,0 +1,39 @@ +* +{ + color: beige; +} + +QLabel, QAbstractButton +{ + font: 10pt bold; + color: yellow; +} + +QFrame +{ + background-color: rgba(96,96,255,60%); + border-color: rgb(32,32,196); + border-width: 3px; + border-style: solid; + border-radius: 5; + padding: 3px; +} + +QAbstractButton +{ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 lightblue, stop:0.5 darkblue); + border-width: 3px; + border-color: darkblue; + border-style: solid; + border-radius: 5; + padding: 3px; + qproperty-focusPolicy: NoFocus; +} + +QAbstractButton:pressed +{ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0.5 darkblue, stop:1 lightblue); + border-color: beige; +} |