PowerModeler/ui/mainwindow.ui

388 lines
9.4 KiB
Plaintext
Raw Normal View History

2025-03-14 16:06:20 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1111</width>
<height>759</height>
</rect>
</property>
<property name="windowTitle">
<string>PowerModeler</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>:/img/images/icons_database.png</normaloff>:/img/images/icons_database.png</iconset>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border: 1px solid rgb(205,205,205);
border-radius:5px;
}
QPushButton:hover
{
border-color: rgb(70,130,180);
}
QPushButton:pressed
{
background-color:rgba(70,130,180,50);
}
QPlainTextEdit
{
border:1px solid rgb(235,235,235);
border-bottom:1px solid rgb(0,0,0);
}
QTabWidget
{
}
QTabWidget::pane
{
border:0px;
border-top: 1px solid rgb(225,225,225);;
border-radius: 2px;
margin-top:-1px;
}
QTabWidget::tab-bar
{
}
QTabBar::tab
{
height:26px;
border: 0px solid;
padding-left:10px;
padding-right:10px;
}
QTabBar::tab:selected
{
color:rgb(70,130,180);
border-bottom: 2px solid rgb(70,130,180);
}
QHeaderView
{
background-color: rgb(250, 250, 250);
2025-03-14 16:06:20 +08:00
}
QHeaderView::section
{
}
QTableView
{
outline:0px;
}
QTableView::item
{
border:0px;
}
QTableView::item:hover
{
background-color: rgb(240, 248, 255);
}
QTableView::item:selected
{
color:rgb(0,0,0);
background-color:rgb(211, 241, 250);
}
QTreeView
{
outline:0px;
}
QTreeView::item
{
border:0px;
}
QTreeView::item:hover
{
background-color: rgb(240, 248, 255);
}
QTreeView::item:selected
{
color:rgb(0,0,0);
background-color:rgb(211, 241, 250);
}
</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<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="dbStructurePanel" native="true">
<layout class="QVBoxLayout" name="layoutDBStructure">
<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>
<widget class="QWidget" name="mainOperationPanel" native="true">
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="layoutAttributeBrowser">
<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>
2025-03-14 16:06:20 +08:00
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1111</width>
<height>33</height>
</rect>
</property>
<widget class="QMenu" name="menu">
<property name="title">
<string>文件</string>
</property>
</widget>
<widget class="QMenu" name="menu_2">
<property name="title">
<string>编辑</string>
</property>
</widget>
<widget class="QMenu" name="menu_3">
<property name="title">
<string>查看</string>
</property>
</widget>
<widget class="QMenu" name="menu_4">
<property name="title">
<string>工具</string>
</property>
</widget>
<widget class="QMenu" name="menu_5">
<property name="title">
<string>帮助</string>
</property>
</widget>
<addaction name="menu"/>
<addaction name="menu_2"/>
<addaction name="menu_3"/>
<addaction name="menu_4"/>
<addaction name="menu_5"/>
</widget>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="connectAction"/>
<addaction name="disconnectAction"/>
<addaction name="separator"/>
<addaction name="createTableAction"/>
<addaction name="deleteTableAction"/>
<addaction name="separator"/>
<addaction name="importAciton"/>
<addaction name="exportAction"/>
<addaction name="separator"/>
<addaction name="refreshAction"/>
<addaction name="saveAction"/>
<addaction name="separator"/>
</widget>
<action name="createTableAction">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_addTable.png</normaloff>:/img/images/icon_addTable.png</iconset>
</property>
<property name="text">
<string>创建表</string>
</property>
<property name="toolTip">
<string>创建模型</string>
</property>
<property name="visible">
<bool>true</bool>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="deleteTableAction">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_deleteTable.png</normaloff>:/img/images/icon_deleteTable.png</iconset>
</property>
<property name="text">
<string>删除表</string>
</property>
<property name="toolTip">
<string>删除模型</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="importAciton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_import.png</normaloff>:/img/images/icon_import.png</iconset>
</property>
<property name="text">
<string>导入</string>
</property>
<property name="toolTip">
<string>导入</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="exportAction">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_export.png</normaloff>:/img/images/icon_export.png</iconset>
</property>
<property name="text">
<string>导出</string>
</property>
<property name="toolTip">
<string>导出</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="refreshAction">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_refresh.png</normaloff>:/img/images/icon_refresh.png</iconset>
</property>
<property name="text">
<string>刷新</string>
</property>
<property name="toolTip">
<string>刷新</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="saveAction">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_save.png</normaloff>:/img/images/icon_save.png</iconset>
</property>
<property name="text">
<string>保存</string>
</property>
<property name="toolTip">
<string>保存</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="connectAction">
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_connect.png</normaloff>:/img/images/icon_connect.png</iconset>
</property>
<property name="text">
<string>链接</string>
</property>
<property name="toolTip">
<string>链接</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="disconnectAction">
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_disconnect.png</normaloff>:/img/images/icon_disconnect.png</iconset>
</property>
<property name="text">
<string>断开链接</string>
</property>
<property name="toolTip">
<string>断开链接</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
</widget>
<resources>
<include location="../resource/PowerModeler.qrc"/>
</resources>
<connections/>
</ui>