nmreval/resources/_ui/graph.ui

578 lines
15 KiB
Plaintext
Raw Normal View History

2022-03-08 09:27:40 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GraphWindow</class>
<widget class="QWidget" name="GraphWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>680</width>
<height>520</height>
</rect>
</property>
<property name="baseSize">
<size>
<width>300</width>
<height>10</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>3</number>
</property>
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>1</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="logx_button">
<property name="toolTip">
<string>Change x axis linear &lt;-&gt; logarithmic</string>
</property>
<property name="text">
<string>Log X</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="logy_button">
<property name="toolTip">
<string>Change y axis linear &lt;-&gt; logarithmic</string>
</property>
<property name="text">
<string>Log Y</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="gridbutton">
<property name="toolTip">
<string>Show/hide grid</string>
</property>
<property name="text">
<string>Grid</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="bwbutton">
<property name="toolTip">
<string>Change background</string>
</property>
<property name="text">
<string>Black/white</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="legend_button">
<property name="toolTip">
<string>Change legend</string>
</property>
<property name="text">
<string>Legend</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="imag_button">
<property name="toolTip">
<string>Show/hide imaginary part</string>
</property>
<property name="text">
<string>Imaginary</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="real_button">
<property name="toolTip">
<string>Show/hide real part</string>
</property>
<property name="text">
<string>Real</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="error_button">
<property name="toolTip">
<string>Show/hide errorbars</string>
</property>
<property name="text">
<string>Errorbars</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="limit_button">
<property name="text">
<string>Limits</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="arrowType">
<enum>Qt::RightArrow</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="label_button">
<property name="text">
<string>Labels</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="arrowType">
<enum>Qt::RightArrow</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="limit_widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>2</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>X: </string>
</property>
<property name="buddy">
<cstring>xmin_lineedit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="xmin_lineedit"/>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>---</string>
</property>
<property name="buddy">
<cstring>xmax_lineedit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="xmax_lineedit"/>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Y: </string>
</property>
<property name="buddy">
<cstring>ymin_lineedit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="ymin_lineedit"/>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>---</string>
</property>
<property name="buddy">
<cstring>ymax_lineedit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="ymax_lineedit"/>
</item>
<item>
<widget class="QPushButton" name="apply_button">
<property name="text">
<string>Apply</string>
</property>
<property name="icon">
<iconset theme="dialog-ok">
<normaloff>../../../../.designer/backup</normaloff>../../../../.designer/backup</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="label_widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>2</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Title</string>
</property>
<property name="buddy">
<cstring>title_lineedit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="title_lineedit"/>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>X Axis</string>
</property>
<property name="buddy">
<cstring>xaxis_linedit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="xaxis_linedit"/>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Y Axis</string>
</property>
<property name="buddy">
<cstring>yaxis_linedit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="yaxis_linedit"/>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<property name="horizontalSpacing">
<number>3</number>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="1" column="1">
<widget class="QListWidget" name="listWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>Show legend</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="2">
<widget class="PlotWidget" name="graphic">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>PlotWidget</class>
<extends>QGraphicsView</extends>
<header>pyqtgraph</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>logx_button</tabstop>
<tabstop>logy_button</tabstop>
<tabstop>gridbutton</tabstop>
<tabstop>legend_button</tabstop>
<tabstop>imag_button</tabstop>
<tabstop>error_button</tabstop>
<tabstop>limit_button</tabstop>
<tabstop>label_button</tabstop>
<tabstop>xmin_lineedit</tabstop>
<tabstop>xmax_lineedit</tabstop>
<tabstop>ymin_lineedit</tabstop>
<tabstop>ymax_lineedit</tabstop>
<tabstop>title_lineedit</tabstop>
<tabstop>xaxis_linedit</tabstop>
<tabstop>yaxis_linedit</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>