subclass every PlotWidget because logtickvalues

This commit is contained in:
Dominik Demuth
2023-08-01 19:47:55 +02:00
parent 3475650899
commit b27d9b55ff
18 changed files with 141 additions and 107 deletions

View File

@ -36,7 +36,7 @@
<number>3</number>
</property>
<item row="2" column="0">
<widget class="PlotWidget" name="graphicsView">
<widget class="NMRPlotWidget" name="graphicsView">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -46,7 +46,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="PlotWidget" name="graphicsView_2"/>
<widget class="NMRPlotWidget" name="graphicsView_2"/>
</item>
<item row="0" column="0">
<widget class="QComboBox" name="apodcombobox">
@ -98,9 +98,9 @@
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<class>NMRPlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
<header>..lib.graph_items</header>
</customwidget>
</customwidgets>
<resources/>

View File

@ -53,7 +53,7 @@
</widget>
</item>
<item row="0" column="2">
<widget class="PlotWidget" name="graphicsView">
<widget class="NMRPlotWidget" name="graphicsView">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -66,9 +66,9 @@
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<class>NMRPlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
<header>..lib.graph_items</header>
</customwidget>
</customwidgets>
<resources/>

View File

@ -378,7 +378,7 @@
<widget class="QWidget" name="layoutWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="PlotWidget" name="raw_graph">
<widget class="NMRPlotWidget" name="raw_graph">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -394,7 +394,7 @@
</widget>
</item>
<item row="1" column="0">
<widget class="PlotWidget" name="calib_graph">
<widget class="NMRPlotWidget" name="calib_graph">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -410,7 +410,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="PlotWidget" name="baseline_graph">
<widget class="NMRPlotWidget" name="baseline_graph">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -426,7 +426,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="PlotWidget" name="end_graph">
<widget class="NMRPlotWidget" name="end_graph">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -449,9 +449,9 @@
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<class>NMRPlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
<header>..lib.graph_items</header>
</customwidget>
</customwidgets>
<resources/>

View File

@ -538,7 +538,7 @@
</widget>
</item>
<item row="0" column="0" rowspan="2">
<widget class="PlotWidget" name="graphic">
<widget class="NMRPlotWidget" name="graphic">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -552,16 +552,16 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
</customwidget>
<customwidget>
<class>QListWidgetSelect</class>
<extends>QListWidget</extends>
<header>..lib.listwidget</header>
</customwidget>
<customwidget>
<class>NMRPlotWidget</class>
<extends>QGraphicsView</extends>
<header>..lib.graph_items</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>logx_button</tabstop>

View File

@ -36,7 +36,7 @@
<number>3</number>
</property>
<item row="0" column="0" colspan="8">
<widget class="PlotWidget" name="graphicsView">
<widget class="NMRPlotWidget" name="graphicsView">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -160,9 +160,9 @@
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<class>NMRPlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
<header>..lib.graph_items</header>
</customwidget>
</customwidgets>
<resources/>

View File

@ -317,7 +317,7 @@
<number>3</number>
</property>
<item>
<widget class="PlotWidget" name="graphicsView">
<widget class="NMRPlotWidget" name="graphicsView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -503,9 +503,9 @@
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<class>NMRPlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
<header>..lib.graph_items</header>
</customwidget>
<customwidget>
<class>SciSpinBox</class>

View File

@ -100,7 +100,7 @@
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="PlotWidget" name="dsc_plot">
<widget class="NMRPlotWidget" name="dsc_plot">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -145,10 +145,10 @@
</widget>
</item>
<item row="1" column="0">
<widget class="PlotWidget" name="tghodge_graph"/>
<widget class="NMRPlotWidget" name="tghodge_graph"/>
</item>
<item row="1" column="1">
<widget class="PlotWidget" name="tau_plot">
<widget class="NMRPlotWidget" name="tau_plot">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -277,7 +277,7 @@
<widget class="QWidget" name="page_3">
<layout class="QGridLayout" name="gridLayout_6">
<item row="1" column="0" colspan="2">
<widget class="PlotWidget" name="tnmh_graphics"/>
<widget class="NMRPlotWidget" name="tnmh_graphics"/>
</item>
<item row="2" column="0">
<widget class="QTreeWidget" name="tnmh_tree">
@ -427,16 +427,16 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
</customwidget>
<customwidget>
<class>QListWidgetSelect</class>
<extends>QListWidget</extends>
<header>..lib.listwidget</header>
</customwidget>
<customwidget>
<class>NMRPlotWidget</class>
<extends>QGraphicsView</extends>
<header>..lib.graph_items</header>
</customwidget>
</customwidgets>
<resources/>
<connections>