420 lines
11 KiB
Plaintext
420 lines
11 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>Dialog</class>
|
||
|
<widget class="QDialog" name="Dialog">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>614</width>
|
||
|
<height>776</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Dialog</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||
|
<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="QGroupBox" name="groupBox">
|
||
|
<property name="title">
|
||
|
<string>Description</string>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||
|
<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_2" native="true">
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<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>
|
||
|
<property name="spacing">
|
||
|
<number>3</number>
|
||
|
</property>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QLineEdit" name="name_lineedit"/>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLineEdit" name="group_lineedit"/>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="group_label">
|
||
|
<property name="text">
|
||
|
<string>Group</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="name_label">
|
||
|
<property name="text">
|
||
|
<string>Name</string>
|
||
|
</property>
|
||
|
<property name="buddy">
|
||
|
<cstring>name_lineedit</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QLineEdit" name="lineEdit"/>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="text">
|
||
|
<string>Equation</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_2">
|
||
|
<property name="title">
|
||
|
<string>Variables</string>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
<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_3" native="true">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||
|
<property name="spacing">
|
||
|
<number>3</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="QTableWidget" name="tableWidget">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="selectionMode">
|
||
|
<enum>QAbstractItemView::SingleSelection</enum>
|
||
|
</property>
|
||
|
<property name="selectionBehavior">
|
||
|
<enum>QAbstractItemView::SelectRows</enum>
|
||
|
</property>
|
||
|
<property name="columnCount">
|
||
|
<number>4</number>
|
||
|
</property>
|
||
|
<column>
|
||
|
<property name="text">
|
||
|
<string>Variable</string>
|
||
|
</property>
|
||
|
</column>
|
||
|
<column>
|
||
|
<property name="text">
|
||
|
<string>Name</string>
|
||
|
</property>
|
||
|
</column>
|
||
|
<column>
|
||
|
<property name="text">
|
||
|
<string>Lower bound</string>
|
||
|
</property>
|
||
|
</column>
|
||
|
<column>
|
||
|
<property name="text">
|
||
|
<string>Upper bound</string>
|
||
|
</property>
|
||
|
</column>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QToolButton" name="parameter_button">
|
||
|
<property name="text">
|
||
|
<string>Add parameter</string>
|
||
|
</property>
|
||
|
<property name="toolButtonStyle">
|
||
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||
|
</property>
|
||
|
<property name="autoRaise">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="arrowType">
|
||
|
<enum>Qt::RightArrow</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_3">
|
||
|
<property name="title">
|
||
|
<string>Multiple choice part</string>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
|
<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">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||
|
<property name="spacing">
|
||
|
<number>3</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="QCheckBox" name="use_nuclei">
|
||
|
<property name="text">
|
||
|
<string>Add gyromagnetic ratios</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QTabWidget" name="tabWidget">
|
||
|
<property name="tabPosition">
|
||
|
<enum>QTabWidget::West</enum>
|
||
|
</property>
|
||
|
<property name="tabsClosable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QToolButton" name="selection_button">
|
||
|
<property name="text">
|
||
|
<string>Add selection</string>
|
||
|
</property>
|
||
|
<property name="toolButtonStyle">
|
||
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||
|
</property>
|
||
|
<property name="arrowType">
|
||
|
<enum>Qt::RightArrow</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_4">
|
||
|
<property name="title">
|
||
|
<string>Available namespace</string>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QNamespaceWidget" name="namespace_widget" native="true">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QFrame" name="frame_4">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||
|
<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="QLabel" name="label">
|
||
|
<property name="text">
|
||
|
<string>Function y = func(x)</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="CodeEditor" name="plainTextEdit"/>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="standardButtons">
|
||
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>QNamespaceWidget</class>
|
||
|
<extends>QWidget</extends>
|
||
|
<header>..lib.namespace</header>
|
||
|
<container>1</container>
|
||
|
</customwidget>
|
||
|
<customwidget>
|
||
|
<class>CodeEditor</class>
|
||
|
<extends>QPlainTextEdit</extends>
|
||
|
<header>..lib.codeeditor</header>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<resources/>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>buttonBox</sender>
|
||
|
<signal>accepted()</signal>
|
||
|
<receiver>Dialog</receiver>
|
||
|
<slot>accept()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>248</x>
|
||
|
<y>254</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>157</x>
|
||
|
<y>274</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>buttonBox</sender>
|
||
|
<signal>rejected()</signal>
|
||
|
<receiver>Dialog</receiver>
|
||
|
<slot>reject()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>316</x>
|
||
|
<y>260</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>286</x>
|
||
|
<y>274</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
</ui>
|