mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 11:12:27 -04:00
Merge pull request #1510 from srcejon/channel_maximize
Maximize windows part 2
This commit is contained in:
commit
e319267b0f
@ -16,7 +16,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
@ -62,14 +61,6 @@ bool BeamSteeringCWModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void BeamSteeringCWModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool BeamSteeringCWModGUI::handleMessage(const Message& message)
|
bool BeamSteeringCWModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (BeamSteeringCWMod::MsgBasebandNotification::match(message))
|
if (BeamSteeringCWMod::MsgBasebandNotification::match(message))
|
||||||
|
@ -94,9 +94,6 @@ private:
|
|||||||
void applyInterpolation();
|
void applyInterpolation();
|
||||||
void applyPosition();
|
void applyPosition();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void handleSourceMessages();
|
void handleSourceMessages();
|
||||||
void on_channelOutput_currentIndexChanged(int index);
|
void on_channelOutput_currentIndexChanged(int index);
|
||||||
|
@ -283,18 +283,7 @@ void DOA2GUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
resize(width(), h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -252,18 +252,7 @@ void InterferometerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
resize(width(), h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -458,19 +458,7 @@ void ChannelAnalyzerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3783,18 +3783,7 @@ void ADSBDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
resize(width(), h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -372,19 +372,7 @@ void AISDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <QDockWidget>
|
#include <QDockWidget>
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "amdemodgui.h"
|
#include "amdemodgui.h"
|
||||||
#include "amdemodssbdialog.h"
|
#include "amdemodssbdialog.h"
|
||||||
@ -73,14 +72,6 @@ bool AMDemodGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AMDemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool AMDemodGUI::handleMessage(const Message& message)
|
bool AMDemodGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (AMDemod::MsgConfigureAMDemod::match(message))
|
if (AMDemod::MsgConfigureAMDemod::match(message))
|
||||||
|
@ -47,9 +47,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::AMDemodGUI* ui;
|
Ui::AMDemodGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -547,19 +547,7 @@ void APTDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
#include <QDockWidget>
|
#include <QDockWidget>
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "atvdemodgui.h"
|
#include "atvdemodgui.h"
|
||||||
|
|
||||||
@ -77,14 +76,6 @@ bool ATVDemodGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ATVDemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ATVDemodGUI::displaySettings()
|
void ATVDemodGUI::displaySettings()
|
||||||
{
|
{
|
||||||
m_channelMarker.blockSignals(true);
|
m_channelMarker.blockSignals(true);
|
||||||
|
@ -66,9 +66,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::ATVDemodGUI* ui;
|
Ui::ATVDemodGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -316,19 +316,7 @@ void BFMDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -329,19 +329,7 @@ void ChirpChatDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -392,19 +392,7 @@ void DABDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include <QDockWidget>
|
#include <QDockWidget>
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include <QMediaMetaData>
|
#include <QMediaMetaData>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
@ -93,14 +92,6 @@ bool DATVDemodGUI::deserialize(const QByteArray& arrData)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DATVDemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool DATVDemodGUI::handleMessage(const Message& message)
|
bool DATVDemodGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DATVDemodReport::MsgReportModcodCstlnChange::match(message))
|
if (DATVDemodReport::MsgReportModcodCstlnChange::match(message))
|
||||||
|
@ -65,9 +65,6 @@ public:
|
|||||||
|
|
||||||
static const char* const m_strChannelID;
|
static const char* const m_strChannelID;
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>540</width>
|
<width>556</width>
|
||||||
<height>476</height>
|
<height>476</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -18,13 +18,13 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>540</width>
|
<width>556</width>
|
||||||
<height>442</height>
|
<height>442</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>540</width>
|
<width>556</width>
|
||||||
<height>476</height>
|
<height>476</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -82,14 +82,6 @@ bool DSDDemodGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DSDDemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool DSDDemodGUI::handleMessage(const Message& message)
|
bool DSDDemodGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DSDDemod::MsgConfigureDSDDemod::match(message))
|
if (DSDDemod::MsgConfigureDSDDemod::match(message))
|
||||||
|
@ -68,9 +68,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// typedef enum
|
// typedef enum
|
||||||
// {
|
// {
|
||||||
|
@ -248,19 +248,7 @@ void FreeDVDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,14 +86,6 @@ bool M17DemodGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void M17DemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool M17DemodGUI::handleMessage(const Message& message)
|
bool M17DemodGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (M17Demod::MsgConfigureM17Demod::match(message))
|
if (M17Demod::MsgConfigureM17Demod::match(message))
|
||||||
|
@ -70,9 +70,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct BERPoint
|
struct BERPoint
|
||||||
{
|
{
|
||||||
|
@ -55,14 +55,6 @@ bool NFMDemodGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NFMDemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool NFMDemodGUI::handleMessage(const Message& message)
|
bool NFMDemodGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (NFMDemodReport::MsgReportCTCSSFreq::match(message))
|
if (NFMDemodReport::MsgReportCTCSSFreq::match(message))
|
||||||
|
@ -46,9 +46,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::NFMDemodGUI* ui;
|
Ui::NFMDemodGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -374,19 +374,7 @@ void PacketDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -421,19 +421,7 @@ void PagerDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -478,19 +478,7 @@ void RadiosondeDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -314,19 +314,7 @@ void SSBDemodGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
@ -77,14 +76,6 @@ bool VORDemodGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void VORDemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool VORDemodGUI::handleMessage(const Message& message)
|
bool VORDemodGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (VORDemod::MsgConfigureVORDemod::match(message))
|
if (VORDemod::MsgConfigureVORDemod::match(message))
|
||||||
|
@ -64,9 +64,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::VORDemodGUI* ui;
|
Ui::VORDemodGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -1107,19 +1107,7 @@ void VORDemodMCGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,14 +55,6 @@ bool WFMDemodGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WFMDemodGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool WFMDemodGUI::handleMessage(const Message& message)
|
bool WFMDemodGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (WFMDemod::MsgConfigureWFMDemod::match(message))
|
if (WFMDemod::MsgConfigureWFMDemod::match(message))
|
||||||
|
@ -44,9 +44,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::WFMDemodGUI* ui;
|
Ui::WFMDemodGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -355,19 +355,7 @@ void FileSinkGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
@ -69,14 +68,6 @@ bool LocalSinkGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocalSinkGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool LocalSinkGUI::handleMessage(const Message& message)
|
bool LocalSinkGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DSPSignalNotification::match(message))
|
if (DSPSignalNotification::match(message))
|
||||||
|
@ -60,9 +60,6 @@ public:
|
|||||||
virtual int getStreamIndex() const { return m_settings.m_streamIndex; }
|
virtual int getStreamIndex() const { return m_settings.m_streamIndex; }
|
||||||
virtual void setStreamIndex(int streamIndex) { m_settings.m_streamIndex = streamIndex; }
|
virtual void setStreamIndex(int streamIndex) { m_settings.m_streamIndex = streamIndex; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::LocalSinkGUI* ui;
|
Ui::LocalSinkGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -537,19 +537,7 @@ void NoiseFigureGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1906,19 +1906,7 @@ void RadioAstronomyGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,19 +212,7 @@ void RadioClockGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
@ -64,14 +63,6 @@ bool RemoteSinkGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RemoteSinkGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool RemoteSinkGUI::handleMessage(const Message& message)
|
bool RemoteSinkGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (RemoteSink::MsgConfigureRemoteSink::match(message))
|
if (RemoteSink::MsgConfigureRemoteSink::match(message))
|
||||||
|
@ -60,9 +60,6 @@ public:
|
|||||||
virtual int getStreamIndex() const { return m_settings.m_streamIndex; }
|
virtual int getStreamIndex() const { return m_settings.m_streamIndex; }
|
||||||
virtual void setStreamIndex(int streamIndex) { m_settings.m_streamIndex = streamIndex; }
|
virtual void setStreamIndex(int streamIndex) { m_settings.m_streamIndex = streamIndex; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::RemoteSinkGUI* ui;
|
Ui::RemoteSinkGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
@ -65,14 +64,6 @@ bool RemoteTCPSinkGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RemoteTCPSinkGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
QString RemoteTCPSinkGUI::displayScaledF(float value, char type, int precision, bool showMult)
|
QString RemoteTCPSinkGUI::displayScaledF(float value, char type, int precision, bool showMult)
|
||||||
{
|
{
|
||||||
float posValue = (value < 0) ? -value : value;
|
float posValue = (value < 0) ? -value : value;
|
||||||
|
@ -66,9 +66,6 @@ public slots:
|
|||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
void channelMarkerHighlightedByCursor();
|
void channelMarkerHighlightedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::RemoteTCPSinkGUI* ui;
|
Ui::RemoteTCPSinkGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -347,19 +347,7 @@ void SigMFFileSinkGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -600,19 +600,7 @@ void UDPSinkGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
m_udpSink->enableSpectrum(rollDown);
|
m_udpSink->enableSpectrum(rollDown);
|
||||||
}
|
}
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
@ -70,14 +69,6 @@ bool FileSourceGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileSourceGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool FileSourceGUI::handleMessage(const Message& message)
|
bool FileSourceGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DSPSignalNotification::match(message))
|
if (DSPSignalNotification::match(message))
|
||||||
|
@ -60,9 +60,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::FileSourceGUI* ui;
|
Ui::FileSourceGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
@ -64,14 +63,6 @@ bool LocalSourceGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LocalSourceGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool LocalSourceGUI::handleMessage(const Message& message)
|
bool LocalSourceGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DSPSignalNotification::match(message))
|
if (DSPSignalNotification::match(message))
|
||||||
|
@ -60,9 +60,6 @@ public:
|
|||||||
virtual int getStreamIndex() const { return m_settings.m_streamIndex; }
|
virtual int getStreamIndex() const { return m_settings.m_streamIndex; }
|
||||||
virtual void setStreamIndex(int streamIndex) { m_settings.m_streamIndex = streamIndex; }
|
virtual void setStreamIndex(int streamIndex) { m_settings.m_streamIndex = streamIndex; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::LocalSourceGUI* ui;
|
Ui::LocalSourceGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -320,19 +320,7 @@ void IEEE_802_15_4_ModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -343,19 +343,7 @@ void AISModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
|
|
||||||
@ -74,14 +73,6 @@ bool AMModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AMModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool AMModGUI::handleMessage(const Message& message)
|
bool AMModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (AMMod::MsgReportFileSourceStreamData::match(message))
|
if (AMMod::MsgReportFileSourceStreamData::match(message))
|
||||||
|
@ -63,9 +63,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::AMModGUI* ui;
|
Ui::AMModGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
@ -154,14 +153,6 @@ bool ATVModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ATVModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ATVModGUI::handleMessage(const Message& message)
|
bool ATVModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (ATVModReport::MsgReportVideoFileSourceStreamData::match(message))
|
if (ATVModReport::MsgReportVideoFileSourceStreamData::match(message))
|
||||||
|
@ -62,9 +62,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::ATVModGUI* ui;
|
Ui::ATVModGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
@ -75,14 +74,6 @@ bool ChirpChatModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChirpChatModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ChirpChatModGUI::handleMessage(const Message& message)
|
bool ChirpChatModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (ChirpChatMod::MsgConfigureChirpChatMod::match(message))
|
if (ChirpChatMod::MsgConfigureChirpChatMod::match(message))
|
||||||
|
@ -61,9 +61,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::ChirpChatModGUI* ui;
|
Ui::ChirpChatModGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
@ -153,14 +152,6 @@ bool DATVModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DATVModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool DATVModGUI::handleMessage(const Message& message)
|
bool DATVModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DATVModReport::MsgReportTsFileSourceStreamData::match(message))
|
if (DATVModReport::MsgReportTsFileSourceStreamData::match(message))
|
||||||
|
@ -63,9 +63,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::DATVModGUI* ui;
|
Ui::DATVModGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -295,19 +295,7 @@ void FreeDVModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QRegExp>
|
#include <QRegExp>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
@ -75,14 +74,6 @@ bool M17ModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void M17ModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool M17ModGUI::handleMessage(const Message& message)
|
bool M17ModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (M17Mod::MsgReportFileSourceStreamData::match(message))
|
if (M17Mod::MsgReportFileSourceStreamData::match(message))
|
||||||
|
@ -64,9 +64,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::M17ModGUI* ui;
|
Ui::M17ModGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QRegExp>
|
#include <QRegExp>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
@ -75,14 +74,6 @@ bool NFMModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NFMModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool NFMModGUI::handleMessage(const Message& message)
|
bool NFMModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (NFMMod::MsgReportFileSourceStreamData::match(message))
|
if (NFMMod::MsgReportFileSourceStreamData::match(message))
|
||||||
|
@ -63,9 +63,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::NFMModGUI* ui;
|
Ui::NFMModGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -380,19 +380,7 @@ void PacketModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -359,19 +359,7 @@ void SSBModGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
@ -74,14 +73,6 @@ bool WFMModGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WFMModGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool WFMModGUI::handleMessage(const Message& message)
|
bool WFMModGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (WFMMod::MsgReportFileSourceStreamData::match(message))
|
if (WFMMod::MsgReportFileSourceStreamData::match(message))
|
||||||
|
@ -61,9 +61,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::WFMModGUI* ui;
|
Ui::WFMModGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
@ -66,14 +65,6 @@ bool RemoteSourceGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RemoteSourceGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool RemoteSourceGUI::handleMessage(const Message& message)
|
bool RemoteSourceGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DSPSignalNotification::match(message))
|
if (DSPSignalNotification::match(message))
|
||||||
|
@ -62,9 +62,6 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void channelMarkerChangedByCursor();
|
void channelMarkerChangedByCursor();
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::RemoteSourceGUI* ui;
|
Ui::RemoteSourceGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -482,19 +482,7 @@ void UDPSourceGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
m_udpSource->setSpectrum(rollDown);
|
m_udpSource->setSpectrum(rollDown);
|
||||||
}
|
}
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "device/deviceset.h"
|
#include "device/deviceset.h"
|
||||||
@ -67,14 +66,6 @@ bool AFCGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AFCGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool AFCGUI::handleMessage(const Message& message)
|
bool AFCGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (AFC::MsgConfigureAFC::match(message))
|
if (AFC::MsgConfigureAFC::match(message))
|
||||||
|
@ -48,9 +48,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::AFCGUI* ui;
|
Ui::AFCGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -169,16 +169,6 @@ void AISGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
rollupContents->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -196,7 +186,6 @@ AISGUI::AISGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *featur
|
|||||||
m_helpURL = "plugins/feature/ais/readme.md";
|
m_helpURL = "plugins/feature/ais/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@ AMBEGUI::AMBEGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feat
|
|||||||
m_helpURL = "plugins/feature/ambe/readme.md";
|
m_helpURL = "plugins/feature/ambe/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
@ -103,14 +102,6 @@ void AMBEGUI::setWorkspaceIndex(int index)
|
|||||||
m_feature->setWorkspaceIndex(index);
|
m_feature->setWorkspaceIndex(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AMBEGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
void AMBEGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
void AMBEGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||||
{
|
{
|
||||||
(void) widget;
|
(void) widget;
|
||||||
|
@ -52,9 +52,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::AMBEGUI* ui;
|
Ui::AMBEGUI* ui;
|
||||||
AMBE *m_ambe;
|
AMBE *m_ambe;
|
||||||
|
@ -71,12 +71,6 @@ bool AntennaToolsGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AntennaToolsGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
adjustSize();
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool AntennaToolsGUI::handleMessage(const Message& message)
|
bool AntennaToolsGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (AntennaTools::MsgConfigureAntennaTools::match(message))
|
if (AntennaTools::MsgConfigureAntennaTools::match(message))
|
||||||
@ -113,16 +107,6 @@ void AntennaToolsGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
rollupContents->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -140,7 +124,6 @@ AntennaToolsGUI::AntennaToolsGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISe
|
|||||||
m_helpURL = "plugins/feature/antennatools/readme.md";
|
m_helpURL = "plugins/feature/antennatools/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -51,9 +51,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::AntennaToolsGUI* ui;
|
Ui::AntennaToolsGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
|
@ -436,7 +436,6 @@ APRSGUI::APRSGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feat
|
|||||||
m_helpURL = "plugins/feature/aprs/readme.md";
|
m_helpURL = "plugins/feature/aprs/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
@ -670,12 +669,13 @@ void APRSGUI::updateChannelList()
|
|||||||
ui->sourcePipes->blockSignals(false);
|
ui->sourcePipes->blockSignals(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void APRSGUI::resizeEvent(QResizeEvent*)
|
void APRSGUI::resizeEvent(QResizeEvent* event)
|
||||||
{
|
{
|
||||||
// Replot graphs to ensure Axis are visible
|
// Replot graphs to ensure Axis are visible
|
||||||
plotWeather();
|
plotWeather();
|
||||||
plotTelemetry();
|
plotTelemetry();
|
||||||
plotMotion();
|
plotMotion();
|
||||||
|
FeatureGUI::resizeEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void APRSGUI::onMenuDialogCalled(const QPoint &p)
|
void APRSGUI::onMenuDialogCalled(const QPoint &p)
|
||||||
|
@ -128,16 +128,6 @@ void DemodAnalyzerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
rollupContents->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -157,7 +147,6 @@ DemodAnalyzerGUI::DemodAnalyzerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUI
|
|||||||
m_helpURL = "plugins/feature/demodanalyzer/readme.md";
|
m_helpURL = "plugins/feature/demodanalyzer/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QSerialPortInfo>
|
#include <QSerialPortInfo>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "SWGTargetAzimuthElevation.h"
|
#include "SWGTargetAzimuthElevation.h"
|
||||||
|
|
||||||
@ -72,14 +71,6 @@ bool GS232ControllerGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GS232ControllerGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GS232ControllerGUI::handleMessage(const Message& message)
|
bool GS232ControllerGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (GS232Controller::MsgConfigureGS232Controller::match(message))
|
if (GS232Controller::MsgConfigureGS232Controller::match(message))
|
||||||
@ -137,6 +128,7 @@ void GS232ControllerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
{
|
{
|
||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
getRollupContents()->saveState(m_rollupState);
|
getRollupContents()->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -155,7 +147,6 @@ GS232ControllerGUI::GS232ControllerGUI(PluginAPI* pluginAPI, FeatureUISet *featu
|
|||||||
m_helpURL = "plugins/feature/gs232controller/readme.md";
|
m_helpURL = "plugins/feature/gs232controller/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -50,9 +50,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::GS232ControllerGUI* ui;
|
Ui::GS232ControllerGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
@ -68,14 +67,6 @@ bool JogdialControllerGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void JogdialControllerGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool JogdialControllerGUI::handleMessage(const Message& message)
|
bool JogdialControllerGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (JogdialController::MsgConfigureJogdialController::match(message))
|
if (JogdialController::MsgConfigureJogdialController::match(message))
|
||||||
@ -160,7 +151,6 @@ JogdialControllerGUI::JogdialControllerGUI(PluginAPI* pluginAPI, FeatureUISet *f
|
|||||||
m_helpURL = "plugins/feature/jogdialcontroller/readme.md";
|
m_helpURL = "plugins/feature/jogdialcontroller/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -55,7 +55,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
void focusInEvent(QFocusEvent* e);
|
void focusInEvent(QFocusEvent* e);
|
||||||
void focusOutEvent(QFocusEvent *e);
|
void focusOutEvent(QFocusEvent *e);
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::JogdialControllerGUI* ui;
|
Ui::JogdialControllerGUI* ui;
|
||||||
|
@ -74,14 +74,6 @@ void LimeRFEGUI::setWorkspaceIndex(int index)
|
|||||||
m_feature->setWorkspaceIndex(index);
|
m_feature->setWorkspaceIndex(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LimeRFEGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
void LimeRFEGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
void LimeRFEGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||||
{
|
{
|
||||||
(void) widget;
|
(void) widget;
|
||||||
@ -141,7 +133,6 @@ LimeRFEGUI::LimeRFEGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature
|
|||||||
m_helpURL = "plugins/feature/limerfe/readme.md";
|
m_helpURL = "plugins/feature/limerfe/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -54,9 +54,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::LimeRFEGUI* ui;
|
Ui::LimeRFEGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -163,18 +163,7 @@ void MapGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) widget;
|
(void) widget;
|
||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
getRollupContents()->saveState(m_rollupState);
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
resize(width(), h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -891,6 +880,8 @@ void MapGUI::applyMap3DSettings(bool reloadMap)
|
|||||||
m_webServer->addSubstitution("/map/map/map3d.html", "$CESIUM_ION_API_KEY$", cesiumIonAPIKey());
|
m_webServer->addSubstitution("/map/map/map3d.html", "$CESIUM_ION_API_KEY$", cesiumIonAPIKey());
|
||||||
//ui->web->page()->profile()->clearHttpCache();
|
//ui->web->page()->profile()->clearHttpCache();
|
||||||
ui->web->load(QUrl(QString("http://127.0.0.1:%1/map/map/map3d.html").arg(m_webPort)));
|
ui->web->load(QUrl(QString("http://127.0.0.1:%1/map/map/map3d.html").arg(m_webPort)));
|
||||||
|
//ui->web->load(QUrl(QString("http://webglreport.com/")));
|
||||||
|
//ui->web->load(QUrl(QString("https://sandcastle.cesium.com/")));
|
||||||
//ui->web->load(QUrl("chrome://gpu/"));
|
//ui->web->load(QUrl("chrome://gpu/"));
|
||||||
ui->web->show();
|
ui->web->show();
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
@ -70,14 +69,6 @@ bool PERTesterGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PERTesterGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool PERTesterGUI::handleMessage(const Message& message)
|
bool PERTesterGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (PERTester::MsgConfigurePERTester::match(message))
|
if (PERTester::MsgConfigurePERTester::match(message))
|
||||||
@ -141,7 +132,6 @@ PERTesterGUI::PERTesterGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Fea
|
|||||||
m_helpURL = "plugins/feature/pertester/readme.md";
|
m_helpURL = "plugins/feature/pertester/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -50,9 +50,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::PERTesterGUI* ui;
|
Ui::PERTesterGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -119,17 +119,6 @@ void RadiosondeGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
rollupContents->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -147,7 +136,6 @@ RadiosondeGUI::RadiosondeGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, F
|
|||||||
m_helpURL = "plugins/feature/radiosonde/readme.md";
|
m_helpURL = "plugins/feature/radiosonde/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -135,7 +135,6 @@ RemoteControlGUI::RemoteControlGUI(PluginAPI* pluginAPI, FeatureUISet *featureUI
|
|||||||
m_helpURL = "plugins/feature/remotecontrol/readme.md";
|
m_helpURL = "plugins/feature/remotecontrol/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
@ -68,14 +67,6 @@ bool RigCtlServerGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RigCtlServerGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool RigCtlServerGUI::handleMessage(const Message& message)
|
bool RigCtlServerGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (RigCtlServer::MsgConfigureRigCtlServer::match(message))
|
if (RigCtlServer::MsgConfigureRigCtlServer::match(message))
|
||||||
@ -139,7 +130,6 @@ RigCtlServerGUI::RigCtlServerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISe
|
|||||||
m_helpURL = "plugins/feature/rigctlserver/readme.md";
|
m_helpURL = "plugins/feature/rigctlserver/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -50,9 +50,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::RigCtlServerGUI* ui;
|
Ui::RigCtlServerGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -231,17 +231,6 @@ void SatelliteTrackerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
(void) rollDown;
|
(void) rollDown;
|
||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
rollupContents->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -265,7 +254,6 @@ SatelliteTrackerGUI::SatelliteTrackerGUI(PluginAPI* pluginAPI, FeatureUISet *fea
|
|||||||
m_helpURL = "plugins/feature/satellitetracker/readme.md";
|
m_helpURL = "plugins/feature/satellitetracker/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QResizeEvent>
|
|
||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
@ -71,14 +70,6 @@ bool SimplePTTGUI::deserialize(const QByteArray& data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SimplePTTGUI::resizeEvent(QResizeEvent* size)
|
|
||||||
{
|
|
||||||
int maxWidth = getRollupContents()->maximumWidth();
|
|
||||||
int minHeight = getRollupContents()->minimumHeight() + getAdditionalHeight();
|
|
||||||
resize(width() < maxWidth ? width() : maxWidth, minHeight);
|
|
||||||
size->accept();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SimplePTTGUI::handleMessage(const Message& message)
|
bool SimplePTTGUI::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (SimplePTT::MsgConfigureSimplePTT::match(message))
|
if (SimplePTT::MsgConfigureSimplePTT::match(message))
|
||||||
@ -165,7 +156,6 @@ SimplePTTGUI::SimplePTTGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Fea
|
|||||||
m_helpURL = "plugins/feature/simpleptt/readme.md";
|
m_helpURL = "plugins/feature/simpleptt/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -49,9 +49,6 @@ public:
|
|||||||
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
virtual void setGeometryBytes(const QByteArray& blob) { m_settings.m_geometryBytes = blob; }
|
||||||
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
virtual QByteArray getGeometryBytes() const { return m_settings.m_geometryBytes; }
|
||||||
|
|
||||||
protected:
|
|
||||||
void resizeEvent(QResizeEvent* size);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::SimplePTTGUI* ui;
|
Ui::SimplePTTGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
|
@ -227,16 +227,6 @@ void StarTrackerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
rollupContents->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -272,7 +262,6 @@ StarTrackerGUI::StarTrackerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet,
|
|||||||
m_helpURL = "plugins/feature/startracker/readme.md";
|
m_helpURL = "plugins/feature/startracker/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
@ -800,16 +800,6 @@ void VORLocalizerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
|
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
|
|
||||||
if (rollupContents->hasExpandableWidgets()) {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Expanding);
|
|
||||||
} else {
|
|
||||||
setSizePolicy(sizePolicy().horizontalPolicy(), QSizePolicy::Fixed);
|
|
||||||
}
|
|
||||||
|
|
||||||
int h = rollupContents->height() + getAdditionalHeight();
|
|
||||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
|
||||||
resize(w, h);
|
|
||||||
|
|
||||||
rollupContents->saveState(m_rollupState);
|
rollupContents->saveState(m_rollupState);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
@ -945,7 +935,6 @@ VORLocalizerGUI::VORLocalizerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISe
|
|||||||
m_helpURL = "plugins/feature/vorlocalizer/readme.md";
|
m_helpURL = "plugins/feature/vorlocalizer/readme.md";
|
||||||
RollupContents *rollupContents = getRollupContents();
|
RollupContents *rollupContents = getRollupContents();
|
||||||
ui->setupUi(rollupContents);
|
ui->setupUi(rollupContents);
|
||||||
setSizePolicy(rollupContents->sizePolicy());
|
|
||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user