Skip to content

Commit

Permalink
Minor cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BatchDrake committed Apr 11, 2020
1 parent e9be32d commit 01ee668
Show file tree
Hide file tree
Showing 18 changed files with 103 additions and 29 deletions.
4 changes: 2 additions & 2 deletions Components/HistogramDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ HistogramDialog::refreshUi(void)
}

if (this->limits) {
float min, max;
QString units;
float min = 0, max = 1;
QString units = "u";

switch (this->properties.space) {
case AMPLITUDE:
Expand Down
7 changes: 2 additions & 5 deletions icons/Icons.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@
<file>object-flip-vertical.png</file>
<file>object-flip-horizontal.png</file>
<file>document-save.png</file>
<file>start.png</file>
<file>stop.png</file>
<file>export.png</file>
<file>import.png</file>
<file>save-selection.png</file>
<file>stop-shiki.png</file>
<file>start-shiki.png</file>
</qresource>
<qresource prefix="/"/>
</RCC>
Binary file modified icons/document-save.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed icons/export.png
Binary file not shown.
Binary file removed icons/import.png
Binary file not shown.
Binary file removed icons/save-selection.png
Binary file not shown.
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion ui/AboutDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Turbo and Plasma spectrum palettes were added to Gqrx 2.12 early 2020 by &lt;a href=&quot;https://twitter.com/devnulling&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0986d3;&quot;&gt;@devnulling&lt;/span&gt;&lt;/a&gt;, and I shamelessly copied them back to SigDigger. Feely gradients were originally made by Bennett Feely (&lt;a href=&quot;https://bennettfeely.com/cssscales/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0986d3;&quot;&gt;https://bennettfeely.com/cssscales/&lt;/span&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;PortAudio support, UX improvements and extensive testing were possible thanks to &lt;span style=&quot; font-weight:600;&quot;&gt;Mehdi Asgari&lt;/span&gt;.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;PortAudio support, UX improvements and extensive testing were possible thanks to &lt;span style=&quot; font-weight:600;&quot;&gt;Mehdi Asgari&lt;/span&gt;. Additional acknowledgments to &lt;span style=&quot; font-weight:600;&quot;&gt;Paloma Maddox&lt;/span&gt; and &lt;span style=&quot; font-weight:600;&quot;&gt;Jorge Lajara&lt;/span&gt; for their pre-release testing in their machines.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Multiple UX improvements were possible thanks to Bartek's tips (&lt;a href=&quot;https://github.com/BSAsecure&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0986d3;&quot;&gt;https://github.com/BSAsecure&lt;/span&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
Expand Down
4 changes: 2 additions & 2 deletions ui/Config.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>654</width>
<height>468</height>
<height>408</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -1150,7 +1150,7 @@
</connection>
</connections>
<buttongroups>
<buttongroup name="windowButtonGroup"/>
<buttongroup name="sourceTypeGroup"/>
<buttongroup name="windowButtonGroup"/>
</buttongroups>
</ui>
18 changes: 18 additions & 0 deletions ui/DopplerDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@
</item>
<item row="0" column="9">
<widget class="QLabel" name="sigmaFLabel">
<property name="maximumSize">
<size>
<width>0</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<family>Monospace</family>
Expand Down Expand Up @@ -130,6 +136,18 @@
</item>
<item row="0" column="8">
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>0</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Velocity dispersion</string>
</property>
Expand Down
24 changes: 17 additions & 7 deletions ui/Inspector.ui
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ QToolBox::tab:hover {
<rect>
<x>0</x>
<y>0</y>
<width>194</width>
<width>198</width>
<height>692</height>
</rect>
</property>
Expand Down Expand Up @@ -203,7 +203,7 @@ QToolBox::tab:hover {
<rect>
<x>0</x>
<y>0</y>
<width>194</width>
<width>198</width>
<height>692</height>
</rect>
</property>
Expand Down Expand Up @@ -242,7 +242,7 @@ QToolBox::tab:hover {
<rect>
<x>0</x>
<y>0</y>
<width>194</width>
<width>198</width>
<height>692</height>
</rect>
</property>
Expand Down Expand Up @@ -276,7 +276,7 @@ QToolBox::tab:hover {
<rect>
<x>0</x>
<y>0</y>
<width>194</width>
<width>198</width>
<height>692</height>
</rect>
</property>
Expand Down Expand Up @@ -339,7 +339,7 @@ QToolBox::tab:hover {
<rect>
<x>0</x>
<y>0</y>
<width>194</width>
<width>198</width>
<height>692</height>
</rect>
</property>
Expand Down Expand Up @@ -398,7 +398,7 @@ QToolBox::tab:hover {
<rect>
<x>0</x>
<y>0</y>
<width>194</width>
<width>198</width>
<height>692</height>
</rect>
</property>
Expand Down Expand Up @@ -627,7 +627,7 @@ font-family: Monospace;</string>
<item row="1" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<property name="documentMode">
<bool>true</bool>
Expand Down Expand Up @@ -943,6 +943,11 @@ font-family: Monospace;</string>
</item>
<item row="3" column="15">
<widget class="QLabel" name="dataSizeLabel">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>Data size: 0 bits</string>
</property>
Expand All @@ -956,6 +961,11 @@ font-family: Monospace;</string>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>Capture size: 0 sym</string>
</property>
Expand Down
23 changes: 19 additions & 4 deletions ui/InspectorPanel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>357</width>
<height>468</height>
<width>343</width>
<height>504</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_4">
Expand Down Expand Up @@ -86,7 +86,7 @@ font-weight: bold;</string>
</widget>
</item>
<item row="2" column="1">
<widget class="FrequencySpinBox" name="bandwidthSpin" native="true"/>
<widget class="FrequencySpinBox" name="bandwidthSpin"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_18">
Expand Down Expand Up @@ -225,13 +225,23 @@ font-weight: bold;</string>
</property>
<item row="2" column="2">
<widget class="QLabel" name="sampleRateLabel">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>0 sps</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="durationLabel">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>0 ms</string>
</property>
Expand Down Expand Up @@ -318,6 +328,11 @@ font-weight: bold;</string>
</item>
<item row="4" column="2">
<widget class="QLabel" name="memoryLabel">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>0 bytes</string>
</property>
Expand Down Expand Up @@ -475,7 +490,7 @@ font-weight: bold;</string>
</widget>
</item>
<item row="1" column="1">
<widget class="FrequencySpinBox" name="frequencySpinBox" native="true"/>
<widget class="FrequencySpinBox" name="frequencySpinBox"/>
</item>
</layout>
</widget>
Expand Down
11 changes: 5 additions & 6 deletions ui/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
</property>
<property name="icon">
<iconset resource="../icons/Icons.qrc">
<normaloff>:/icons/start.png</normaloff>:/icons/start.png</iconset>
<normaloff>:/icons/start-capture.png</normaloff>:/icons/start-capture.png</iconset>
</property>
<property name="text">
<string>Run</string>
Expand Down Expand Up @@ -172,7 +172,7 @@
<action name="actionStart_capture">
<property name="icon">
<iconset resource="../icons/Icons.qrc">
<normaloff>:/icons/start.png</normaloff>:/icons/start.png</iconset>
<normaloff>:/icons/start-shiki.png</normaloff>:/icons/start-shiki.png</iconset>
</property>
<property name="text">
<string>&amp;Start capture</string>
Expand All @@ -181,7 +181,7 @@
<action name="actionStop_capture">
<property name="icon">
<iconset resource="../icons/Icons.qrc">
<normaloff>:/icons/stop.png</normaloff>:/icons/stop.png</iconset>
<normaloff>:/icons/stop-shiki.png</normaloff>:/icons/stop-shiki.png</iconset>
</property>
<property name="text">
<string>S&amp;top capture</string>
Expand All @@ -195,7 +195,7 @@
<action name="actionImport_profile">
<property name="icon">
<iconset resource="../icons/Icons.qrc">
<normaloff>:/icons/import.png</normaloff>:/icons/import.png</iconset>
<normaloff>:/icons/document-import.png</normaloff>:/icons/document-import.png</iconset>
</property>
<property name="text">
<string>&amp;Import profile</string>
Expand All @@ -204,7 +204,7 @@
<action name="actionExport_profile">
<property name="icon">
<iconset resource="../icons/Icons.qrc">
<normaloff>:/icons/export.png</normaloff>:/icons/export.png</iconset>
<normaloff>:/icons/document-export.png</normaloff>:/icons/document-export.png</iconset>
</property>
<property name="text">
<string>&amp;Export profile</string>
Expand Down Expand Up @@ -286,7 +286,6 @@
<resources>
<include location="../icons/Icons.qrc"/>
<include location="../icons/Icons.qrc"/>
<include location="../icons/Icons.qrc"/>
</resources>
<connections/>
</ui>
11 changes: 11 additions & 0 deletions ui/NetForwarderUI.ui
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
</item>
<item row="2" column="2" colspan="3">
<widget class="QLineEdit" name="hostEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>localhost</string>
</property>
Expand Down Expand Up @@ -168,6 +173,9 @@
</item>
<item row="3" column="2" colspan="3">
<widget class="QSpinBox" name="portSpin">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="minimum">
<number>1</number>
</property>
Expand All @@ -181,6 +189,9 @@
</item>
<item row="4" column="2" colspan="3">
<widget class="QSpinBox" name="frameLen">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> bytes</string>
</property>
Expand Down
15 changes: 13 additions & 2 deletions ui/PanoramicDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,11 @@
<height>0</height>
</size>
</property>
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>0</string>
</property>
Expand All @@ -399,6 +404,9 @@
<property name="text">
<string>Bandwidth</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="3">
Expand Down Expand Up @@ -435,7 +443,7 @@
<string>0 Hz</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
Expand All @@ -444,6 +452,9 @@
<property name="text">
<string>Frames</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
Expand Down Expand Up @@ -496,7 +507,7 @@
<string>0 Hz</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
Expand Down
10 changes: 10 additions & 0 deletions ui/SourcePanel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@
</item>
<item row="0" column="1">
<widget class="QLabel" name="sampleRateLabel">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>N/A</string>
</property>
Expand Down Expand Up @@ -346,6 +351,11 @@
</item>
<item row="1" column="1">
<widget class="QLabel" name="processingRateLabel">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="text">
<string>N/A</string>
</property>
Expand Down
Loading

0 comments on commit 01ee668

Please sign in to comment.