PowerModeler/ui/textEditWidget.ui

211 lines
5.5 KiB
XML

<?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
{
border: 1px solid rgb(67, 73, 87);
background-color: rgb(58, 63, 75);
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="focusPolicy">
<enum>Qt::FocusPolicy::StrongFocus</enum>
</property>
<property name="styleSheet">
<string notr="true">border-radius: 0px;
background-color:transparent;</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">
<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;;
background-color:transparent;</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>
<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">QPushButton
{
color: rgb(240, 240, 240);
font: 10pt;
border-radius:5px;
background-color: transparent;
}
</string>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnConfirm">
<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">QPushButton
{
color: rgb(240, 240, 240);
font: 10pt;
border:0px;
border-radius:5px;
background-color: rgb(49, 91, 125);
}
QPushButton:hover
{
background-color: rgb(65, 122, 166);
}
QPushButton:pressed
{
background-color: rgb(49, 91, 125);
}
</string>
</property>
<property name="text">
<string>确认</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>