当前位置:网站首页>[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语言神经网络基本代码大全及其含义
JS variable plus
为什么很多人对技术债务产生误解
【PHP SPL笔记】
[Android kotlin collaboration] use coroutinecontext to realize the retry logic after a network request fails
Timer创建定时器
Ansible中的inventory主机清单(预祝你我有数不尽的鲜花和浪漫)
Talk about the importance of making it clear
np.random.shuffle与np.swapaxis或transpose一起时要慎用
y58.第三章 Kubernetes从入门到精通 -- 持续集成与部署(三一)
ThinkPHP关联预载入with
Flask project uses flask socketio exception: typeerror: function() argument 1 must be code, not str
Sublime tips
Dynamically generate tables
Why JSON is used for calls between interfaces, how fastjson is assigned, fastjson 1.2 [email protected] Mapping relatio
Array initialization of local variables
Leetcode minimum difference in student scores
JS variable
【问道】编译原理









