更新代码

master
feiyangqingyun 2021-11-25 09:50:47 +08:00
parent 714282238a
commit 8ef09c237a
51 changed files with 78 additions and 54 deletions

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmBattery w;
w.setWindowTitle("电池电量控件");
w.setWindowTitle("电池电量控件 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmDeviceButton w;
w.setWindowTitle("设备按钮控件");
w.setWindowTitle("设备按钮控件 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmDeviceSizeTable w;
w.setWindowTitle("磁盘容量");
w.setWindowTitle("磁盘容量 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmImageSwitch w;
w.setWindowTitle("图片背景开关");
w.setWindowTitle("图片背景开关 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -22,6 +22,7 @@ int main(int argc, char *argv[])
#endif
frmIPAddress w;
w.setWindowTitle("IP地址控件 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmLightButton w;
w.setWindowTitle("高亮发光按钮");
w.setWindowTitle("高亮发光按钮 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmNavButton w;
w.setWindowTitle("导航按钮控件");
w.setWindowTitle("导航按钮控件 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmSmoothCurve w;
w.setWindowTitle("平滑曲线");
w.setWindowTitle("平滑曲线 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmZhToPY w;
w.setWindowTitle("汉字转拼音");
w.setWindowTitle("汉字转拼音 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -1,10 +1,14 @@
#pragma execution_character_set("utf-8")
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.setWindowTitle("异形窗体 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -10,9 +10,6 @@
<height>353</height>
</rect>
</property>
<property name="windowTitle">
<string>Widget</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>

View File

@ -36,7 +36,7 @@ int main(int argc, char *argv[])
}
frmDbPage w;
w.setWindowTitle("数据库分页示例(作者:517216493)");
w.setWindowTitle("数据库分页示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -1,10 +1,14 @@
#pragma execution_character_set("utf-8")
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.setWindowTitle("Echart图表JS交互示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -10,9 +10,6 @@
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>Echart图表JS交互示例</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QWidget" name="widget" native="true">

View File

@ -1,10 +1,14 @@
#pragma execution_character_set("utf-8")
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.setWindowTitle("回车自动跳转 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -10,9 +10,6 @@
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>回车自动跳转</string>
</property>
<widget class="QLineEdit" name="lineEdit1">
<property name="geometry">
<rect>

View File

@ -1,10 +1,14 @@
#pragma execution_character_set("utf-8")
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.setWindowTitle("鼠标十字线 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>鼠标十字线</string>
<string/>
</property>
</widget>
<layoutdefault spacing="6" margin="11"/>

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmNtpClient w;
w.setWindowTitle("Ntp校时");
w.setWindowTitle("Ntp校时 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmTrayIcon w;
w.setWindowTitle("托盘图标");
w.setWindowTitle("托盘图标 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -1,10 +1,15 @@
#include "frmhotkey.h"
#pragma execution_character_set("utf-8")
#include "frmhotkey.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
frmHotKey w;
w.setWindowTitle("全局热键示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();
}

View File

@ -1,10 +1,15 @@
#include "widget.h"
#pragma execution_character_set("utf-8")
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.setWindowTitle("miniblink使用示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();
}

View File

@ -10,9 +10,6 @@
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>miniblink使用示例</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QWidget" name="widget" native="true">

View File

@ -1,4 +1,6 @@
#include "frmmain.h"
#pragma execution_character_set("utf-8")
#include "frmmain.h"
#include "qapplication.h"
int main(int argc, char *argv[])
@ -6,7 +8,7 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
frmMain w;
w.setWindowTitle("qwtdemo");
w.setWindowTitle("qwt无插件示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -1,10 +1,15 @@
#include "frmshortcut.h"
#pragma execution_character_set("utf-8")
#include "frmshortcut.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
frmShortCut w;
w.setWindowTitle("全局热键示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();
}

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmBase64Helper w;
w.setWindowTitle("图片文字base64编码互换");
w.setWindowTitle("图片文字base64编码互换 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmCountCode w;
w.setWindowTitle("代码行数统计");
w.setWindowTitle("代码行数统计 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -27,7 +27,7 @@ int main(int argc, char *argv[])
AppKey::Instance()->start();
frmMain w;
w.setWindowTitle("密钥使用示例");
w.setWindowTitle("密钥使用示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -23,7 +23,7 @@ int main(int argc, char *argv[])
#endif
frmMain w;
w.setWindowTitle("密钥生成工具");
w.setWindowTitle("密钥生成工具 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -27,7 +27,7 @@ int main(int argc, char *argv[])
AppLive::Instance()->start(6666);
frmMain w;
w.setWindowTitle("守护程序使用示例");
w.setWindowTitle("守护程序使用示例 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -25,7 +25,7 @@ int main(int argc, char *argv[])
#endif
frmMain w;
w.setWindowTitle("程序启动器");
w.setWindowTitle("程序启动器 (QQ: 517216493 WX: feiyangqingyun)");
w.setFixedSize(w.sizeHint());
//启动托盘类

View File

@ -1,10 +1,14 @@
#pragma execution_character_set("utf-8")
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.setWindowTitle("存款计算器 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmPngTool w;
w.setWindowTitle("PNG图片警告去除工具");
w.setWindowTitle("PNG图片警告去除工具 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmFlatUI w;
w.setWindowTitle("FlatUI控件集合");
w.setWindowTitle("FlatUI控件集合 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -16,8 +16,6 @@ frmMain::~frmMain()
void frmMain::initForm()
{
this->setWindowTitle("九宫格主界面");
bg = "main2.jpg";
QList<QToolButton *> btns = this->findChildren<QToolButton *>();

View File

@ -26,6 +26,7 @@ int main(int argc, char *argv[])
}
frmMain w;
w.setWindowTitle("九宫格主界面 (QQ: 517216493 WX: feiyangqingyun)");
QUIHelper::setFormInCenter(&w);
w.show();

View File

@ -17,8 +17,6 @@ frmMain::~frmMain()
void frmMain::initForm()
{
this->setWindowTitle("metro风格主界面");
int iconSize = 50;
int iconWidth = 100;
int iconHeight = 80;

View File

@ -16,6 +16,7 @@ int main(int argc, char *argv[])
QUIHelper::setCode();
frmMain w;
w.setWindowTitle("metro风格主界面 (QQ: 517216493 WX: feiyangqingyun)");
QUIHelper::setFormInCenter(&w);
w.show();

View File

@ -30,7 +30,7 @@ int main(int argc, char *argv[])
#endif
Widget w;
w.setWindowTitle("视频流播放ffmpeg内核 (QQ: 517216493)");
w.setWindowTitle("视频流播放ffmpeg内核 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -27,7 +27,7 @@ int main(int argc, char *argv[])
#endif
Widget w;
w.setWindowTitle("视频流播放mpv内核 (QQ: 517216493)");
w.setWindowTitle("视频流播放mpv内核 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -27,7 +27,7 @@ int main(int argc, char *argv[])
#endif
Widget w;
w.setWindowTitle("视频流播放vlc内核 (QQ: 517216493)");
w.setWindowTitle("视频流播放vlc内核 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmVideoBox w;
w.setWindowTitle("视频监控布局");
w.setWindowTitle("视频监控布局(QQ: 517216493 WX: feiyangqingyun)");
w.resize(800, 600);
w.show();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmVideoPanel w;
w.setWindowTitle("视频监控画面");
w.setWindowTitle("视频监控画面 (QQ: 517216493 WX: feiyangqingyun)");
w.resize(800, 600);
w.show();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmVideoWidget w;
w.setWindowTitle("视频监控控件");
w.setWindowTitle("视频监控控件 (QQ: 517216493 WX: feiyangqingyun)");
w.resize(800, 600);
w.show();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmColorWidget w;
w.setWindowTitle("屏幕拾色器");
w.setWindowTitle("屏幕拾色器 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -27,7 +27,7 @@ int main(int argc, char *argv[])
#endif
frmFramelessWidget w;
w.setWindowTitle("无边框窗体");
w.setWindowTitle("无边框窗体 (QQ: 517216493 WX: feiyangqingyun)");
w.resize(800, 600);
w.show();

View File

@ -30,7 +30,7 @@ int main(int argc, char *argv[])
#endif
frmGifWidget w;
w.setWindowTitle("GIF录屏");
w.setWindowTitle("GIF录屏 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmLunarCalendarWidget w;
w.setWindowTitle("农历控件");
w.setWindowTitle("农历控件 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmMaskWidget w;
w.setWindowTitle("遮罩层窗体");
w.setWindowTitle("遮罩层窗体 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -24,7 +24,7 @@ int main(int argc, char *argv[])
#endif
frmMoveWidget w;
w.setWindowTitle("通用移动类");
w.setWindowTitle("通用移动类 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();

View File

@ -28,7 +28,7 @@ int main(int argc, char *argv[])
#endif
frmScreenWidget w;
w.setWindowTitle("屏幕截图");
w.setWindowTitle("屏幕截图 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
return a.exec();