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