Files
2026-07-10 11:44:25 +08:00

215 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ItemEditor</class>
<widget class="QWidget" name="ItemEditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>800</width>
<height>550</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>800</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item row="1" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="generalSettingsTab">
<attribute name="title">
<string>整体设置</string>
</attribute>
</widget>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QWidget" name="widget" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<widget class="QPushButton" name="okBtn">
<property name="geometry">
<rect>
<x>580</x>
<y>0</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>62</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>40</height>
</size>
</property>
<property name="font">
<font>
<family>Ubuntu</family>
<pointsize>25</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background-color: #E6F7FF;
border: 1px solid #87CEEB;
border-radius: 4px;
min-width: 60px;
font-family: &quot;Ubuntu&quot;;
color: #228B22;
}
QPushButton:hover {
background-color: #D1E9FF;
}
QPushButton:pressed {
background-color: #BAE7FF;
}</string>
</property>
<property name="text">
<string>✓</string>
</property>
</widget>
<widget class="QPushButton" name="closeBtn">
<property name="geometry">
<rect>
<x>690</x>
<y>0</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>40</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"> QPushButton {
background-color: #E6F7FF;
border: 1px solid #87CEEB;
border-radius: 4px;
font-size: 24px;
color: #228B22;
}
QPushButton:hover {
background-color: #D1E9FF;
}
QPushButton:pressed {
background-color: #BAE7FF;
}</string>
</property>
<property name="text">
<string>✕</string>
</property>
</widget>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QWidget" name="titlePanel" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color:#4E679F;</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="image.qrc"/>
</resources>
<connections>
<connection>
<sender>okBtn</sender>
<signal>clicked()</signal>
<receiver>ItemEditor</receiver>
<slot>onOkBtnClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>680</x>
<y>578</y>
</hint>
<hint type="destinationlabel">
<x>671</x>
<y>631</y>
</hint>
</hints>
</connection>
<connection>
<sender>closeBtn</sender>
<signal>clicked()</signal>
<receiver>ItemEditor</receiver>
<slot>onCloseBtnClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>740</x>
<y>571</y>
</hint>
<hint type="destinationlabel">
<x>745</x>
<y>647</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onOkBtnClicked()</slot>
<slot>onCloseBtnClicked()</slot>
<slot>onBoldSpinBoxValueChanged(int)</slot>
<slot>onLetterSpaceSpinBoxChanged(int)</slot>
<slot>onColorReversalCheckBoxChecked(bool)</slot>
</slots>
</ui>