1
0
forked from IPKM/nmreval
nmreval/resources/_ui/eval_expr_dialog.ui

433 lines
14 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>CalcDialog</class>
<widget class="QDialog" name="CalcDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>804</width>
<height>627</height>
</rect>
</property>
<property name="windowTitle">
<string>Evaluate stuff</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QSplitter" name="splitter_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="currentIndex">
<number>2</number>
</property>
<widget class="QWidget" name="page">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</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="QLabel" name="label_2">
<property name="text">
<string>Select sets for evaluation</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="listWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="overwrite_checkbox">
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Overwrite values</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_2">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>GroupBox</string>
</property>
<layout class="QFormLayout" name="formLayout_3">
<property name="horizontalSpacing">
<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 row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Label</string>
</property>
<property name="buddy">
<cstring>label_lineEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="label_lineEdit"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Value</string>
</property>
<property name="buddy">
<cstring>value_lineEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="value_lineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Datatype</string>
</property>
<property name="buddy">
<cstring>dtype_comboBox</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="dtype_comboBox">
<item>
<property name="text">
<string>Points</string>
</property>
</item>
<item>
<property name="text">
<string>Timesignal</string>
</property>
</item>
<item>
<property name="text">
<string>Spectrum</string>
</property>
</item>
<item>
<property name="text">
<string>BDS</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Symbol</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="horizontalSpacing">
<number>3</number>
</property>
<property name="verticalSpacing">
<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 row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Color</string>
</property>
<property name="buddy">
<cstring>symcolor_comboBox</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="ColorListEditor" name="symcolor_comboBox"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Size</string>
</property>
<property name="buddy">
<cstring>symbol_spinBox</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="symbol_spinBox">
<property name="value">
<number>10</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="SymbolStyleEditor" name="symbol_comboBox"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Style</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Line</string>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="horizontalSpacing">
<number>3</number>
</property>
<property name="verticalSpacing">
<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 row="1" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Color</string>
</property>
<property name="buddy">
<cstring>linecolor_comboBox</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="ColorListEditor" name="linecolor_comboBox"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Width</string>
</property>
<property name="buddy">
<cstring>line_doubleSpinBox</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="line_doubleSpinBox">
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="LineStyleEditor" name="linestyle_comboBox"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Style</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="graph_comboBox"/>
</item>
</layout>
<zorder>groupBox</zorder>
<zorder>groupBox_2</zorder>
<zorder>groupBox_3</zorder>
<zorder>verticalSpacer</zorder>
<zorder>graph_comboBox</zorder>
</widget>
<widget class="QWidget" name="page_3"/>
</widget>
</item>
</layout>
</widget>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="childrenCollapsible">
<bool>false</bool>
</property>
<widget class="QWidget" name="verticalLayoutWidget_2">
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QNamespaceWidget" name="namespace_widget" native="true"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="verticalLayoutWidget_3">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Expressions are evaluated line by line and change previous values</string>
</property>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="calc_edit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ColorListEditor</class>
<extends>QComboBox</extends>
<header>..lib.delegates</header>
</customwidget>
<customwidget>
<class>LineStyleEditor</class>
<extends>QComboBox</extends>
<header>..lib.delegates</header>
</customwidget>
<customwidget>
<class>SymbolStyleEditor</class>
<extends>QComboBox</extends>
<header>..lib.delegates</header>
</customwidget>
<customwidget>
<class>QNamespaceWidget</class>
<extends>QWidget</extends>
<header>..lib.namespace</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>calc_edit</tabstop>
<tabstop>listWidget</tabstop>
<tabstop>overwrite_checkbox</tabstop>
<tabstop>label_lineEdit</tabstop>
<tabstop>value_lineEdit</tabstop>
<tabstop>dtype_comboBox</tabstop>
<tabstop>symcolor_comboBox</tabstop>
<tabstop>symbol_spinBox</tabstop>
<tabstop>linecolor_comboBox</tabstop>
<tabstop>line_doubleSpinBox</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>