mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-14 15:33:34 -04:00
Massive UI revamping (v7): added channels
This commit is contained in:
@@ -166,7 +166,6 @@ void AISGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
|
||||
shrinkWindow();
|
||||
getRollupContents()->saveState(m_rollupState);
|
||||
applySettings();
|
||||
}
|
||||
|
||||
@@ -72,8 +72,8 @@ QByteArray AISSettings::serialize() const
|
||||
s.writeBlob(27, m_rollupState->serialize());
|
||||
}
|
||||
|
||||
s.writeS32(27, m_workspaceIndex);
|
||||
s.writeBlob(28, m_geometryBytes);
|
||||
s.writeS32(28, m_workspaceIndex);
|
||||
s.writeBlob(29, m_geometryBytes);
|
||||
|
||||
for (int i = 0; i < AIS_VESSEL_COLUMNS; i++) {
|
||||
s.writeS32(300 + i, m_vesselColumnIndexes[i]);
|
||||
@@ -126,8 +126,8 @@ bool AISSettings::deserialize(const QByteArray& data)
|
||||
m_rollupState->deserialize(bytetmp);
|
||||
}
|
||||
|
||||
d.readS32(27, &m_workspaceIndex, 0);
|
||||
d.readBlob(28, &m_geometryBytes);
|
||||
d.readS32(28, &m_workspaceIndex, 0);
|
||||
d.readBlob(29, &m_geometryBytes);
|
||||
|
||||
for (int i = 0; i < AIS_VESSEL_COLUMNS; i++) {
|
||||
d.readS32(300 + i, &m_vesselColumnIndexes[i], i);
|
||||
|
||||
@@ -36,10 +36,16 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>10</y>
|
||||
<width>631</width>
|
||||
<width>718</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>718</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
@@ -262,7 +268,7 @@
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>716</width>
|
||||
<width>718</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
@@ -287,6 +293,12 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="GLSpectrum" name="glSpectrum" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
@@ -323,7 +335,7 @@
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>716</width>
|
||||
<width>718</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
@@ -348,6 +360,12 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="GLScope" name="glScope" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
|
||||
@@ -110,7 +110,7 @@ bool Map::handleMessage(const Message& cmd)
|
||||
}
|
||||
else if (MainCore::MsgMapItem::match(cmd))
|
||||
{
|
||||
qDebug() << "Map::handleMessage: MsgMapItem";
|
||||
// qDebug() << "Map::handleMessage: MsgMapItem";
|
||||
MainCore::MsgMapItem& msgMapItem = (MainCore::MsgMapItem&) cmd;
|
||||
MainCore::MsgMapItem *copy = new MainCore::MsgMapItem(msgMapItem);
|
||||
getMessageQueueToGUI()->push(copy);
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>GS-232 Rotator Controller</string>
|
||||
<string>Packet Error Rate Tester</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="settingsContainer" native="true">
|
||||
<property name="geometry">
|
||||
|
||||
Reference in New Issue
Block a user