597 lines
16 KiB
Plaintext
597 lines
16 KiB
Plaintext
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<ui version="4.0">
|
||
|
|
<class>DatabaseBrowser</class>
|
||
|
|
<widget class="QWidget" name="DatabaseBrowser">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>1192</width>
|
||
|
|
<height>597</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="windowTitle">
|
||
|
|
<string>Form</string>
|
||
|
|
</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="QTabWidget" name="tabWidget">
|
||
|
|
<property name="currentIndex">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<widget class="QWidget" name="tab">
|
||
|
|
<attribute name="icon">
|
||
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
||
|
|
<normaloff>:/img/images/icon_hierarchy2.png</normaloff>:/img/images/icon_hierarchy2.png</iconset>
|
||
|
|
</attribute>
|
||
|
|
<attribute name="title">
|
||
|
|
<string>NULL</string>
|
||
|
|
</attribute>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
|
<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="QTableView" name="tableView"/>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</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
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
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>:/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_subtra.png</normaloff>:/img/images/icon_subtra.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>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>62</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="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
<property name="icon">
|
||
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
||
|
|
<normaloff>:/img/images/icon_done.png</normaloff>:/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>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>88</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="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
<property name="icon">
|
||
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
||
|
|
<normaloff>:/img/images/icon_close.png</normaloff>:/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>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>114</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_refresh3.png</normaloff>:/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>827</width>
|
||
|
|
<height>20</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QWidget" name="pageControlPanel" native="true">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>200</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>200</width>
|
||
|
|
<height>16777215</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<widget class="QLineEdit" name="lineEdit">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>108</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>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>68</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>false</bool>
|
||
|
|
</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_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>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>88</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>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>150</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>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
<resources>
|
||
|
|
<include location="../resource/PowerModeler.qrc"/>
|
||
|
|
</resources>
|
||
|
|
<connections/>
|
||
|
|
</ui>
|