当前位置:网站首页>【QT】自定义控件-Loading
【QT】自定义控件-Loading
2022-07-06 22:59:00 【GLL_】
【QT】自定义控件-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边栏推荐
- Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.
- 3GPP信道模型路损基础知识
- Redis如何实现多可用区?
- If you‘re running pod install manually, make sure flutter pub get is executed first.
- Function pointer and pointer function in C language
- 第一篇论文的写作流程
- JS variable
- 【愚公系列】2022年7月 Go教学课程 005-变量
- 【Android Kotlin协程】利用CoroutineContext实现网络请求失败后重试逻辑
- Field data acquisition and edge calculation scheme of CNC machine tools
猜你喜欢

No experts! Growth secrets for junior and intermediate programmers and "quasi programmers" who are still practicing in Universities
![[Android kotlin collaboration] use coroutinecontext to realize the retry logic after a network request fails](/img/e0/04f06d464e77012fbfc919e07cbb66.png)
[Android kotlin collaboration] use coroutinecontext to realize the retry logic after a network request fails

Pointer and array are input in function to realize reverse order output

Section 1: (3) logic chip process substrate selection

When knative meets webassembly

【愚公系列】2022年7月 Go教学课程 005-变量

sublime使用技巧

Oracle - views and sequences

当 Knative 遇见 WebAssembly

Ansible报错:“msg“: “Invalid/incorrect password: Permission denied, please try again.“
随机推荐
使用Thread类和Runnable接口实现多线程的区别
[Yugong series] go teaching course 005 variables in July 2022
Thread和Runnable创建线程的方式对比
Leetcode notes
谈谈讲清楚这件事的重要性
Ansible reports an error: "MSG": "invalid/incorrect password: permission denied, please try again“
一个酷酷的“幽灵”控制台工具
Error: No named parameter with the name ‘foregroundColor‘
Salesforce 容器化 ISV 场景下的软件供应链安全落地实践
《二》标签
Code source de la fonction [analogique numérique] MATLAB allcycles () (non disponible avant 2021a)
Batch normalization (Standardization) processing
3.基金的类型
CentOS 7.9安装Oracle 21c历险记
Leetcode(46)——全排列
Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
AttributeError: module ‘torch._ C‘ has no attribute ‘_ cuda_ setDevice‘
STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建
torch optimizer小解析
A simple and beautiful regression table is produced in one line of code~