208 lines
5.0 KiB
XML
208 lines
5.0 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="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>
|
|
<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>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>567</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="okBtn">
|
|
<property name="minimumSize">
|
|
<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;
|
|
min-width: 60px;
|
|
min-height: 40px;
|
|
font-size: 36px;
|
|
font-family: "Ubuntu";
|
|
color: #228B22;
|
|
}
|
|
QPushButton:hover {
|
|
background-color: #D1E9FF;
|
|
}
|
|
QPushButton:pressed {
|
|
background-color: #BAE7FF;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>✓</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="closeBtn">
|
|
<property name="minimumSize">
|
|
<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>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<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>
|
|
</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>
|