当前位置:网站首页>【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
边栏推荐
- Monitoring cannot be started after Oracle modifies the computer name
- 使用Thread类和Runnable接口实现多线程的区别
- Batch normalization (Standardization) processing
- [practice leads to truth] is the introduction of import and require really the same as what is said on the Internet
- A simple and beautiful regression table is produced in one line of code~
- [digital analog] source code of MATLAB allcycles() function (not available before 2021a)
- [hand torn STL] list
- CentOS 7.9安装Oracle 21c历险记
- STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建
- npm ERR! 400 Bad Request - PUT xxx - “devDependencies“ dep “xx“ is not a valid dependency name
猜你喜欢
Read of shell internal value command
Windows are not cheap things
C语言中函数指针与指针函数
【愚公系列】2022年7月 Go教学课程 005-变量
Common Oracle SQL statements
Oracle - views and sequences
U++ 游戏类 学习笔记
How to package the parsed Excel data into objects and write this object set into the database?
使用知云阅读器翻译统计遗传学书籍
Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
随机推荐
第一篇论文的写作流程
leetcode 53. Maximum subarray maximum subarray sum (medium)
2. Overview of securities investment funds
Common Oracle SQL statements
3GPP信道模型路损基础知识
[736. LISP syntax parsing]
R language principal component PCA, factor analysis, clustering analysis of regional economy analysis of Chongqing Economic Indicators
STM32F103 realize IAP online upgrade application
Can I specify a path in an attribute to map a property in my class to a child property in my JSON?
A simple and beautiful regression table is produced in one line of code~
Ansible reports an error: "MSG": "invalid/incorrect password: permission denied, please try again“
Clickhouse (03) how to install and deploy Clickhouse
[digital analog] source code of MATLAB allcycles() function (not available before 2021a)
[Yugong series] go teaching course 005 variables in July 2022
Error: No named parameter with the name ‘foregroundColor‘
【Android Kotlin协程】利用CoroutineContext实现网络请求失败后重试逻辑
Dynamically generate tables
JS variable case output user name
JDBC link Oracle reference code
STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建