当前位置:网站首页>[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
边栏推荐
- c语言神经网络基本代码大全及其含义
- Analysis -- MySQL statement execution process & MySQL architecture
- U++ metadata specifier learning notes
- Monitoring cannot be started after Oracle modifies the computer name
- 线程同步的两个方法
- 装饰器基础学习02
- Timer创建定时器
- National meteorological data / rainfall distribution data / solar radiation data /npp net primary productivity data / vegetation coverage data
- 接口间调用为什么要用json、fastjson怎么赋值的、fastjson [email protected]映射关系问题
- PMP证书有没有必要续期?
猜你喜欢
U++ game learning notes
Salesforce 容器化 ISV 场景下的软件供应链安全落地实践
SQL injection cookie injection
Analysis -- MySQL statement execution process & MySQL architecture
Error: No named parameter with the name ‘foregroundColor‘
Sublime tips
c语言神经网络基本代码大全及其含义
Ansible概述和模块解释(你刚走过了今天,而扑面而来的却是昨天)
If you‘re running pod install manually, make sure flutter pub get is executed first.
U++4 接口 学习笔记
随机推荐
sublime使用技巧
一文搞懂常见的网络I/O模型
QT控件样式系列(一)之QSlider
Time complexity & space complexity
Batch normalization (Standardization) processing
Addressable 预下载
Ansible reports an error: "MSG": "invalid/incorrect password: permission denied, please try again“
STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建
Leetcode(46)——全排列
Leetcode(417)——太平洋大西洋水流问题
PMP证书有没有必要续期?
If you‘re running pod install manually, make sure flutter pub get is executed first.
Why is the salary of test and development so high?
Liste des hôtes d'inventaire dans ansible (je vous souhaite des fleurs et de la romance sans fin)
Function pointer and pointer function in C language
磁盘监控相关命令
《五》表格
SQL injection HTTP header injection
01机器学习相关规定
Inventory host list in ansible (I wish you countless flowers and romance)