2025-04-08 20:02:38 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>TextEditWidget</class>
|
|
|
|
|
<widget class="QWidget" name="TextEditWidget">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>204</width>
|
|
|
|
|
<height>94</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>Form</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">QWidget #TextEditWidget
|
|
|
|
|
{
|
|
|
|
|
}</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="QWidget" name="contentWidget" native="true">
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">QWidget #contentWidget
|
|
|
|
|
{
|
2025-06-10 11:22:27 +08:00
|
|
|
border: 1px solid rgb(67, 73, 87);
|
|
|
|
|
background-color: rgb(58, 63, 75);
|
2025-04-08 20:02:38 +08:00
|
|
|
}</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
2025-06-10 11:22:27 +08:00
|
|
|
<number>1</number>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
2025-06-10 11:22:27 +08:00
|
|
|
<number>1</number>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
2025-06-10 11:22:27 +08:00
|
|
|
<number>1</number>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>5</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPlainTextEdit" name="plainTextEdit">
|
|
|
|
|
<property name="focusPolicy">
|
2025-04-11 17:14:17 +08:00
|
|
|
<enum>Qt::FocusPolicy::StrongFocus</enum>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
2025-06-10 11:22:27 +08:00
|
|
|
<string notr="true">border-radius: 0px;
|
|
|
|
|
background-color:transparent;</string>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="bottomWidget" native="true">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>26</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>16777215</width>
|
|
|
|
|
<height>26</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">QWidget #bottomWidget
|
|
|
|
|
{
|
2025-06-10 11:22:27 +08:00
|
|
|
background-color:transparent;
|
|
|
|
|
}
|
|
|
|
|
</string>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
2025-04-11 17:14:17 +08:00
|
|
|
<number>5</number>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>5</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">color: rgb(255, 0, 0);
|
2025-06-10 11:22:27 +08:00
|
|
|
font: 8pt "Microsoft YaHei UI";
|
|
|
|
|
background-color:transparent;</string>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>该类型已存在</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>5</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="btnCancle">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
2025-04-11 17:14:17 +08:00
|
|
|
<width>41</width>
|
|
|
|
|
<height>21</height>
|
2025-04-08 20:02:38 +08:00
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
2025-04-11 17:14:17 +08:00
|
|
|
<width>41</width>
|
|
|
|
|
<height>21</height>
|
2025-04-08 20:02:38 +08:00
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">QPushButton
|
|
|
|
|
{
|
2025-06-10 11:22:27 +08:00
|
|
|
color: rgb(240, 240, 240);
|
|
|
|
|
font: 10pt;
|
|
|
|
|
border-radius:5px;
|
|
|
|
|
background-color: transparent;
|
2025-04-08 20:02:38 +08:00
|
|
|
}
|
2025-06-10 11:22:27 +08:00
|
|
|
|
|
|
|
|
</string>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>取消</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="btnConfirm">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
2025-04-11 17:14:17 +08:00
|
|
|
<width>41</width>
|
|
|
|
|
<height>21</height>
|
2025-04-08 20:02:38 +08:00
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
2025-04-11 17:14:17 +08:00
|
|
|
<width>41</width>
|
|
|
|
|
<height>21</height>
|
2025-04-08 20:02:38 +08:00
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">QPushButton
|
|
|
|
|
{
|
2025-06-10 11:22:27 +08:00
|
|
|
color: rgb(240, 240, 240);
|
2025-04-08 20:02:38 +08:00
|
|
|
font: 10pt;
|
|
|
|
|
border:0px;
|
|
|
|
|
border-radius:5px;
|
2025-06-10 11:22:27 +08:00
|
|
|
background-color: rgb(49, 91, 125);
|
2025-04-08 20:02:38 +08:00
|
|
|
}
|
|
|
|
|
QPushButton:hover
|
|
|
|
|
{
|
2025-06-10 11:22:27 +08:00
|
|
|
background-color: rgb(65, 122, 166);
|
2025-04-08 20:02:38 +08:00
|
|
|
}
|
|
|
|
|
QPushButton:pressed
|
|
|
|
|
{
|
2025-06-10 11:22:27 +08:00
|
|
|
background-color: rgb(49, 91, 125);
|
|
|
|
|
}
|
|
|
|
|
</string>
|
2025-04-08 20:02:38 +08:00
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>确认</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|