diff options
author | Christoph Schulthess | 2017-04-12 13:34:15 +0200 |
---|---|---|
committer | Christoph Schulthess | 2017-04-12 13:34:15 +0200 |
commit | 52bbede1bc37855def7fa2e215a41d9f47bc7a21 (patch) | |
tree | caefe262dcb04f8b2d2a434666f4ae753745b033 | |
parent | changed button func (diff) | |
download | pvs2-52bbede1bc37855def7fa2e215a41d9f47bc7a21.tar.gz pvs2-52bbede1bc37855def7fa2e215a41d9f47bc7a21.tar.xz pvs2-52bbede1bc37855def7fa2e215a41d9f47bc7a21.zip |
made button checkable
-rw-r--r-- | gui/client/toolbar.ui | 272 |
1 files changed, 185 insertions, 87 deletions
diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui index 5b0f682..2d50d76 100644 --- a/gui/client/toolbar.ui +++ b/gui/client/toolbar.ui @@ -6,7 +6,7 @@ <rect> <x>0</x> <y>0</y> - <width>580</width> + <width>645</width> <height>30</height> </rect> </property> @@ -282,7 +282,7 @@ p, li { white-space: pre-wrap; } <widget class="QPushButton" name="btnCustom"> <property name="minimumSize"> <size> - <width>144</width> + <width>84</width> <height>24</height> </size> </property> @@ -298,55 +298,88 @@ p, li { white-space: pre-wrap; } <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="Button"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="ButtonText"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> </active> @@ -354,55 +387,88 @@ p, li { white-space: pre-wrap; } <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="Button"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="ButtonText"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> </inactive> @@ -410,55 +476,88 @@ p, li { white-space: pre-wrap; } <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="Button"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="ButtonText"> <brush brushstyle="SolidPattern"> <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> + <red>0</red> + <green>0</green> + <blue>0</blue> </color> </brush> </colorrole> <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>217</red> - <green>70</green> - <blue>70</blue> - </color> + <brush brushstyle="LinearGradientPattern"> + <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> + <gradientstop position="0.000000000000000"> + <color alpha="255"> + <red>246</red> + <green>247</green> + <blue>250</blue> + </color> + </gradientstop> + <gradientstop position="1.000000000000000"> + <color alpha="255"> + <red>218</red> + <green>219</green> + <blue>222</blue> + </color> + </gradientstop> + </gradient> </brush> </colorrole> </disabled> @@ -472,16 +571,15 @@ p, li { white-space: pre-wrap; } </property> <property name="styleSheet"> <string notr="true">QPushButton { - background-color : rgb(217, 70, 70); - color : white; + color: black; font: bold }</string> </property> <property name="text"> - <string>Remote Debugging</string> + <string>Debug mode: OFF</string> </property> <property name="checkable"> - <bool>false</bool> + <bool>true</bool> </property> </widget> </item> |