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:
@@ -17,6 +17,7 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <QMessageBox>
|
||||
#include <QResizeEvent>
|
||||
|
||||
#include "feature/featureuiset.h"
|
||||
#include "gui/basicfeaturesettingsdialog.h"
|
||||
@@ -68,6 +69,12 @@ bool RigCtlServerGUI::deserialize(const QByteArray& data)
|
||||
}
|
||||
}
|
||||
|
||||
void RigCtlServerGUI::resizeEvent(QResizeEvent* size)
|
||||
{
|
||||
adjustSize();
|
||||
size->accept();
|
||||
}
|
||||
|
||||
bool RigCtlServerGUI::handleMessage(const Message& message)
|
||||
{
|
||||
if (RigCtlServer::MsgConfigureRigCtlServer::match(message))
|
||||
@@ -127,6 +134,7 @@ RigCtlServerGUI::RigCtlServerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISe
|
||||
m_lastFeatureState(0)
|
||||
{
|
||||
ui->setupUi(getRollupContents());
|
||||
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
getRollupContents()->arrangeRollups();
|
||||
m_helpURL = "plugins/feature/rigctlserver/readme.md";
|
||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
|
||||
Reference in New Issue
Block a user