From 26932818305ea15324fb5e45aebb0ead10b0258b Mon Sep 17 00:00:00 2001
From: Brennan Ashton <bashton@brennanashton.com>
Date: Thu, 15 Nov 2018 17:50:10 -0800
Subject: gr-utils: Restore lost commits in UI definition for pyqt_plot

At some point when things were merged the UI definition got out of sync
with gr_plot_qt.  Unfortunatly it is a pain to grab the partial commits
before the files were moved so the commit hashes are:
e4c161f16aecd82f3cfc0a8aff4e1d16afaa2791
3a27d463adaf6784b9abfe1d5f5828a0429f838b
db8bc5c7a5e701734810d0aabd8b774eda6f6839
---
 gr-utils/python/utils/pyqt_plot.ui | 737 +++++++++++++++++++++----------------
 1 file changed, 426 insertions(+), 311 deletions(-)

(limited to 'gr-utils/python/utils/pyqt_plot.ui')

diff --git a/gr-utils/python/utils/pyqt_plot.ui b/gr-utils/python/utils/pyqt_plot.ui
index 55c72fda26..7244d24c9d 100644
--- a/gr-utils/python/utils/pyqt_plot.ui
+++ b/gr-utils/python/utils/pyqt_plot.ui
@@ -1,373 +1,488 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
+<ui version="4.0" >
  <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
-  <property name="geometry">
+ <widget class="QMainWindow" name="MainWindow" >
+  <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
     <width>927</width>
-    <height>696</height>
+    <height>718</height>
    </rect>
   </property>
-  <property name="windowTitle">
+  <property name="windowTitle" >
    <string>MainWindow</string>
   </property>
-  <widget class="QWidget" name="centralwidget">
-   <layout class="QGridLayout" name="gridLayout">
-    <item row="2" column="0" colspan="2">
-     <widget class="QScrollBar" name="plotHBar">
-      <property name="orientation">
+  <widget class="QWidget" name="centralwidget" >
+   <layout class="QGridLayout" name="gridLayout" >
+    <item row="1" column="0" colspan="3" >
+     <widget class="QScrollBar" name="plotHBar" >
+      <property name="orientation" >
        <enum>Qt::Horizontal</enum>
       </property>
      </widget>
     </item>
-    <item row="1" column="0">
-     <widget class="QTabWidget" name="tabGroup">
-      <property name="currentIndex">
-       <number>0</number>
-      </property>
-      <widget class="QWidget" name="timeTab">
-       <attribute name="title">
-        <string>Time Domain</string>
-       </attribute>
-       <layout class="QHBoxLayout" name="horizontalLayout">
-        <item>
-         <widget class="QwtPlot" name="timePlot"/>
-        </item>
-       </layout>
-      </widget>
-      <widget class="QWidget" name="freqTab">
-       <attribute name="title">
-        <string>Frequency Domain</string>
-       </attribute>
-       <layout class="QHBoxLayout" name="horizontalLayout_2">
-        <item>
-         <widget class="QGroupBox" name="fftPropBox">
-          <property name="minimumSize">
-           <size>
-            <width>160</width>
-            <height>0</height>
-           </size>
-          </property>
-          <property name="title">
-           <string>FFT Properties</string>
-          </property>
-          <layout class="QFormLayout" name="formLayout_4">
-           <property name="fieldGrowthPolicy">
-            <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
-           </property>
-           <item row="0" column="1">
-            <widget class="QComboBox" name="psdFFTComboBox">
-             <property name="minimumSize">
-              <size>
-               <width>96</width>
-               <height>0</height>
-              </size>
-             </property>
-             <property name="maximumSize">
-              <size>
-               <width>96</width>
-               <height>16777215</height>
-              </size>
-             </property>
-            </widget>
-           </item>
-           <item row="0" column="0">
-            <widget class="QLabel" name="psdFFTSizeLabel">
-             <property name="text">
-              <string>FFT Size</string>
-             </property>
-            </widget>
-           </item>
-          </layout>
-         </widget>
-        </item>
-        <item>
-         <widget class="QwtPlot" name="freqPlot"/>
-        </item>
-       </layout>
-      </widget>
-      <widget class="QWidget" name="specTab">
-       <attribute name="title">
-        <string>Spectrogram</string>
-       </attribute>
-       <layout class="QHBoxLayout" name="horizontalLayout_3">
-        <item>
-         <widget class="QGroupBox" name="groupBox">
-          <property name="title">
-           <string>Spectrogram Properties</string>
-          </property>
-          <layout class="QFormLayout" name="formLayout_3">
-           <item row="1" column="0">
-            <widget class="QLabel" name="specFFTLabel">
-             <property name="text">
-              <string>FFT Size</string>
-             </property>
-            </widget>
-           </item>
-           <item row="1" column="1">
-            <widget class="QComboBox" name="specFFTComboBox">
-             <property name="minimumSize">
-              <size>
-               <width>96</width>
-               <height>0</height>
-              </size>
-             </property>
-             <property name="maximumSize">
-              <size>
-               <width>96</width>
-               <height>16777215</height>
-              </size>
-             </property>
-            </widget>
-           </item>
-          </layout>
-         </widget>
-        </item>
-        <item>
-         <widget class="QwtPlot" name="specPlot"/>
-        </item>
-       </layout>
-       <zorder>specPlot</zorder>
-       <zorder>groupBox</zorder>
-      </widget>
-     </widget>
-    </item>
-    <item row="3" column="0">
-     <widget class="QGroupBox" name="filePosBox">
-      <property name="minimumSize">
+    <item row="2" column="0" >
+     <widget class="QGroupBox" name="filePosBox" >
+      <property name="minimumSize" >
        <size>
         <width>0</width>
         <height>120</height>
        </size>
       </property>
-      <property name="title">
+      <property name="title" >
        <string>File Position</string>
       </property>
-      <widget class="QWidget" name="formLayoutWidget_2">
-       <property name="geometry">
-        <rect>
-         <x>0</x>
-         <y>20</y>
-         <width>160</width>
-         <height>92</height>
-        </rect>
-       </property>
-       <layout class="QFormLayout" name="filePosLayout">
-        <item row="0" column="0">
-         <widget class="QLabel" name="filePosStartLabel">
-          <property name="text">
-           <string>Start</string>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="1">
-         <widget class="QLineEdit" name="filePosStartLineEdit"/>
-        </item>
-        <item row="1" column="0">
-         <widget class="QLabel" name="filePosStopLabel">
-          <property name="text">
-           <string>Stop</string>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="1">
-         <widget class="QLineEdit" name="filePosStopLineEdit"/>
-        </item>
-        <item row="2" column="0">
-         <widget class="QLabel" name="filePosLengthLabel">
-          <property name="text">
-           <string>Length</string>
-          </property>
-         </widget>
-        </item>
-        <item row="2" column="1">
-         <widget class="QLineEdit" name="filePosLengthLineEdit"/>
-        </item>
-       </layout>
-      </widget>
-      <widget class="QWidget" name="formLayoutWidget_4">
-       <property name="geometry">
-        <rect>
-         <x>180</x>
-         <y>20</y>
-         <width>231</width>
-         <height>92</height>
-        </rect>
-       </property>
-       <layout class="QFormLayout" name="fileTimeLayout">
-        <item row="0" column="0">
-         <widget class="QLabel" name="fileTimeStartLabel">
-          <property name="text">
-           <string>time start (sec)</string>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="1">
-         <widget class="QLineEdit" name="fileTimeStartLineEdit"/>
-        </item>
-        <item row="1" column="0">
-         <widget class="QLabel" name="fileTimeStopLabel">
-          <property name="text">
-           <string>time stop (sec)</string>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="1">
-         <widget class="QLineEdit" name="fileTimeStopLineEdit"/>
-        </item>
-        <item row="2" column="0">
-         <widget class="QLabel" name="fileTimeLengthLabel">
-          <property name="text">
-           <string>time length (sec)</string>
-          </property>
-         </widget>
-        </item>
-        <item row="2" column="1">
-         <widget class="QLineEdit" name="fileTimeLengthLineEdit"/>
-        </item>
-       </layout>
-      </widget>
-      <widget class="QGroupBox" name="sysGroupBox">
-       <property name="geometry">
-        <rect>
-         <x>530</x>
-         <y>0</y>
-         <width>200</width>
-         <height>120</height>
-        </rect>
-       </property>
-       <property name="minimumSize">
-        <size>
-         <width>200</width>
-         <height>0</height>
-        </size>
-       </property>
-       <property name="title">
-        <string>System Properties</string>
-       </property>
-       <widget class="QWidget" name="formLayoutWidget_3">
-        <property name="geometry">
-         <rect>
-          <x>0</x>
-          <y>20</y>
-          <width>191</width>
-          <height>91</height>
-         </rect>
-        </property>
-        <layout class="QFormLayout" name="formLayout_2">
-         <item row="0" column="0">
-          <widget class="QLabel" name="sampleRateLabel">
-           <property name="text">
-            <string>Sample Rate</string>
+      <layout class="QGridLayout" name="gridLayout_4" >
+       <item row="0" column="0" >
+        <layout class="QFormLayout" name="filePosLayout" >
+         <item row="0" column="1" >
+          <widget class="QLineEdit" name="filePosStartLineEdit" >
+           <property name="minimumSize" >
+            <size>
+             <width>50</width>
+             <height>0</height>
+            </size>
+           </property>
+           <property name="maximumSize" >
+            <size>
+             <width>100</width>
+             <height>16777215</height>
+            </size>
            </property>
           </widget>
          </item>
-         <item row="0" column="1">
-          <widget class="QLineEdit" name="sampleRateLineEdit">
-           <property name="minimumSize">
+         <item row="1" column="0" >
+          <widget class="QLabel" name="filePosStopLabel" >
+           <property name="text" >
+            <string>Stop</string>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="1" >
+          <widget class="QLineEdit" name="filePosStopLineEdit" >
+           <property name="minimumSize" >
             <size>
-             <width>0</width>
+             <width>50</width>
              <height>0</height>
             </size>
            </property>
+           <property name="maximumSize" >
+            <size>
+             <width>100</width>
+             <height>16777215</height>
+            </size>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="0" >
+          <widget class="QLabel" name="filePosLengthLabel" >
+           <property name="text" >
+            <string>Length</string>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="1" >
+          <widget class="QLineEdit" name="filePosLengthLineEdit" >
+           <property name="minimumSize" >
+            <size>
+             <width>50</width>
+             <height>0</height>
+            </size>
+           </property>
+           <property name="maximumSize" >
+            <size>
+             <width>100</width>
+             <height>16777215</height>
+            </size>
+           </property>
+          </widget>
+         </item>
+         <item row="0" column="0" >
+          <widget class="QLabel" name="filePosStartLabel" >
+           <property name="text" >
+            <string>Start</string>
+           </property>
           </widget>
          </item>
         </layout>
-       </widget>
-      </widget>
-      <widget class="QGroupBox" name="displayGroupBox">
-       <property name="geometry">
-        <rect>
-         <x>730</x>
-         <y>0</y>
-         <width>170</width>
-         <height>120</height>
-        </rect>
-       </property>
-       <property name="minimumSize">
-        <size>
-         <width>170</width>
-         <height>0</height>
-        </size>
-       </property>
-       <property name="title">
-        <string>Display Properties</string>
-       </property>
-       <widget class="QWidget" name="verticalLayoutWidget">
-        <property name="geometry">
-         <rect>
-          <x>0</x>
-          <y>20</y>
-          <width>160</width>
-          <height>91</height>
-         </rect>
-        </property>
-        <layout class="QVBoxLayout" name="verticalLayout">
-         <item>
-          <widget class="QComboBox" name="colorComboBox"/>
+       </item>
+       <item row="0" column="1" >
+        <layout class="QFormLayout" name="fileTimeLayout" >
+         <item row="0" column="0" >
+          <widget class="QLabel" name="fileTimeStartLabel" >
+           <property name="text" >
+            <string>time start (sec)</string>
+           </property>
+          </widget>
          </item>
-         <item>
-          <spacer name="verticalSpacer">
-           <property name="orientation">
-            <enum>Qt::Vertical</enum>
+         <item row="0" column="1" >
+          <widget class="QLineEdit" name="fileTimeStartLineEdit" >
+           <property name="minimumSize" >
+            <size>
+             <width>50</width>
+             <height>0</height>
+            </size>
            </property>
-           <property name="sizeHint" stdset="0">
+           <property name="maximumSize" >
             <size>
-             <width>20</width>
-             <height>40</height>
+             <width>100</width>
+             <height>16777215</height>
             </size>
            </property>
-          </spacer>
+          </widget>
+         </item>
+         <item row="1" column="0" >
+          <widget class="QLabel" name="fileTimeStopLabel" >
+           <property name="text" >
+            <string>time stop (sec)</string>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="1" >
+          <widget class="QLineEdit" name="fileTimeStopLineEdit" >
+           <property name="minimumSize" >
+            <size>
+             <width>50</width>
+             <height>0</height>
+            </size>
+           </property>
+           <property name="maximumSize" >
+            <size>
+             <width>100</width>
+             <height>16777215</height>
+            </size>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="0" >
+          <widget class="QLabel" name="fileTimeLengthLabel" >
+           <property name="text" >
+            <string>time length (sec)</string>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="1" >
+          <widget class="QLineEdit" name="fileTimeLengthLineEdit" >
+           <property name="minimumSize" >
+            <size>
+             <width>50</width>
+             <height>0</height>
+            </size>
+           </property>
+           <property name="maximumSize" >
+            <size>
+             <width>100</width>
+             <height>16777215</height>
+            </size>
+           </property>
+          </widget>
          </item>
         </layout>
-       </widget>
-      </widget>
+       </item>
+      </layout>
+     </widget>
+    </item>
+    <item row="2" column="2" >
+     <widget class="QGroupBox" name="displayGroupBox" >
+      <property name="minimumSize" >
+       <size>
+        <width>170</width>
+        <height>0</height>
+       </size>
+      </property>
+      <property name="title" >
+       <string>Display Properties</string>
+      </property>
+      <layout class="QGridLayout" name="gridLayout_2" >
+       <item row="0" column="0" colspan="2" >
+        <widget class="QComboBox" name="colorComboBox" />
+       </item>
+       <item row="1" column="1" >
+        <widget class="QSpinBox" name="lineWidthSpinBox" >
+         <property name="minimumSize" >
+          <size>
+           <width>100</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="maximumSize" >
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="0" >
+        <widget class="QLabel" name="lineWidthLabel" >
+         <property name="text" >
+          <string>Line Width</string>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="0" >
+        <widget class="QLabel" name="lineStyleLabel" >
+         <property name="text" >
+          <string>Line Style</string>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="1" >
+        <widget class="QComboBox" name="lineStyleComboBox" >
+         <property name="minimumSize" >
+          <size>
+           <width>100</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="maximumSize" >
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
+        </widget>
+       </item>
+       <item row="3" column="0" >
+        <widget class="QLabel" name="styleSizeLabel" >
+         <property name="text" >
+          <string>Style Size</string>
+         </property>
+        </widget>
+       </item>
+       <item row="3" column="1" >
+        <widget class="QSpinBox" name="styleSizeSpinBox" >
+         <property name="minimumSize" >
+          <size>
+           <width>100</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="maximumSize" >
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+    </item>
+    <item row="2" column="1" >
+     <widget class="QGroupBox" name="sysGroupBox" >
+      <property name="minimumSize" >
+       <size>
+        <width>200</width>
+        <height>0</height>
+       </size>
+      </property>
+      <property name="title" >
+       <string>System Properties</string>
+      </property>
+      <layout class="QFormLayout" name="formLayout" >
+       <property name="fieldGrowthPolicy" >
+        <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
+       </property>
+       <item row="0" column="0" >
+        <widget class="QLabel" name="sampleRateLabel" >
+         <property name="text" >
+          <string>Sample Rate</string>
+         </property>
+        </widget>
+       </item>
+       <item row="0" column="1" >
+        <widget class="QLineEdit" name="sampleRateLineEdit" >
+         <property name="minimumSize" >
+          <size>
+           <width>50</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="maximumSize" >
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+    </item>
+    <item row="0" column="0" colspan="3" >
+     <widget class="QFrame" name="frame" >
+      <property name="frameShape" >
+       <enum>QFrame::StyledPanel</enum>
+      </property>
+      <property name="frameShadow" >
+       <enum>QFrame::Raised</enum>
+      </property>
+      <layout class="QGridLayout" name="gridLayout_3" >
+       <item row="0" column="0" >
+        <widget class="QTabWidget" name="tabGroup" >
+         <property name="minimumSize" >
+          <size>
+           <width>0</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="currentIndex" >
+          <number>0</number>
+         </property>
+         <widget class="QWidget" name="timeTab" >
+          <attribute name="title" >
+           <string>Time Domain</string>
+          </attribute>
+          <layout class="QHBoxLayout" name="horizontalLayout" >
+           <item>
+            <widget class="QwtPlot" name="timePlot" />
+           </item>
+          </layout>
+          <zorder>timePlot</zorder>
+         </widget>
+         <widget class="QWidget" name="freqTab" >
+          <attribute name="title" >
+           <string>Frequency Domain</string>
+          </attribute>
+          <layout class="QHBoxLayout" name="horizontalLayout_2" >
+           <item>
+            <widget class="QGroupBox" name="fftPropBox" >
+             <property name="minimumSize" >
+              <size>
+               <width>160</width>
+               <height>0</height>
+              </size>
+             </property>
+             <property name="title" >
+              <string>FFT Properties</string>
+             </property>
+             <layout class="QFormLayout" name="formLayout_4" >
+              <property name="fieldGrowthPolicy" >
+               <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
+              </property>
+              <item row="0" column="0" >
+               <widget class="QLabel" name="psdFFTSizeLabel" >
+                <property name="text" >
+                 <string>FFT Size</string>
+                </property>
+               </widget>
+              </item>
+              <item row="0" column="1" >
+               <widget class="QComboBox" name="psdFFTComboBox" >
+                <property name="minimumSize" >
+                 <size>
+                  <width>96</width>
+                  <height>0</height>
+                 </size>
+                </property>
+                <property name="maximumSize" >
+                 <size>
+                  <width>96</width>
+                  <height>16777215</height>
+                 </size>
+                </property>
+               </widget>
+              </item>
+             </layout>
+             <zorder>psdFFTSizeLabel</zorder>
+             <zorder>psdFFTComboBox</zorder>
+            </widget>
+           </item>
+           <item>
+            <widget class="QwtPlot" name="freqPlot" />
+           </item>
+          </layout>
+         </widget>
+         <widget class="QWidget" name="specTab" >
+          <attribute name="title" >
+           <string>Spectrogram</string>
+          </attribute>
+          <layout class="QHBoxLayout" name="horizontalLayout_3" >
+           <item>
+            <widget class="QGroupBox" name="groupBox" >
+             <property name="title" >
+              <string>Spectrogram Properties</string>
+             </property>
+             <layout class="QFormLayout" name="formLayout_3" >
+              <item row="1" column="0" >
+               <widget class="QLabel" name="specFFTLabel" >
+                <property name="text" >
+                 <string>FFT Size</string>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="1" >
+               <widget class="QComboBox" name="specFFTComboBox" >
+                <property name="minimumSize" >
+                 <size>
+                  <width>96</width>
+                  <height>0</height>
+                 </size>
+                </property>
+                <property name="maximumSize" >
+                 <size>
+                  <width>96</width>
+                  <height>16777215</height>
+                 </size>
+                </property>
+               </widget>
+              </item>
+             </layout>
+            </widget>
+           </item>
+           <item>
+            <widget class="QwtPlot" name="specPlot" />
+           </item>
+          </layout>
+          <zorder>specPlot</zorder>
+          <zorder>groupBox</zorder>
+         </widget>
+        </widget>
+       </item>
+      </layout>
+      <zorder>tabGroup</zorder>
      </widget>
     </item>
    </layout>
   </widget>
-  <widget class="QMenuBar" name="menubar">
-   <property name="geometry">
+  <widget class="QMenuBar" name="menubar" >
+   <property name="geometry" >
     <rect>
      <x>0</x>
      <y>0</y>
      <width>927</width>
-     <height>25</height>
+     <height>24</height>
     </rect>
    </property>
-   <widget class="QMenu" name="menu_File">
-    <property name="title">
+   <widget class="QMenu" name="menu_File" >
+    <property name="title" >
      <string>&amp;File</string>
     </property>
-    <addaction name="action_open"/>
-    <addaction name="action_reload"/>
-    <addaction name="action_exit"/>
+    <addaction name="action_open" />
+    <addaction name="action_reload" />
+    <addaction name="action_exit" />
    </widget>
-   <addaction name="menu_File"/>
+   <addaction name="menu_File" />
   </widget>
-  <widget class="QStatusBar" name="statusbar"/>
-  <action name="action_open">
-   <property name="text">
+  <widget class="QStatusBar" name="statusbar" />
+  <action name="action_open" >
+   <property name="text" >
     <string>&amp;Open</string>
    </property>
-   <property name="shortcut">
+   <property name="shortcut" >
     <string>Ctrl+O</string>
    </property>
   </action>
-  <action name="action_exit">
-   <property name="text">
+  <action name="action_exit" >
+   <property name="text" >
     <string>E&amp;xit</string>
    </property>
   </action>
-  <action name="action_reload">
-   <property name="text">
+  <action name="action_reload" >
+   <property name="text" >
     <string>&amp;Reload</string>
    </property>
-   <property name="shortcut">
-    <string>Ctrl+R</string>
-   </property>
   </action>
  </widget>
  <customwidgets>
@@ -385,11 +500,11 @@
    <receiver>MainWindow</receiver>
    <slot>close()</slot>
    <hints>
-    <hint type="sourcelabel">
+    <hint type="sourcelabel" >
      <x>-1</x>
      <y>-1</y>
     </hint>
-    <hint type="destinationlabel">
+    <hint type="destinationlabel" >
      <x>399</x>
      <y>347</y>
     </hint>
-- 
cgit v1.2.3