123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>CToolDialog</class>
- <widget class="QDialog" name="CToolDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>900</width>
- <height>540</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>CToolDialog</string>
- </property>
- <property name="styleSheet">
- <string notr="true">#Tool_widget{border:1px solid rgb(61, 61, 61)}
- #Image_widget{border:1px solid rgb(61, 61, 61)}</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QTabWidget" name="tab">
- <property name="minimumSize">
- <size>
- <width>300</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>300</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="Base">
- <attribute name="title">
- <string>基础参数</string>
- </attribute>
- <widget class="QPushButton" name="btnMoveUp">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>20</y>
- <width>32</width>
- <height>32</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="text">
- <string>U</string>
- </property>
- </widget>
- <widget class="QStackedWidget" name="stackedWidget">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>230</y>
- <width>251</width>
- <height>181</height>
- </rect>
- </property>
- </widget>
- <widget class="QPushButton" name="btnMoveDown">
- <property name="geometry">
- <rect>
- <x>140</x>
- <y>20</y>
- <width>32</width>
- <height>32</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="text">
- <string>D</string>
- </property>
- </widget>
- <widget class="MyTableWidget" name="tableWidget">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>70</y>
- <width>281</width>
- <height>131</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="rowCount">
- <number>0</number>
- </property>
- <attribute name="horizontalHeaderCascadingSectionResizes">
- <bool>false</bool>
- </attribute>
- <attribute name="horizontalHeaderDefaultSectionSize">
- <number>90</number>
- </attribute>
- <attribute name="verticalHeaderDefaultSectionSize">
- <number>30</number>
- </attribute>
- <attribute name="verticalHeaderHighlightSections">
- <bool>true</bool>
- </attribute>
- <column>
- <property name="text">
- <string>启用</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>类型</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>参数</string>
- </property>
- </column>
- </widget>
- <widget class="QPushButton" name="btnDel">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>20</y>
- <width>32</width>
- <height>32</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="text">
- <string>-</string>
- </property>
- </widget>
- <widget class="QCheckBox" name="checkBox">
- <property name="geometry">
- <rect>
- <x>180</x>
- <y>40</y>
- <width>71</width>
- <height>16</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>实时刷新</string>
- </property>
- </widget>
- <widget class="QPushButton" name="btnAdd">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>20</y>
- <width>32</width>
- <height>32</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="text">
- <string>+</string>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>8</height>
- </size>
- </property>
- </widget>
- </widget>
- <widget class="QWidget" name="Show">
- <attribute name="title">
- <string>显示参数</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QWidget" name="Image_widget" native="true"/>
- </item>
- <item row="1" column="0" colspan="2">
- <widget class="QWidget" name="Tool_widget" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>42</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>42</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <property name="leftMargin">
- <number>6</number>
- </property>
- <property name="topMargin">
- <number>6</number>
- </property>
- <property name="rightMargin">
- <number>6</number>
- </property>
- <property name="bottomMargin">
- <number>6</number>
- </property>
- <property name="horizontalSpacing">
- <number>20</number>
- </property>
- <item row="0" column="3" rowspan="2">
- <widget class="QPushButton" name="btnOK">
- <property name="minimumSize">
- <size>
- <width>80</width>
- <height>30</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>确定</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2" rowspan="2">
- <widget class="QPushButton" name="btnExecute">
- <property name="minimumSize">
- <size>
- <width>80</width>
- <height>30</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>执行</string>
- </property>
- </widget>
- </item>
- <item row="0" column="4" rowspan="2">
- <widget class="QPushButton" name="btnCancel">
- <property name="minimumSize">
- <size>
- <width>80</width>
- <height>30</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>取消</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" rowspan="2">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>553</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_time">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="minimumSize">
- <size>
- <width>200</width>
- <height>0</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>耗时: 0ms</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="label_state">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>状态: OK</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <customwidgets>
- <customwidget>
- <class>MyTableWidget</class>
- <extends>QTableWidget</extends>
- <header>mytablewidget.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
- </ui>
|