1 Star 0 Fork 0

Albrecht/nddplugin-base64helper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
base64Cfgclass.ui 6.02 KB
一键复制 编辑 原始数据 按行查看 历史
Albrecht 提交于 2023-03-11 13:45 . 添加拖拽图片进行转换
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>base64cfgClassClass</class>
<widget class="QWidget" name="base64cfgClassClass">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>817</width>
<height>607</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>图片文字转base</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetNoConstraint</enum>
</property>
<item row="0" column="0">
<widget class="QWidget" name="contralwidget" native="true">
<widget class="QLabel" name="labImage">
<property name="geometry">
<rect>
<x>0</x>
<y>110</y>
<width>781</width>
<height>235</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>可拖拽图片进入</string>
</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>
<widget class="QTextEdit" name="txtBase64">
<property name="geometry">
<rect>
<x>0</x>
<y>350</y>
<width>781</width>
<height>234</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="btnOpen">
<property name="geometry">
<rect>
<x>416</x>
<y>4</y>
<width>120</width>
<height>29</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>打开文件</string>
</property>
</widget>
<widget class="QPushButton" name="btnImageToBase64">
<property name="geometry">
<rect>
<x>543</x>
<y>4</y>
<width>120</width>
<height>29</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>图片转base64</string>
</property>
</widget>
<widget class="QPushButton" name="btnClear">
<property name="geometry">
<rect>
<x>416</x>
<y>40</y>
<width>120</width>
<height>29</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>清空数据</string>
</property>
</widget>
<widget class="QPushButton" name="btnTextToBase64">
<property name="geometry">
<rect>
<x>543</x>
<y>40</y>
<width>120</width>
<height>29</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>文字转base64</string>
</property>
</widget>
<widget class="QPushButton" name="btnBase64ToImage">
<property name="geometry">
<rect>
<x>670</x>
<y>4</y>
<width>120</width>
<height>29</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>base64转图片</string>
</property>
</widget>
<widget class="QLabel" name="labInfo">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>781</width>
<height>23</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="txtFile">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>391</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="btnBase64ToText">
<property name="geometry">
<rect>
<x>670</x>
<y>40</y>
<width>120</width>
<height>29</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>base64转文字</string>
</property>
</widget>
<widget class="QLineEdit" name="txtText">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>391</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
<slots>
<slot>on_upper()</slot>
<slot>on_lower()</slot>
</slots>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/AlbrechtR/nddplugin-base64helpern.git
[email protected]:AlbrechtR/nddplugin-base64helpern.git
AlbrechtR
nddplugin-base64helpern
nddplugin-base64helper
master

搜索帮助