Files
EZ4Connect/presentation/dialogs/graphcaptchawindow/graphcaptchawindow.ui
2026-08-10 19:04:20 +08:00

89 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GraphCaptchaWindow</class>
<widget class="QDialog" name="GraphCaptchaWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>图形验证码</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="CaptchaCanvas" name="canvas"/>
</item>
<item>
<widget class="QLabel" name="codeLabel">
<property name="text">
<string>请输入图片中的字符验证码:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="codeEdit">
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok|QDialogButtonBox::StandardButton::Reset</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>CaptchaCanvas</class>
<extends>QWidget</extends>
<header>presentation/dialogs/graphcaptchawindow/captchacanvas.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>GraphCaptchaWindow</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>GraphCaptchaWindow</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>