2025-03-14 16:06:20 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
|
<class>ConnectionDialog</class>
|
|
|
|
|
|
<widget class="QDialog" name="ConnectionDialog">
|
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
|
<rect>
|
|
|
|
|
|
<x>0</x>
|
|
|
|
|
|
<y>0</y>
|
|
|
|
|
|
<width>681</width>
|
|
|
|
|
|
<height>445</height>
|
|
|
|
|
|
</rect>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
|
<string>会话管理</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="windowIcon">
|
|
|
|
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
|
|
|
|
|
<normaloff>:/img/images/icon_database.png</normaloff>:/img/images/icon_database.png</iconset>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="styleSheet">
|
2025-04-30 11:27:07 +08:00
|
|
|
|
<string notr="true"/>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
|
|
<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="QSplitter" name="splitter">
|
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<widget class="QWidget" name="connectionIListWidget" native="true">
|
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QTableWidget" name="connectionList">
|
|
|
|
|
|
<property name="styleSheet">
|
2025-04-30 11:27:07 +08:00
|
|
|
|
<string notr="true">QTableView
|
|
|
|
|
|
{
|
|
|
|
|
|
outline:0px;
|
|
|
|
|
|
}
|
|
|
|
|
|
QTableView::item
|
|
|
|
|
|
{
|
|
|
|
|
|
border:0px;
|
|
|
|
|
|
background-color:transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
QTableView::item:hover
|
|
|
|
|
|
{
|
|
|
|
|
|
background-color:transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
QTableView::item:selected
|
|
|
|
|
|
{
|
|
|
|
|
|
color:rgb(0,0,0);
|
|
|
|
|
|
background-color:rgb(211, 241, 250);
|
|
|
|
|
|
}</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<property name="verticalScrollBarPolicy">
|
|
|
|
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAsNeeded</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="horizontalScrollBarPolicy">
|
|
|
|
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
|
|
|
|
</property>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="showGrid">
|
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
|
</attribute>
|
|
|
|
|
|
<column>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>名称</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</column>
|
|
|
|
|
|
<column>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>备注</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</column>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QPushButton" name="btnAdd">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>添加</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="icon">
|
|
|
|
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
|
|
|
|
|
<normaloff>:/img/images/icon_add.png</normaloff>:/img/images/icon_add.png</iconset>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>38</width>
|
|
|
|
|
|
<height>28</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</spacer>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QPushButton" name="btnRemove">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>删除</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="icon">
|
|
|
|
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
|
|
|
|
|
<normaloff>:/img/images/icon_remove.png</normaloff>:/img/images/icon_remove.png</iconset>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
<widget class="QWidget" name="connectionInfoWidget" native="true">
|
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
|
<number>9</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
|
<number>9</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
<number>9</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
<number>9</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true"/>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="currentIndex">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
|
|
<attribute name="icon">
|
|
|
|
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
|
|
|
|
|
<normaloff>:/img/images/icon_setting.png</normaloff>:/img/images/icon_setting.png</iconset>
|
|
|
|
|
|
</attribute>
|
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
|
<string>配置</string>
|
|
|
|
|
|
</attribute>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
|
<number>18</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
|
<number>10</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
<number>18</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="verticalSpacing">
|
|
|
|
|
|
<number>10</number>
|
|
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
|
<widget class="QLineEdit" name="lineEdit_connection">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>16777215</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maxLength">
|
|
|
|
|
|
<number>30</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="6" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_userName">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<string>用户名:</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="5" column="0">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<widget class="QLabel" name="label_port">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>端口号:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
|
<widget class="QLineEdit" name="lineEdit_hostName">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>16777215</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maxLength">
|
|
|
|
|
|
<number>30</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="7" column="1">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<widget class="QLineEdit" name="lineEdit_password">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>16777215</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maxLength">
|
|
|
|
|
|
<number>30</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="echoMode">
|
|
|
|
|
|
<enum>QLineEdit::EchoMode::Password</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
|
|
<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="QLineEdit" name="lineEdit_port">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>51</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>51</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>5432</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QLabel" name="label_error">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string/>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="10" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_dbComment">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<string>备注:</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_hostName">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
2025-04-03 16:13:11 +08:00
|
|
|
|
<width>106</width>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
2025-04-03 16:13:11 +08:00
|
|
|
|
<width>106</width>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<string>主机名/IP地址:</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_connection">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<width>91</width>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<width>91</width>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>链接名称:</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="7" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_password">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<string>密码:</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="10" column="1">
|
|
|
|
|
|
<widget class="QPlainTextEdit" name="plainTextEdit">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true"/>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="6" column="1">
|
|
|
|
|
|
<widget class="QLineEdit" name="lineEdit_userName">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<width>0</width>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<width>16777215</width>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<property name="maxLength">
|
|
|
|
|
|
<number>30</number>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_dbType">
|
2025-03-14 16:06:20 +08:00
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<string>数据库类型:</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
|
<widget class="QComboBox" name="comboBox_dbType">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>26</height>
|
|
|
|
|
|
</size>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>16777215</width>
|
|
|
|
|
|
<height>26</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>PostgreSQL</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<property name="icon">
|
|
|
|
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
|
|
|
|
|
<normaloff>:/img/images/icon_postgresql.png</normaloff>:/img/images/icon_postgresql.png</iconset>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>MySQL</string>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
<property name="icon">
|
|
|
|
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
|
|
|
|
|
<normaloff>:/img/images/icon_mysql.png</normaloff>:/img/images/icon_mysql.png</iconset>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</property>
|
2025-04-02 18:09:48 +08:00
|
|
|
|
</item>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="8" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_dbName">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>91</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>数据库名称:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="8" column="1">
|
|
|
|
|
|
<widget class="QLineEdit" name="lineEdit_dbName">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>16777215</width>
|
|
|
|
|
|
<height>21</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maxLength">
|
|
|
|
|
|
<number>30</number>
|
|
|
|
|
|
</property>
|
2025-03-14 16:06:20 +08:00
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
|
|
|
<attribute name="icon">
|
|
|
|
|
|
<iconset resource="../resource/PowerModeler.qrc">
|
|
|
|
|
|
<normaloff>:/img/images/icon_statistics.png</normaloff>:/img/images/icon_statistics.png</iconset>
|
|
|
|
|
|
</attribute>
|
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
|
<string>统计</string>
|
|
|
|
|
|
</attribute>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QPushButton" name="btnSave">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>保存</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>40</width>
|
|
|
|
|
|
<height>20</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</spacer>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QPushButton" name="btnOpen">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>打开</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item>
|
|
|
|
|
|
<widget class="QPushButton" name="btnCancle">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>86</width>
|
|
|
|
|
|
<height>31</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>取消</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
<include location="../resource/PowerModeler.qrc"/>
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
<connections/>
|
|
|
|
|
|
</ui>
|