当前位置:网站首页>【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
边栏推荐
- Test interview | how much can you answer the real test interview question of an Internet company?
- Monitoring cannot be started after Oracle modifies the computer name
- 【736. Lisp 语法解析】
- Ansible中的inventory主机清单(预祝你我有数不尽的鲜花和浪漫)
- 【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析
- The most complete learning rate adjustment strategy in history LR_ scheduler
- 高手勿进!写给初中级程序员以及还在大学修炼的“准程序员”的成长秘籍
- Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
- STM32 system timer flashing LED
- R language principal component PCA, factor analysis, clustering analysis of regional economy analysis of Chongqing Economic Indicators
猜你喜欢
Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.
【736. Lisp 语法解析】
Dynamically generate tables
U++ 游戏类 学习笔记
IMS data channel concept of 5g vonr+
No experts! Growth secrets for junior and intermediate programmers and "quasi programmers" who are still practicing in Universities
【Android Kotlin协程】利用CoroutineContext实现网络请求失败后重试逻辑
Ansible overview and module explanation (you just passed today, but yesterday came to your face)
Techniques d'utilisation de sublime
JS also exports Excel
随机推荐
如何设计 API 接口,实现统一格式返回?
Inventory host list in ansible (I wish you countless flowers and romance)
App embedded H5 --- iPhone soft keyboard blocks input text
Thread和Runnable创建线程的方式对比
谈谈讲清楚这件事的重要性
vector和类拷贝构造函数
JS input and output
Flask project uses flask socketio exception: typeerror: function() argument 1 must be code, not str
JS also exports Excel
File upload vulnerability summary
How to design API interface and realize unified format return?
Tree map: tree view - draw covid-19 array diagram
U++4 接口 学习笔记
Appium practice | make the test faster, more stable and more reliable (I): slice test
Dynamically generate tables
Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
最全常用高数公式
想要选择一些部门优先使用 OKR, 应该如何选择试点部门?
【愚公系列】2022年7月 Go教学课程 005-变量
STM32F103ZE+SHT30检测环境温度与湿度(IIC模拟时序)