PowerModeler/ui/textEditWidget.ui

215 lines
5.6 KiB
Plaintext
Raw Normal View History

<?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
{
border: 1px solid rgb(205,205,205);
background-color:rgb(255,255,255);
}</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
{
border: 1px solid rgb(205,205,205);
background-color:rgb(255,255,255);
}</string>
</property>
<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>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>
</property>
<property name="styleSheet">
<string notr="true">background-color: transparent;
border:0px;
padding:2px;</string>
</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
{
background-color: transparent;
}</string>
</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>
</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);
font: 8pt &quot;Microsoft YaHei UI&quot;;</string>
</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>
</size>
</property>
<property name="maximumSize">
<size>
2025-04-11 17:14:17 +08:00
<width>41</width>
<height>21</height>
</size>
</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);
}</string>
</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>
</size>
</property>
<property name="maximumSize">
<size>
2025-04-11 17:14:17 +08:00
<width>41</width>
<height>21</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
color: rgb(250, 250, 250);
font: 10pt;
border:0px;
border-radius:5px;
background-color:rgb(67,160,249);
}
QPushButton:hover
{
background-color:rgb(55,131,204);
}
QPushButton:pressed
{
background-color:rgb(67,160,249);
}</string>
</property>
<property name="text">
<string>确认</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>