Browse Source

Reworked spectrum GUI controls

chirpmodem-v8.0.0
f4exb 4 years ago
parent
commit
bbeb058944
  1. 6
      sdrgui/gui/glspectrumgui.cpp
  2. 1276
      sdrgui/gui/glspectrumgui.ui
  3. BIN
      sdrgui/resources/bell_max.png
  4. BIN
      sdrgui/resources/bell_phosphor.png
  5. BIN
      sdrgui/resources/flip_windows.png
  6. 4
      sdrgui/resources/res.qrc
  7. BIN
      sdrgui/resources/waterfall.png
  8. BIN
      sdrgui/resources/waterfall2.png
  9. BIN
      sdrgui/resources/waterfall_3d.png

6
sdrgui/gui/glspectrumgui.cpp

@ -50,16 +50,18 @@ GLSpectrumGUI::GLSpectrumGUI(QWidget* parent) : @@ -50,16 +50,18 @@ GLSpectrumGUI::GLSpectrumGUI(QWidget* parent) :
// Use the custom flow layout for the 3 main horizontal layouts (lines)
ui->verticalLayout->removeItem(ui->Line5Layout);
ui->verticalLayout->removeItem(ui->Line6Layout);
ui->verticalLayout->removeItem(ui->Line4Layout);
ui->verticalLayout->removeItem(ui->Line3Layout);
ui->verticalLayout->removeItem(ui->Line2Layout);
ui->verticalLayout->removeItem(ui->Line1Layout);
FlowLayout *flowLayout = new FlowLayout(nullptr, 1, 1, 1);
flowLayout->addItem(ui->Line3Layout);
flowLayout->addItem(ui->Line4Layout);
flowLayout->addItem(ui->Line1Layout);
flowLayout->addItem(ui->Line2Layout);
flowLayout->addItem(ui->Line3Layout);
flowLayout->addItem(ui->Line4Layout);
flowLayout->addItem(ui->Line5Layout);
flowLayout->addItem(ui->Line6Layout);
ui->verticalLayout->addItem(flowLayout);
on_linscale_toggled(false);

1276
sdrgui/gui/glspectrumgui.ui

File diff suppressed because it is too large Load Diff

BIN
sdrgui/resources/bell_max.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
sdrgui/resources/bell_phosphor.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
sdrgui/resources/flip_windows.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

4
sdrgui/resources/res.qrc

@ -1,5 +1,9 @@ @@ -1,5 +1,9 @@
<RCC>
<qresource prefix="/">
<file>flip_windows.png</file>
<file>waterfall_3d.png</file>
<file>bell_max.png</file>
<file>bell_phosphor.png</file>
<file>bell_red.png</file>
<file>bell_fill.png</file>
<file>bell_gradient.png</file>

BIN
sdrgui/resources/waterfall.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 53 KiB

BIN
sdrgui/resources/waterfall2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
sdrgui/resources/waterfall_3d.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Loading…
Cancel
Save