mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Device GUIs: Constain window size via minimumSize/maximumSize, rather than handling resizeEvent. Add maximum button. Hide size buttons when window size is fixed
This commit is contained in:
@@ -54,7 +54,7 @@ TestMOSyncGui::TestMOSyncGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
||||
m_helpURL = "plugins/samplemimo/testmosync/readme.md";
|
||||
QWidget *contents = getContents();
|
||||
ui->setupUi(contents);
|
||||
setSizePolicy(contents->sizePolicy());
|
||||
sizeToContents();
|
||||
|
||||
getContents()->setStyleSheet("#TestMOSyncGui { background-color: rgb(64, 64, 64); }");
|
||||
m_sampleMIMO = (TestMOSync*) m_deviceUISet->m_deviceAPI->getSampleMIMO();
|
||||
|
||||
Reference in New Issue
Block a user