PowerModeler/ui/attributeSelector.ui

751 lines
20 KiB
Plaintext
Raw Normal View History

2025-04-11 17:14:17 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AttributeSelector</class>
2025-05-08 09:50:56 +08:00
<widget class="QDialog" name="AttributeSelector">
2025-04-11 17:14:17 +08:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2025-05-06 17:51:03 +08:00
<width>998</width>
<height>492</height>
2025-04-11 17:14:17 +08:00
</rect>
</property>
<property name="windowTitle">
<string>属性选择器</string>
</property>
<property name="windowIcon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_addItem.png</normaloff>:/img/images/icon_addItem.png</iconset>
2025-04-11 17:14:17 +08:00
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</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="QWidget" name="searchBar" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>36</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>36</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget #searchBar
{
background-color: rgb(243, 243, 243);
}
QLineEdit
{
border:1px solid rgb(210,210,210);
border-radius:3px;
}
</string>
</property>
<widget class="QLineEdit" name="lineEdit_attributeType">
2025-04-11 17:14:17 +08:00
<property name="geometry">
<rect>
<x>90</x>
2025-04-11 17:14:17 +08:00
<y>8</y>
<width>113</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_atrributeType">
2025-04-11 17:14:17 +08:00
<property name="geometry">
<rect>
<x>20</x>
2025-04-11 17:14:17 +08:00
<y>10</y>
<width>71</width>
2025-04-11 17:14:17 +08:00
<height>16</height>
</rect>
</property>
<property name="text">
<string>属性类别:</string>
2025-04-11 17:14:17 +08:00
</property>
</widget>
<widget class="QPushButton" name="btnSearch">
<property name="geometry">
<rect>
<x>670</x>
2025-04-11 17:14:17 +08:00
<y>5</y>
<width>61</width>
<height>26</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
color: rgb(250, 250, 250);
font: 9pt;
border:0px;
border-radius:5px;
background-color:rgb(67,160,249);
}
QPushButton:hover
{
background-color:rgb(55,131,204);
}
QPushButton:pressed
{
background-color:rgb(67,160,249);
}</string>
</property>
<property name="text">
<string>查找</string>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_search_white.png</normaloff>:/img/images/icon_search_white.png</iconset>
</property>
</widget>
<widget class="QLabel" name="label_model">
<property name="geometry">
<rect>
<x>240</x>
<y>10</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>模型:</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_model">
<property name="geometry">
<rect>
<x>280</x>
<y>5</y>
<width>113</width>
<height>26</height>
</rect>
</property>
<item>
<property name="text">
<string>所有模型</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="comboBox_group">
<property name="geometry">
<rect>
<x>490</x>
<y>5</y>
<width>113</width>
<height>26</height>
</rect>
</property>
<item>
<property name="text">
<string>所有属性组</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_group">
<property name="geometry">
<rect>
<x>430</x>
<y>10</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>属性组:</string>
</property>
</widget>
2025-04-11 17:14:17 +08:00
</widget>
</item>
<item>
<widget class="QWidget" name="attributeViewContainer" native="true">
<layout class="QVBoxLayout" name="layoutTableView">
<property name="spacing">
<number>0</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>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="toolBar" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget #toolBar
{
background-color: rgb(243, 243, 243);
}
QPushButton
{
border: 0px solid rgb(205,205,205);
border-radius:0px;
}
QPushButton:hover
{
background-color:rgba(70,130,180,35);
}
QPushButton:pressed
{
background-color:rgba(70,130,180,65);
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint">
<enum>QLayout::SizeConstraint::SetNoConstraint</enum>
</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="QWidget" name="recordControlPanel" native="true">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<widget class="QPushButton" name="btnAdd">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>添加</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_plus.png</normaloff>
<disabledoff>:/img/images/icon_plus_disable.png</disabledoff>:/img/images/icon_plus.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnRemove">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>36</x>
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>删除</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_subtract.png</normaloff>
<disabledoff>:/img/images/icon_subtract_disable.png</disabledoff>:/img/images/icon_subtract.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnSave">
<property name="enabled">
<bool>true</bool>
2025-04-11 17:14:17 +08:00
</property>
<property name="geometry">
<rect>
<x>36</x>
2025-04-11 17:14:17 +08:00
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>完成</string>
2025-04-11 17:14:17 +08:00
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_done.png</normaloff>
<disabledoff>:/img/images/icon_done_disable.png</disabledoff>:/img/images/icon_done.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnCancle">
<property name="enabled">
<bool>true</bool>
2025-04-11 17:14:17 +08:00
</property>
<property name="geometry">
<rect>
<x>62</x>
2025-04-11 17:14:17 +08:00
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>取销</string>
2025-04-11 17:14:17 +08:00
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_close.png</normaloff>
<disabledoff>:/img/images/icon_close_disable.png</disabledoff>:/img/images/icon_close.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnRefresh">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
2025-04-11 17:14:17 +08:00
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>刷新</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_refresh3.png</normaloff>
<disabledoff>:/img/images/icon_refresh3_disable.png</disabledoff>:/img/images/icon_refresh3.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>727</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QWidget" name="pageControlPanel" native="true">
<property name="minimumSize">
<size>
<width>300</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<widget class="QLineEdit" name="lineEdit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>210</x>
<y>5</y>
<width>41</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>41</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>41</width>
<height>21</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border:0px;
background-color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>1</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="btnFirstPage">
<property name="enabled">
<bool>true</bool>
2025-04-11 17:14:17 +08:00
</property>
<property name="geometry">
<rect>
<x>170</x>
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>第一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_first.png</normaloff>:/img/images/icon_first.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnLastPage">
<property name="enabled">
<bool>true</bool>
2025-04-11 17:14:17 +08:00
</property>
<property name="geometry">
<rect>
<x>272</x>
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>最后一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_last.png</normaloff>:/img/images/icon_last.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnPreviousPage">
<property name="enabled">
<bool>true</bool>
2025-04-11 17:14:17 +08:00
</property>
<property name="geometry">
<rect>
<x>190</x>
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>上一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_previous.png</normaloff>:/img/images/icon_previous.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnNextPage">
<property name="enabled">
<bool>true</bool>
2025-04-11 17:14:17 +08:00
</property>
<property name="geometry">
<rect>
<x>252</x>
<y>5</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>下一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_next.png</normaloff>:/img/images/icon_next.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QLabel" name="recordInfo">
<property name="geometry">
<rect>
<x>12</x>
<y>5</y>
<width>151</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../resource/PowerModeler.qrc"/>
</resources>
<connections/>
</ui>