mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 23:14:47 -04:00
Massive UI revamping (v7): Changed auto stack tool button to button switch for better on/off visibility. Part of #1209
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "gui/samplingdevicedialog.h"
|
||||
#include "gui/rollupcontents.h"
|
||||
#include "gui/buttonswitch.h"
|
||||
#include "channel/channelgui.h"
|
||||
#include "feature/featuregui.h"
|
||||
#include "device/devicegui.h"
|
||||
@@ -117,7 +118,8 @@ Workspace::Workspace(int index, QWidget *parent, Qt::WindowFlags flags) :
|
||||
m_stackSubWindows->setToolTip("Stack sub windows");
|
||||
m_stackSubWindows->setFixedSize(20, 20);
|
||||
|
||||
m_autoStackSubWindows = new QPushButton("AS");
|
||||
m_autoStackSubWindows = new ButtonSwitch();
|
||||
m_autoStackSubWindows->setText("AS");
|
||||
m_autoStackSubWindows->setCheckable(true);
|
||||
//QIcon autoStackSubWindowsIcon(":/autostack.png"); // FIXME
|
||||
//m_autoStackSubWindows->setIcon(autoStackSubWindowsIcon);
|
||||
|
||||
Reference in New Issue
Block a user