140 lines
3.5 KiB
Plaintext
140 lines
3.5 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>frmBase64Helper</class>
|
||
|
<widget class="QWidget" name="frmBase64Helper">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>800</width>
|
||
|
<height>600</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Widget</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLineEdit" name="txtFile">
|
||
|
<property name="text">
|
||
|
<string>E:/myFile/美女图片/2.jpg</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QPushButton" name="btnOpen">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>120</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>打开文件</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="2">
|
||
|
<widget class="QPushButton" name="btnImageToBase64">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>120</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>图片转base64</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="3">
|
||
|
<widget class="QPushButton" name="btnBase64ToImage">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>120</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>base64转图片</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLineEdit" name="txtText">
|
||
|
<property name="text">
|
||
|
<string>游龙 feiyangqingyun QQ: 517216493</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QPushButton" name="btnClear">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>120</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>清空数据</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="2">
|
||
|
<widget class="QPushButton" name="btnTextToBase64">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>120</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>文字转base64</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="3">
|
||
|
<widget class="QPushButton" name="btnBase64ToText">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>120</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>base64转文字</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0" colspan="4">
|
||
|
<widget class="QLabel" name="labImage">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::Box</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Sunken</enum>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="0" colspan="4">
|
||
|
<widget class="QTextEdit" name="txtBase64"/>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<layoutdefault spacing="6" margin="11"/>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|