qt/LedOK/wProgramManager/wEditProgram/wpageattr.ui
2022-01-04 18:11:48 +08:00

272 lines
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>wPageAttr</class>
<widget class="QWidget" name="wPageAttr">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>290</width>
<height>605</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>290</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Page name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="wPageName"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Play times</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="wPlayTimes">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="wValidDate">
<property name="text">
<string>Valid Date</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
<item>
<widget class="QDateEdit" name="wDateStart">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumDateTime">
<datetime>
<hour>0</hour>
<minute>0</minute>
<second>0</second>
<year>1752</year>
<month>9</month>
<day>14</day>
</datetime>
</property>
<property name="displayFormat">
<string>yyyy-MM-dd</string>
</property>
</widget>
</item>
<item>
<widget class="LoDateSelector" name="bnDateStart">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>End</string>
</property>
</widget>
</item>
<item>
<widget class="QDateEdit" name="wDateEnd">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumDateTime">
<datetime>
<hour>0</hour>
<minute>0</minute>
<second>0</second>
<year>1752</year>
<month>9</month>
<day>14</day>
</datetime>
</property>
<property name="displayFormat">
<string>yyyy-MM-dd</string>
</property>
</widget>
</item>
<item>
<widget class="LoDateSelector" name="bnDateEnd">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Plan</string>
</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="QPushButton" name="bnAddPlan">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../icons.qrc">
<normaloff>:/res/ProgramManager/EditProgram/AddPlan.png</normaloff>:/res/ProgramManager/EditProgram/AddPlan.png</iconset>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bnClearPlan">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../icons.qrc">
<normaloff>:/res/ProgramManager/EditProgram/CleanPlan.png</normaloff>:/res/ProgramManager/EditProgram/CleanPlan.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<widget class="wPlanList" name="wPlans"/>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>LoDateSelector</class>
<extends>QPushButton</extends>
<header>LoQClass\lodateselector.h</header>
</customwidget>
<customwidget>
<class>wPlanList</class>
<extends>QListWidget</extends>
<header>wProgramManager\wEditProgram\wplanlist.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="../../icons.qrc"/>
</resources>
<connections/>
</ui>