新增运行截图
35
README.md
|
@ -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)
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Before Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 227 KiB |
Before Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 224 KiB |
Before Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 243 KiB |
After Width: | Height: | Size: 3.1 MiB |
After Width: | Height: | Size: 428 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 545 KiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 223 KiB |
After Width: | Height: | Size: 412 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 667 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 226 KiB |
After Width: | Height: | Size: 131 KiB |
After Width: | Height: | Size: 638 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 840 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 186 KiB |
After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
@ -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
|