新增运行截图

master
feiyangqingyun 2019-11-30 14:27:10 +08:00
parent 28c7f74e73
commit 847355b4ae
99 changed files with 52 additions and 23 deletions

View File

@ -11,7 +11,7 @@
| 8 | devicesizetable | 硬盘容量控件 |
| 9 | styledemo | 高仿PS黑色+扁平白色+淡蓝色风格主题 |
| 10 | navbutton | 导航按钮控件 |
| 11 | video_splite | 视频监控画面分割demo |
| 11 | videopanel | 视频监控画面分割demo |
| 12 | framelesswidget | 通用无边框拖动拉伸类 |
| 13 | ipaddress | IP地址输入控件 |
| 14 | bgdemo | 无边框背景透明窗体 |
@ -27,5 +27,34 @@
| 24 | qwtdemo | qwt的源码版本无需插件直接源码集成到你的项目即可 |
| 25 | buttondefence | 通用按钮地图效果 |
| 26 | mouseline | 鼠标定位十字线 |
| 27 | email | 邮件发送工具 |
| 27 | ntpclient | NTP服务器时间同步 |
| 27 | emailtool | 邮件发送工具 |
| 28 | ntpclient | NTP服务器时间同步 |
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/lightbutton.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/movewidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/flatui.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/countcode.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/gifwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/comtool.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/nettool.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/devicesizetable.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/styledemo_psblack.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/styledemo_lightblue.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/styledemo_flatwhite.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/navbutton.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/videopanel.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/framelesswidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/ipaddress.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/bgdemo.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/dbpage.png)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/pngtool.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/colorwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/maskwidget.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/battery.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/lineeditnext.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/zhtopy.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/qwtdemo.jpg)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/buttondefence.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/mouseline.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/emailtool.gif)
![avatar](https://gitee.com/feiyangqingyun/QWidgetDemo/raw/master/snap/ntpclient.gif)

View File

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 171 KiB

View File

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB

View File

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 158 KiB

View File

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1,9 +1,9 @@
<RCC>
<qresource prefix="/">
<file>1.png</file>
<file>2.png</file>
<file>3.png</file>
<file>4.png</file>
<file>5.png</file>
<file>image/1.png</file>
<file>image/2.png</file>
<file>image/3.png</file>
<file>image/4.png</file>
<file>image/5.png</file>
</qresource>
</RCC>

View File

@ -10,7 +10,7 @@ Widget::Widget(QWidget *parent) : QWidget(parent), ui(new Ui::Widget)
this->setAttribute(Qt::WA_TranslucentBackground);
this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowSystemMenuHint | Qt::WindowMinimizeButtonHint);
ui->widget->installEventFilter(this);
ui->widget->setStyleSheet(QString("background-image: url(:/%1.png);").arg(1));
ui->widget->setStyleSheet(QString("background-image:url(:/image/%1.png);").arg(1));
}
Widget::~Widget()
@ -36,7 +36,7 @@ bool Widget::eventFilter(QObject *watched, QEvent *evt)
index++;
}
ui->widget->setStyleSheet(QString("background-image: url(:/%1.png);").arg(index));
ui->widget->setStyleSheet(QString("background-image:url(:/image/%1.png);").arg(index));
return true;
} else {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

BIN
snap/battery.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
snap/bgdemo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
snap/buttondefence.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

BIN
snap/colorwidget.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

BIN
snap/comtool.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
snap/countcode.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 KiB

View File

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 99 KiB

BIN
snap/devicesizetable.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

Before

Width:  |  Height:  |  Size: 223 KiB

After

Width:  |  Height:  |  Size: 223 KiB

BIN
snap/framelesswidget.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

BIN
snap/gifwidget.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
snap/ipaddress.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
snap/lightbutton.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
snap/lineeditnext.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
snap/maskwidget.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 KiB

BIN
snap/mouseline.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
snap/movewidget.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

BIN
snap/navbutton.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

BIN
snap/nettool.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 KiB

BIN
snap/ntpclient.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
snap/pngtool.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 KiB

BIN
snap/qwtdemo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
snap/styledemo_psblack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
snap/videopanel.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

BIN
snap/zhtopy.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -8,7 +8,7 @@ QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = video_splite
TARGET = videopanel
TEMPLATE = app
MOC_DIR = temp/moc
RCC_DIR = temp/rcc