From 392227182979367a981606e86c7ec24314555c04 Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 14 Aug 2009 23:29:17 -0400 Subject: Adding a QT-based data file viewer. This is the start of an application to read in data files and display them in a useful manner. --- gr-utils/src/python/pyqt_plot.ui | 340 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 340 insertions(+) create mode 100644 gr-utils/src/python/pyqt_plot.ui (limited to 'gr-utils/src/python/pyqt_plot.ui') diff --git a/gr-utils/src/python/pyqt_plot.ui b/gr-utils/src/python/pyqt_plot.ui new file mode 100644 index 000000000..f298735c4 --- /dev/null +++ b/gr-utils/src/python/pyqt_plot.ui @@ -0,0 +1,340 @@ + + + MainWindow + + + + 0 + 0 + 927 + 696 + + + + MainWindow + + + + + + + Qt::Horizontal + + + + + + + 0 + + + + Time Domain + + + + + + + + + + Frequency Domain + + + + + + + 160 + 0 + + + + FFT Properties + + + + + 0 + 20 + 151 + 191 + + + + + + + FFT Size + + + + + + + + + + + + + + + + + + + + + + 0 + 120 + + + + File Position + + + + + 0 + 20 + 160 + 92 + + + + + + + Start + + + + + + + + + + Stop + + + + + + + + + + Length + + + + + + + + + + + + 180 + 20 + 231 + 92 + + + + + + + time start (sec) + + + + + + + + + + time stop (sec) + + + + + + + + + + time length (sec) + + + + + + + + + + + + 530 + 0 + 200 + 120 + + + + + 200 + 0 + + + + System Properties + + + + + 0 + 20 + 191 + 91 + + + + + + + Sample Rate + + + + + + + + 0 + 0 + + + + + + + + + + + 730 + 0 + 170 + 120 + + + + + 170 + 0 + + + + Display Properties + + + + + 0 + 20 + 160 + 91 + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + 0 + 0 + 927 + 25 + + + + + &File + + + + + + + + + + &Open + + + Ctrl+O + + + + + E&xit + + + + + + QwtPlot + QFrame +
qwt_plot.h
+
+
+ + + + action_exit + activated() + MainWindow + close() + + + -1 + -1 + + + 399 + 347 + + + + +
-- cgit From f87944705b9fb251af9fe0c16ef2b47424c867d5 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 25 Aug 2009 17:35:56 -0400 Subject: Adding a spectrogram plot. The axis need work. --- gr-utils/src/python/pyqt_plot.ui | 307 +++++++++++++++++++++++---------------- 1 file changed, 181 insertions(+), 126 deletions(-) (limited to 'gr-utils/src/python/pyqt_plot.ui') diff --git a/gr-utils/src/python/pyqt_plot.ui b/gr-utils/src/python/pyqt_plot.ui index f298735c4..62125962b 100644 --- a/gr-utils/src/python/pyqt_plot.ui +++ b/gr-utils/src/python/pyqt_plot.ui @@ -1,8 +1,7 @@ - - + MainWindow - - + + 0 0 @@ -10,93 +9,149 @@ 696 - + MainWindow - - - - - + + + + + Qt::Horizontal - - - - 0 + + + + 2 - - + + Time Domain - + - + - - + + Frequency Domain - + - - + + 160 0 - + FFT Properties - - - - 0 - 20 - 151 - 191 - + + + QFormLayout::AllNonFixedFieldsGrow - - - - - FFT Size - - - - - - - - + + + + + 96 + 0 + + + + + 96 + 16777215 + + + + + + + + FFT Size + + + + + formLayoutWidget + psdFFTComboBox + psdFFTSizeLabel + + + + + + + + + + Spectrogram + + + + + + Spectrogram Properties + + + + + + FFT Size + + + + + + + + 96 + 0 + + + + + 96 + 16777215 + + + + + + specFFTLabel + specFFTComboBox + specFFTComboBox - + + specPlot + groupBox - - - + + + 0 120 - + File Position - - + + 0 20 @@ -104,41 +159,41 @@ 92 - - - - + + + + Start - - + + - - - + + + Stop - - + + - - - + + + Length - - + + - - + + 180 20 @@ -146,41 +201,41 @@ 92 - - - - + + + + time start (sec) - - + + - - - + + + time stop (sec) - - + + - - - + + + time length (sec) - - + + - - + + 530 0 @@ -188,17 +243,17 @@ 120 - + 200 0 - + System Properties - - + + 0 20 @@ -206,17 +261,17 @@ 91 - - - - + + + + Sample Rate - - - + + + 0 0 @@ -227,8 +282,8 @@ - - + + 730 0 @@ -236,17 +291,17 @@ 120 - + 170 0 - + Display Properties - - + + 0 20 @@ -254,16 +309,16 @@ 91 - + - + - - + + Qt::Vertical - + 20 40 @@ -278,35 +333,35 @@ - - + + 0 0 927 - 25 + 24 - - + + &File - - + + - + - - - + + + &Open - + Ctrl+O - - + + E&xit @@ -326,11 +381,11 @@ MainWindow close() - + -1 -1 - + 399 347 -- cgit From 785cacd477d50aba8a412bae16c57681c52a7fd2 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 25 Aug 2009 18:22:06 -0400 Subject: Added colorbar to spectrogram for magnitude measurement. --- gr-utils/src/python/pyqt_plot.ui | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gr-utils/src/python/pyqt_plot.ui') diff --git a/gr-utils/src/python/pyqt_plot.ui b/gr-utils/src/python/pyqt_plot.ui index 62125962b..19a62adf5 100644 --- a/gr-utils/src/python/pyqt_plot.ui +++ b/gr-utils/src/python/pyqt_plot.ui @@ -24,7 +24,7 @@ - 2 + 0 @@ -80,9 +80,6 @@ - formLayoutWidget - psdFFTComboBox - psdFFTSizeLabel @@ -125,9 +122,6 @@ - specFFTLabel - specFFTComboBox - specFFTComboBox -- cgit