2018-03-11 07:57:57 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>NewUnitDialog</class>
|
|
|
|
<widget class="QDialog" name="NewUnitDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2018-03-30 12:33:48 +00:00
|
|
|
<width>195</width>
|
|
|
|
<height>340</height>
|
2018-03-11 07:57:57 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>New Unit</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
2018-03-31 20:15:01 +00:00
|
|
|
<iconset resource="../../res.qrc">
|
2018-03-11 07:57:57 +00:00
|
|
|
<normaloff>:/images/images/icon.png</normaloff>:/images/images/icon.png</iconset>
|
|
|
|
</property>
|
2018-03-30 12:33:48 +00:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">font: 25 "Noto Sans CJK KR Light";</string>
|
|
|
|
</property>
|
2018-03-11 07:57:57 +00:00
|
|
|
<property name="modal">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item alignment="Qt::AlignTop">
|
|
|
|
<widget class="QWidget" name="contentPanel" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
2018-03-30 12:33:48 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>3</weight>
|
|
|
|
<italic>false</italic>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
2018-03-11 07:57:57 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Unit Name</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="unitNameEdit"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
2018-03-30 12:33:48 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>3</weight>
|
|
|
|
<italic>false</italic>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
2018-03-11 07:57:57 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Plural Name</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="pluralNameEdit"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
2018-03-30 12:33:48 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>3</weight>
|
|
|
|
<italic>false</italic>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
2018-03-11 07:57:57 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Abbreviation</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="abbreviationEdit"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="unitTypePanel" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<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 alignment="Qt::AlignLeft">
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2018-03-30 12:33:48 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>3</weight>
|
|
|
|
<italic>false</italic>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
2018-03-11 07:57:57 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Type:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="typeComboBox">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="coefficientPanel" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_5">
|
2018-03-30 12:33:48 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>3</weight>
|
|
|
|
<italic>false</italic>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
2018-03-11 07:57:57 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Metric Coefficient</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDoubleSpinBox" name="coefficientSpinBox">
|
|
|
|
<property name="maximum">
|
|
|
|
<double>1000.000000000000000</double>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<double>1.000000000000000</double>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</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>
|
|
|
|
<resources>
|
2018-03-31 20:15:01 +00:00
|
|
|
<include location="../../res.qrc"/>
|
2018-03-11 07:57:57 +00:00
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>NewUnitDialog</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>NewUnitDialog</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>
|