qt/LedOK/LoUIClass/louimsgboxokcancel.ui

201 lines
5.1 KiB
Plaintext
Raw Normal View History

2022-01-04 18:11:48 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LoUIMsgBoxOkCancel</class>
<widget class="QDialog" name="LoUIMsgBoxOkCancel">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>327</width>
<height>85</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</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>0</number>
</property>
<item>
<widget class="QFrame" name="frame">
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(207, 207, 207);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0">
<property name="spacing">
<number>12</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="leftMargin">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="lIcon">
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">image: url(:/res/Warning.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lInfo">
<property name="minimumSize">
<size>
<width>250</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>250</width>
<height>32</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="inputMethodHints">
<set>Qt::ImhMultiLine</set>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0,0,1">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="bnOK">
<property name="text">
<string>OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bnCancel">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>bnOK</sender>
<signal>clicked()</signal>
<receiver>LoUIMsgBoxOkCancel</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>123</x>
<y>62</y>
</hint>
<hint type="destinationlabel">
<x>163</x>
<y>42</y>
</hint>
</hints>
</connection>
<connection>
<sender>bnCancel</sender>
<signal>clicked()</signal>
<receiver>LoUIMsgBoxOkCancel</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>204</x>
<y>62</y>
</hint>
<hint type="destinationlabel">
<x>163</x>
<y>42</y>
</hint>
</hints>
</connection>
</connections>
</ui>