更新说明
|
@ -1,11 +1,6 @@
|
|||
#ifndef ICONHELPER_H
|
||||
#define ICONHELPER_H
|
||||
|
||||
#include <QtGui>
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* 超级图形字体类 作者:feiyangqingyun(QQ:517216493) 2016-11-23
|
||||
* 1. 可传入多种图形字体文件,一个类通用所有图形字体。
|
||||
|
@ -22,6 +17,11 @@
|
|||
* 12. 全局静态方法,接口丰富,使用极其简单方便。
|
||||
*/
|
||||
|
||||
#include <QtGui>
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
#ifdef quc
|
||||
class Q_DECL_EXPORT IconHelper : public QObject
|
||||
#else
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define DEVICEBUTTON_H
|
||||
|
||||
/**
|
||||
* 设备按钮控件 作者:feiyangqingyun(QQ:517216493) 2018-7-2
|
||||
* 设备按钮控件 作者:feiyangqingyun(QQ:517216493) 2018-07-02
|
||||
* 1. 可设置按钮样式 圆形、警察、气泡、气泡2、消息、消息2。
|
||||
* 2. 可设置按钮颜色 布防、撤防、报警、旁路、故障。
|
||||
* 3. 可设置报警切换。
|
||||
|
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 101 KiB |
After Width: | Height: | Size: 287 KiB |
Before Width: | Height: | Size: 424 KiB After Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 384 KiB After Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 417 KiB After Width: | Height: | Size: 263 KiB |
Before Width: | Height: | Size: 276 KiB After Width: | Height: | Size: 272 KiB |
After Width: | Height: | Size: 272 KiB |
After Width: | Height: | Size: 280 KiB |
After Width: | Height: | Size: 237 KiB |
|
@ -61,7 +61,7 @@ private:
|
|||
//存储窗体默认的属性
|
||||
Qt::WindowFlags flags;
|
||||
|
||||
public:
|
||||
public Q_SLOTS:
|
||||
//设置边距+可拖动+可拉伸
|
||||
void setPadding(int padding);
|
||||
void setMoveEnable(bool moveEnable);
|
||||
|
@ -70,7 +70,7 @@ public:
|
|||
//设置标题栏控件
|
||||
void setTitleBar(QWidget *titleBar);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void titleDblClick();
|
||||
void windowStateChange(bool max);
|
||||
};
|
||||
|
|
|
@ -61,7 +61,7 @@ private:
|
|||
//存储窗体默认的属性
|
||||
Qt::WindowFlags flags;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
//设置边距+可拖动+可拉伸
|
||||
void setPadding(int padding);
|
||||
void setMoveEnable(bool moveEnable);
|
||||
|
@ -70,7 +70,7 @@ public slots:
|
|||
//设置标题栏控件
|
||||
void setTitleBar(QWidget *titleBar);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void titleDblClick();
|
||||
void windowStateChange(bool max);
|
||||
};
|
||||
|
|
|
@ -61,7 +61,7 @@ private:
|
|||
//存储窗体默认的属性
|
||||
Qt::WindowFlags flags;
|
||||
|
||||
public:
|
||||
public Q_SLOTS:
|
||||
//设置边距+可拖动+可拉伸
|
||||
void setPadding(int padding);
|
||||
void setMoveEnable(bool moveEnable);
|
||||
|
@ -70,7 +70,7 @@ public:
|
|||
//设置标题栏控件
|
||||
void setTitleBar(QWidget *titleBar);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void titleDblClick();
|
||||
void windowStateChange(bool max);
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define GIFWIDGET_H
|
||||
|
||||
/**
|
||||
* GIF录屏控件 作者:feiyangqingyun(QQ:517216493) 2019-4-3
|
||||
* GIF录屏控件 作者:feiyangqingyun(QQ:517216493) 2019-04-03
|
||||
* 1. 可设置要录制屏幕的宽高,支持右下角直接拉动改变。
|
||||
* 2. 可设置变宽的宽度。
|
||||
* 3. 可设置录屏控件的背景颜色。
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define IPADDRESS_H
|
||||
|
||||
/**
|
||||
* IP地址输入框控件 作者:feiyangqingyun(QQ:517216493) 2017-8-11
|
||||
* IP地址输入框控件 作者:feiyangqingyun(QQ:517216493) 2017-08-11
|
||||
* 1. 可设置IP地址,自动填入框。
|
||||
* 2. 可清空IP地址。
|
||||
* 3. 支持按下小圆点自动切换。
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define TRAYICON_H
|
||||
|
||||
/**
|
||||
* 托盘图标控件 作者:feiyangqingyun(QQ:517216493) 2017-1-8
|
||||
* 托盘图标控件 作者:feiyangqingyun(QQ:517216493) 2017-01-08
|
||||
* 1. 可设置托盘图标对应所属主窗体。
|
||||
* 2. 可设置托盘图标。
|
||||
* 3. 可设置提示信息。
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define MOVEWIDGET_H
|
||||
|
||||
/**
|
||||
* 通用控件移动类 作者:feiyangqingyun(QQ:517216493) 2019-9-28
|
||||
* 通用控件移动类 作者:feiyangqingyun(QQ:517216493) 2019-09-28
|
||||
* 1. 可以指定需要移动的widget。
|
||||
* 2. 可设置是否限定鼠标左键拖动。
|
||||
* 3. 支持任意widget控件。
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#ifndef ICONHELPER_H
|
||||
#define ICONHELPER_H
|
||||
|
||||
#include <QtGui>
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* 超级图形字体类 作者:feiyangqingyun(QQ:517216493) 2016-11-23
|
||||
* 1. 可传入多种图形字体文件,一个类通用所有图形字体。
|
||||
|
@ -22,6 +17,11 @@
|
|||
* 12. 全局静态方法,接口丰富,使用极其简单方便。
|
||||
*/
|
||||
|
||||
#include <QtGui>
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
#ifdef quc
|
||||
class Q_DECL_EXPORT IconHelper : public QObject
|
||||
#else
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define NTPCLIENT_H
|
||||
|
||||
/**
|
||||
* Ntp校时类 作者:feiyangqingyun(QQ:517216493) 2017-2-16
|
||||
* Ntp校时类 作者:feiyangqingyun(QQ:517216493) 2017-02-16
|
||||
* 1. 可设置Ntp服务器IP地址。
|
||||
* 2. 收到时间信号发出。
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
#ifndef SAVELOG_H
|
||||
#define SAVELOG_H
|
||||
|
||||
/**
|
||||
* 日志重定向输出 作者:feiyangqingyun(QQ:517216493) 2016-12-16
|
||||
* 1. 支持动态启动和停止。
|
||||
* 2. 支持日志存储的目录。
|
||||
* 3. 支持网络发出打印日志。
|
||||
* 4. 支持Qt4+Qt5+Qt6,开箱即用。
|
||||
* 5. 支持多线程。
|
||||
* 6. 使用做到最简单,start即可。
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class QFile;
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
#ifndef SAVERUNTIME_H
|
||||
#define SAVERUNTIME_H
|
||||
|
||||
/**
|
||||
* 运行时间记录 作者:feiyangqingyun(QQ:517216493) 2016-12-16
|
||||
* 1. 可以启动和停止服务,在需要的时候启动。
|
||||
* 2. 可以指定日志文件存放目录。
|
||||
* 3. 可以指定时间日志输出间隔。
|
||||
* 4. 可以单独追加一条记录到日志文件。
|
||||
* 5. 日志为文本格式,清晰明了。
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
#include <QDateTime>
|
||||
class QTimer;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define TRAYICON_H
|
||||
|
||||
/**
|
||||
* 托盘图标控件 作者:feiyangqingyun(QQ:517216493) 2017-1-8
|
||||
* 托盘图标控件 作者:feiyangqingyun(QQ:517216493) 2017-01-08
|
||||
* 1. 可设置托盘图标对应所属主窗体。
|
||||
* 2. 可设置托盘图标。
|
||||
* 3. 可设置提示信息。
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define VIDEOPANEL_H
|
||||
|
||||
/**
|
||||
* 视频监控画面控件 整理:feiyangqingyun(QQ:517216493) 2019-4-11
|
||||
* 视频监控画面控件 整理:feiyangqingyun(QQ:517216493) 2019-04-11
|
||||
* 1. 目前颜色都写死在样式表,可自行更改或者拓展属性设置。
|
||||
*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define VIDEOWIDGET_H
|
||||
|
||||
/**
|
||||
* 通用视频播放控件 作者:feiyangqingyun(QQ:517216493) 2018-5-1
|
||||
* 通用视频播放控件 作者:feiyangqingyun(QQ:517216493) 2018-05-01
|
||||
* 1. 可设置边框大小。
|
||||
* 2. 可设置边框颜色。
|
||||
* 3. 可设置两路OSD标签。
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define ZHTOPY_H
|
||||
|
||||
/**
|
||||
* 汉字转拼音类 作者:feiyangqingyun(QQ:517216493) 2019-2-16
|
||||
* 汉字转拼音类 作者:feiyangqingyun(QQ:517216493) 2019-02-16
|
||||
* 1. 汉字转拼音。
|
||||
* 2. 汉字转拼音简拼。
|
||||
* 3. 汉字转拼音首字母。
|
||||
|
|