当前位置:网站首页>[QT] custom control loading
[QT] custom control loading
2022-07-07 05:12:00 【GLL_】
【QT】 Custom control -Loading
pro
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = GLoading
TEMPLATE = app
SOURCES += main.cpp\
gloading.cpp
HEADERS += gloading.h
gloading.h
#ifndef GLOADING_H
#define GLOADING_H
#include <QWidget>
#include <QPaintDevice>
#include <QPaintEngine>
#include <QPainter>
#include <QColor>
#include <QPointF>
#include <QTime>
#include <QCoreApplication>
#include <QEventLoop>
class GLoading : public QWidget
{
Q_OBJECT
public:
GLoading(QWidget *parent = 0);
~GLoading();
void DrawCircle(QPointF pointbase,int R,int r,int angle,QColor color);
QPointF pointBase = QPointF(50,50);
QColor color = QColor(29, 130, 254),color2 =QColor(60, 132, 74) ,color3 =QColor(255, 170, 37) ,color4 =QColor(255
边栏推荐
- 《四》表单
- Stm32f103ze+sht30 detection of ambient temperature and humidity (IIC simulation sequence)
- JS 的 try catch finally 中 return 的执行顺序
- Why JSON is used for calls between interfaces, how fastjson is assigned, fastjson 1.2 [email protected] Mapping relatio
- Knapsack problem (01 knapsack, complete knapsack, dynamic programming)
- Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
- 【二叉树】二叉树寻路
- Ansible中的inventory主机清单(预祝你我有数不尽的鲜花和浪漫)
- 最全常用高数公式
- Mysql database (basic)
猜你喜欢
Salesforce 容器化 ISV 场景下的软件供应链安全落地实践
Dynamically generate tables
Auto.js 获取手机所有app名字
How to choose an offer and what factors should be considered
Ansible reports an error: "MSG": "invalid/incorrect password: permission denied, please try again“
SQL injection HTTP header injection
No experts! Growth secrets for junior and intermediate programmers and "quasi programmers" who are still practicing in Universities
sublime使用技巧
动态生成表格
- [email protected]映射关系问题"/>
接口间调用为什么要用json、fastjson怎么赋值的、fastjson [email protected]映射关系问题
随机推荐
DBSync新增对MongoDB、ES的支持
Weebly mobile website editor mobile browsing New Era
ThinkPHP关联预载入with
局部变量的数组初始化问题
Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
Flask project uses flask socketio exception: typeerror: function() argument 1 must be code, not str
PLC Analog output analog output FB analog2nda (Mitsubishi FX3U)
JS 的 try catch finally 中 return 的执行顺序
App embedded H5 --- iPhone soft keyboard blocks input text
想要选择一些部门优先使用 OKR, 应该如何选择试点部门?
qt 简单布局 盒子模型 加弹簧
JS variable plus
ServiceMesh主要解决的三大痛点
使用Thread类和Runnable接口实现多线程的区别
SQL injection cookie injection
Liste des hôtes d'inventaire dans ansible (je vous souhaite des fleurs et de la romance sans fin)
3.基金的类型
File upload vulnerability summary
pmp真的有用吗?
Ansible概述和模块解释(你刚走过了今天,而扑面而来的却是昨天)