From fe5a61786a8e5f725a29b083b6e0ec3716ddb4ea Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 17 Jul 2015 04:08:25 +0200 Subject: [PATCH] Promoted scope QToolButtons to ButtonSwitches that look prettier --- sdrbase/gui/glscopegui.ui | 424 +++++++++++++++++++------------------- 1 file changed, 217 insertions(+), 207 deletions(-) diff --git a/sdrbase/gui/glscopegui.ui b/sdrbase/gui/glscopegui.ui index 3b256d5db..e125fe7e6 100644 --- a/sdrbase/gui/glscopegui.ui +++ b/sdrbase/gui/glscopegui.ui @@ -112,118 +112,111 @@ - - - 0 + + + Only primary display - - - - Only primary display - - - - - - - :/display1_w.png:/display1_w.png - - - - 16 - 16 - - - - true - - - true - - - - - - - Only secondary display - - - - - - - :/display2_w.png:/display2_w.png - - - - 16 - 16 - - - - true - - - true - - - - - - - Both displays horizontally arranged - - - - - - - :/horizontal_w.png:/horizontal_w.png - - - - 16 - 16 - - - - true - - - true - - - true - - - - - - - Both displays vertically arranged - - - - - - - :/vertical_w.png:/vertical_w.png - - - - 16 - 16 - - - - true - - - true - - - - + + + + + + :/display1_w.png:/display1_w.png + + + + 16 + 16 + + + + true + + + true + + + + + + + Only secondary display + + + + + + + :/display2_w.png:/display2_w.png + + + + 16 + 16 + + + + true + + + true + + + + + + + Both displays horizontally arranged + + + + + + + :/horizontal_w.png:/horizontal_w.png + + + + 16 + 16 + + + + true + + + true + + + true + + + + + + + Both displays vertically arranged + + + + + + + :/vertical_w.png:/vertical_w.png + + + + 16 + 16 + + + + true + + + true + + @@ -556,102 +549,112 @@ - - - - - - 8 - - - - Trigger slope positive - - - - - - - :/slopep_icon.png:/slopep_icon.png - - - - 16 - 16 - - - - true - - - true - - - Qt::ToolButtonIconOnly - - - true - - - - - - - - 8 - - - - Trigger slope negative - - - - - - - :/slopen_icon.png:/slopen_icon.png - - - - 16 - 16 - - - - true - - - true - - - - - - - One shot - - - - - - - :/display1_w.png:/display1_w.png - - - - 16 - 16 - - - - true - - - true - - - - + + + Qt::Vertical + + + + + + + + 8 + + + + Trigger slope positive + + + + + + + :/slopep_icon.png:/slopep_icon.png + + + + 16 + 16 + + + + true + + + true + + + Qt::ToolButtonIconOnly + + + true + + + + + + + + 8 + + + + Trigger slope negative + + + + + + + :/slopen_icon.png:/slopen_icon.png + + + + 16 + 16 + + + + true + + + true + + + + + + + One shot + + + + + + + :/display1_w.png:/display1_w.png + + + + 16 + 16 + + + + true + + + true + + + + + + + Qt::Vertical + + @@ -693,6 +696,13 @@ + + + ButtonSwitch + QToolButton +
gui/buttonswitch.h
+
+