|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 293 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 110 KiB |
@ -0,0 +1,9 @@
|
||||
HEADERS += \
|
||||
$$PWD/qextserialport.h \
|
||||
$$PWD/qextserialport_global.h \
|
||||
$$PWD/qextserialport_p.h
|
||||
|
||||
SOURCES += $$PWD/qextserialport.cpp
|
||||
|
||||
win32:SOURCES += $$PWD/qextserialport_win.cpp
|
||||
unix:SOURCES += $$PWD/qextserialport_unix.cpp
|
||||
@ -0,0 +1,28 @@
|
||||
HEADERS += \
|
||||
$$PWD/emailaddress.h \
|
||||
$$PWD/mimeattachment.h \
|
||||
$$PWD/mimecontentformatter.h \
|
||||
$$PWD/mimefile.h \
|
||||
$$PWD/mimehtml.h \
|
||||
$$PWD/mimeinlinefile.h \
|
||||
$$PWD/mimemessage.h \
|
||||
$$PWD/mimemultipart.h \
|
||||
$$PWD/mimepart.h \
|
||||
$$PWD/mimetext.h \
|
||||
$$PWD/quotedprintable.h \
|
||||
$$PWD/smtpclient.h \
|
||||
$$PWD/smtpmime.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/emailaddress.cpp \
|
||||
$$PWD/mimeattachment.cpp \
|
||||
$$PWD/mimecontentformatter.cpp \
|
||||
$$PWD/mimefile.cpp \
|
||||
$$PWD/mimehtml.cpp \
|
||||
$$PWD/mimeinlinefile.cpp \
|
||||
$$PWD/mimemessage.cpp \
|
||||
$$PWD/mimemultipart.cpp \
|
||||
$$PWD/mimepart.cpp \
|
||||
$$PWD/mimetext.cpp \
|
||||
$$PWD/quotedprintable.cpp \
|
||||
$$PWD/smtpclient.cpp
|
||||
@ -0,0 +1,19 @@
|
||||
QT += core gui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||||
|
||||
TARGET = base64helper
|
||||
TEMPLATE = app
|
||||
DESTDIR = $$PWD/../bin
|
||||
CONFIG += warn_off
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
SOURCES += frmbase64helper.cpp
|
||||
SOURCES += base64helper.cpp
|
||||
|
||||
HEADERS += frmbase64helper.h
|
||||
HEADERS += base64helper.h
|
||||
|
||||
FORMS += frmbase64helper.ui
|
||||
|
||||
@ -0,0 +1,163 @@
|
||||
<?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">
|
||||
<widget class="QLabel" name="labInfo">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Box</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Sunken</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" 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="4" column="0" colspan="4">
|
||||
<widget class="QTextEdit" name="txtBase64"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<tabstops>
|
||||
<tabstop>txtFile</tabstop>
|
||||
<tabstop>txtText</tabstop>
|
||||
<tabstop>btnOpen</tabstop>
|
||||
<tabstop>btnClear</tabstop>
|
||||
<tabstop>btnImageToBase64</tabstop>
|
||||
<tabstop>btnBase64ToImage</tabstop>
|
||||
<tabstop>btnTextToBase64</tabstop>
|
||||
<tabstop>btnBase64ToText</tabstop>
|
||||
<tabstop>txtBase64</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@ -0,0 +1,22 @@
|
||||
[ComConfig]
|
||||
PortName=COM1
|
||||
BaudRate=9600
|
||||
DataBit=8
|
||||
Parity=\x65e0
|
||||
StopBit=1
|
||||
HexSend=false
|
||||
HexReceive=false
|
||||
Debug=false
|
||||
AutoClear=false
|
||||
AutoSend=false
|
||||
SendInterval=1000
|
||||
AutoSave=false
|
||||
SaveInterval=5000
|
||||
|
||||
[NetConfig]
|
||||
Mode=Tcp_Client
|
||||
ServerIP=127.0.0.1
|
||||
ServerPort=6000
|
||||
ListenPort=6000
|
||||
SleepTime=100
|
||||
AutoConnect=false
|
||||
@ -0,0 +1,11 @@
|
||||
HEADERS += \
|
||||
$$PWD/appconfig.h \
|
||||
$$PWD/appdata.h \
|
||||
$$PWD/qthelper.h \
|
||||
$$PWD/qthelperdata.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/appconfig.cpp \
|
||||
$$PWD/appdata.cpp \
|
||||
$$PWD/qthelper.cpp \
|
||||
$$PWD/qthelperdata.cpp
|
||||
@ -0,0 +1,23 @@
|
||||
QT += core gui network
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||||
|
||||
TARGET = comtool
|
||||
TEMPLATE = app
|
||||
DESTDIR = $$PWD/../bin
|
||||
RC_FILE = qrc/main.rc
|
||||
|
||||
HEADERS += head.h
|
||||
SOURCES += main.cpp
|
||||
RESOURCES += qrc/main.qrc
|
||||
CONFIG += warn_off
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += $$PWD/api
|
||||
INCLUDEPATH += $$PWD/form
|
||||
|
||||
include ($$PWD/api/api.pri)
|
||||
include ($$PWD/form/form.pri)
|
||||
|
||||
INCLUDEPATH += $$PWD/../3rd_qextserialport
|
||||
include ($$PWD/../3rd_qextserialport/3rd_qextserialport.pri)
|
||||