mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-05 22:57:47 -04:00
Promoted scope QToolButtons to ButtonSwitches that look prettier
This commit is contained in:
parent
c1c8c8cb59
commit
fe5a61786a
@ -112,12 +112,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="viewLayout">
|
<widget class="ButtonSwitch" name="onlyPrimeView">
|
||||||
<property name="spacing">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<item>
|
|
||||||
<widget class="QToolButton" name="onlyPrimeView">
|
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Only primary display</string>
|
<string>Only primary display</string>
|
||||||
</property>
|
</property>
|
||||||
@ -143,7 +138,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="onlySecondView">
|
<widget class="ButtonSwitch" name="onlySecondView">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Only secondary display</string>
|
<string>Only secondary display</string>
|
||||||
</property>
|
</property>
|
||||||
@ -169,7 +164,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="horizView">
|
<widget class="ButtonSwitch" name="horizView">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Both displays horizontally arranged</string>
|
<string>Both displays horizontally arranged</string>
|
||||||
</property>
|
</property>
|
||||||
@ -198,7 +193,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="vertView">
|
<widget class="ButtonSwitch" name="vertView">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Both displays vertically arranged</string>
|
<string>Both displays vertically arranged</string>
|
||||||
</property>
|
</property>
|
||||||
@ -223,8 +218,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="Line" name="viewLine">
|
<widget class="Line" name="viewLine">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@ -556,9 +549,14 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="slopeLayout">
|
<widget class="Line" name="trigLine">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="slopePos">
|
<widget class="ButtonSwitch" name="slopePos">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
@ -595,7 +593,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="slopeNeg">
|
<widget class="ButtonSwitch" name="slopeNeg">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
@ -626,7 +624,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="oneShot">
|
<widget class="ButtonSwitch" name="oneShot">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>One shot</string>
|
<string>One shot</string>
|
||||||
</property>
|
</property>
|
||||||
@ -651,7 +649,12 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
<item>
|
||||||
|
<widget class="Line" name="slopeLine">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QSlider" name="trigLevel">
|
<widget class="QSlider" name="trigLevel">
|
||||||
@ -693,6 +696,13 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<customwidgets>
|
||||||
|
<customwidget>
|
||||||
|
<class>ButtonSwitch</class>
|
||||||
|
<extends>QToolButton</extends>
|
||||||
|
<header>gui/buttonswitch.h</header>
|
||||||
|
</customwidget>
|
||||||
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../resources/res.qrc"/>
|
<include location="../resources/res.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user