screwdriver/PLC/IOCard_ui.ui

772 lines
19 KiB
Plaintext
Raw Normal View History

2025-02-06 16:10:58 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>746</width>
<height>614</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QPushButton" name="btn_IOCardConnect">
<property name="geometry">
<rect>
<x>160</x>
<y>10</y>
<width>139</width>
<height>43</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>IO卡連線</string>
</property>
</widget>
<widget class="QLabel" name="state_input3">
<property name="geometry">
<rect>
<x>330</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input2">
<property name="geometry">
<rect>
<x>390</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input1">
<property name="geometry">
<rect>
<x>450</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input0">
<property name="geometry">
<rect>
<x>510</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input0_2">
<property name="geometry">
<rect>
<x>510</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input1_2">
<property name="geometry">
<rect>
<x>450</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input2_2">
<property name="geometry">
<rect>
<x>390</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input3_2">
<property name="geometry">
<rect>
<x>330</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>305</width>
<height>409</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="btn_motorGoHome">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>回home</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_motorMove">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>移動</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_openAll">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>全開</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_closeAll">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>全關</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_write">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>寫入</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_useBack">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>後感測器掃瞄並修正</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_motorStandBy_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>馬達回到待命點</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_powerOff">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>power_off</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="state_input9">
<property name="geometry">
<rect>
<x>330</x>
<y>250</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input8">
<property name="geometry">
<rect>
<x>390</x>
<y>250</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_Dist">
<property name="geometry">
<rect>
<x>330</x>
<y>320</y>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_speed">
<property name="geometry">
<rect>
<x>330</x>
<y>350</y>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QLabel" name="state_input4_2">
<property name="geometry">
<rect>
<x>390</x>
<y>250</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input5_2">
<property name="geometry">
<rect>
<x>330</x>
<y>250</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input7">
<property name="geometry">
<rect>
<x>330</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input3_4">
<property name="geometry">
<rect>
<x>330</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input5">
<property name="geometry">
<rect>
<x>450</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input0_3">
<property name="geometry">
<rect>
<x>510</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input1_4">
<property name="geometry">
<rect>
<x>450</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input6">
<property name="geometry">
<rect>
<x>390</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input2_4">
<property name="geometry">
<rect>
<x>390</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: red;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="state_input4">
<property name="geometry">
<rect>
<x>510</x>
<y>190</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: green;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>490</x>
<y>330</y>
<width>241</width>
<height>231</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QPushButton" name="btn_openRedLight">
<property name="text">
<string>openRedLight</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="btn_openYellowLight">
<property name="text">
<string>openYellowLight</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="btn_openGreenLight">
<property name="text">
<string>openGreenLight</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="btn_openBuzzer">
<property name="text">
<string>openBuzzer</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="btn_openAILight">
<property name="text">
<string>openAILight</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="btn_openAOILight">
<property name="text">
<string>openAOILight</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="btn_motor_out">
<property name="text">
<string>btn_motor_out</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="btn_motor_in">
<property name="text">
<string>btn_motor_in</string>
</property>
</widget>
</item>
</layout>
</widget>
<zorder>state_input1_4</zorder>
<zorder>state_input2_4</zorder>
<zorder>state_input3_4</zorder>
<zorder>layoutWidget</zorder>
<zorder>state_input0_2</zorder>
<zorder>state_input1_2</zorder>
<zorder>state_input3_2</zorder>
<zorder>state_input2_2</zorder>
<zorder>btn_IOCardConnect</zorder>
<zorder>state_input3</zorder>
<zorder>state_input2</zorder>
<zorder>state_input1</zorder>
<zorder>state_input0</zorder>
<zorder>lineEdit_Dist</zorder>
<zorder>lineEdit_speed</zorder>
<zorder>state_input4_2</zorder>
<zorder>state_input5_2</zorder>
<zorder>state_input8</zorder>
<zorder>state_input9</zorder>
<zorder>state_input7</zorder>
<zorder>state_input5</zorder>
<zorder>state_input0_3</zorder>
<zorder>state_input6</zorder>
<zorder>state_input4</zorder>
<zorder>gridLayoutWidget</zorder>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>746</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusBar"/>
</widget>
<resources/>
<connections/>
</ui>