PowerModeler/ui/dbBrowser.ui

607 lines
17 KiB
Plaintext
Raw Normal View History

<?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">
2025-03-25 17:58:48 +08:00
<property name="enabled">
<bool>true</bool>
</property>
2025-03-24 19:55:01 +08:00
<property name="styleSheet">
<string notr="true">QTabBar::close-button {
border-image: url(:/img/images/btn_close_default.png);
margin:2px;
}
QTabBar::close-button:hover {
border-image: url(:/img/images/btn_close_hover.png);
}
QTabBar::close-button:pressed {
border-image: url(:/img/images/btn_close_pressed.png);
}</string>
</property>
<property name="currentIndex">
<number>-1</number>
</property>
<property name="tabsClosable">
2025-03-24 19:55:01 +08:00
<bool>true</bool>
</property>
</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">
2025-03-24 20:35:12 +08:00
<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">
2025-03-24 20:35:12 +08:00
<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>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">
2025-03-24 20:35:12 +08:00
<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>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">
2025-03-25 17:58:48 +08:00
<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>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">
2025-03-25 17:58:48 +08:00
<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>
2025-03-25 17:58:48 +08:00
<width>727</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QWidget" name="pageControlPanel" native="true">
<property name="minimumSize">
<size>
2025-03-25 17:58:48 +08:00
<width>300</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
2025-03-25 17:58:48 +08:00
<width>300</width>
<height>16777215</height>
</size>
</property>
<widget class="QLineEdit" name="lineEdit">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
2025-03-25 17:58:48 +08:00
<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>false</bool>
</property>
<property name="geometry">
<rect>
2025-03-25 17:58:48 +08:00
<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>false</bool>
</property>
<property name="geometry">
<rect>
2025-03-25 17:58:48 +08:00
<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>false</bool>
</property>
<property name="geometry">
<rect>
2025-03-25 17:58:48 +08:00
<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>false</bool>
</property>
<property name="geometry">
<rect>
2025-03-25 17:58:48 +08:00
<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>
2025-03-25 17:58:48 +08:00
<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>共 10 条记录</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>