当前位置:网站首页>【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
边栏推荐
- In depth analysis of kubebuilder
- 《五》表格
- MySQL数据库(基础篇)
- Ansible reports an error: "MSG": "invalid/incorrect password: permission denied, please try again“
- 01 machine learning related regulations
- 高数中值定理总结
- Local tool [Navicat] connects to remote [MySQL] operation
- 2. Overview of securities investment funds
- C语言中函数指针与指针函数
- Leetcode notes
猜你喜欢
[Android kotlin collaboration] use coroutinecontext to realize the retry logic after a network request fails
Monitoring cannot be started after Oracle modifies the computer name
JS also exports Excel
【愚公系列】2022年7月 Go教学课程 005-变量
Sublime tips
《五》表格
01 machine learning related regulations
Why do many people misunderstand technical debt
Leetcode(46)——全排列
《二》标签
随机推荐
The execution order of return in JS' try catch finally
Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
【最佳网页宽度及其实现】「建议收藏」
Canteen user dish relationship system (C language course design)
记录一次压测经验总结
JS also exports Excel
Batch normalization (Standardization) processing
3. Type of fund
[736. LISP syntax parsing]
JS variable
U++ 元数据说明符 学习笔记
File upload vulnerability summary
Gavin teacher's perception of transformer live class - rasa project actual combat e-commerce retail customer service intelligent business dialogue robot microservice code analysis and dialogue experim
Error: No named parameter with the name ‘foregroundColor‘
How to design API interface and realize unified format return?
装饰器基础学习02
《四》表单
Understand common network i/o models
指针与数组在函数中输入实现逆序输出
Field data acquisition and edge calculation scheme of CNC machine tools