当前位置:网站首页>[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边栏推荐
- Knapsack problem (01 knapsack, complete knapsack, dynamic programming)
- Longest common subsequence (LCS) (dynamic programming, recursive)
- PLC模拟量输出 模拟量输出FB analog2NDA(三菱FX3U)
- Leetcode(46)——全排列
- Dynamically generate tables
- JS variable case
- Markdown editor
- Error: No named parameter with the name ‘foregroundColor‘
- The execution order of return in JS' try catch finally
- When knative meets webassembly
猜你喜欢

一个酷酷的“幽灵”控制台工具

Techniques d'utilisation de sublime

Weebly移动端网站编辑器 手机浏览新时代

基于Bevy游戏引擎和FPGA的双人游戏

Time complexity & space complexity

Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str

01 machine learning related regulations

How to choose an offer and what factors should be considered
[email protected] Mapping relatio"/>Why JSON is used for calls between interfaces, how fastjson is assigned, fastjson 1.2 [email protected] Mapping relatio

为什么很多人对技术债务产生误解
随机推荐
批量归一化(标准化)处理
U++ metadata specifier learning notes
Function pointer and pointer function in C language
vector和类拷贝构造函数
Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析
torch optimizer小解析
Ansible中的inventory主機清單(預祝你我有數不盡的鮮花和浪漫)
STM32F103实现IAP在线升级应用程序
Talk about the importance of making it clear
U++ 元数据说明符 学习笔记
高手勿进!写给初中级程序员以及还在大学修炼的“准程序员”的成长秘籍
How to choose an offer and what factors should be considered
第一篇论文的写作流程
Array initialization of local variables
线程同步的两个方法
01 machine learning related regulations
App embedded H5 --- iPhone soft keyboard blocks input text
sublime使用技巧
The most complete learning rate adjustment strategy in history LR_ scheduler