mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Massive UI revamping (v7): fixed widget size handling: features. Part of #1209
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <cmath>
|
||||
#include <QMessageBox>
|
||||
#include <QSerialPortInfo>
|
||||
#include <QResizeEvent>
|
||||
|
||||
#include "SWGTargetAzimuthElevation.h"
|
||||
|
||||
@@ -70,6 +71,12 @@ bool GS232ControllerGUI::deserialize(const QByteArray& data)
|
||||
}
|
||||
}
|
||||
|
||||
void GS232ControllerGUI::resizeEvent(QResizeEvent* size)
|
||||
{
|
||||
adjustSize();
|
||||
size->accept();
|
||||
}
|
||||
|
||||
bool GS232ControllerGUI::handleMessage(const Message& message)
|
||||
{
|
||||
if (GS232Controller::MsgConfigureGS232Controller::match(message))
|
||||
@@ -141,6 +148,7 @@ GS232ControllerGUI::GS232ControllerGUI(PluginAPI* pluginAPI, FeatureUISet *featu
|
||||
m_lastOnTarget(false)
|
||||
{
|
||||
ui->setupUi(getRollupContents());
|
||||
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
getRollupContents()->arrangeRollups();
|
||||
m_helpURL = "plugins/feature/gs232controller/readme.md";
|
||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
|
||||
Reference in New Issue
Block a user