mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Port the progress indicator extension to PyQt5
This commit is contained in:
parent
f449426476
commit
1f3d25d934
@ -1,12 +1,12 @@
|
||||
#include "QProgressIndicator.h"
|
||||
|
||||
#include <QPainter>
|
||||
#include <QStylePlugin>
|
||||
#include <QtWidgets/QStylePlugin>
|
||||
#include <QPluginLoader>
|
||||
#include <QStyle>
|
||||
#include <QApplication>
|
||||
#include <QtWidgets/QStyle>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QDebug>
|
||||
#include <QProxyStyle>
|
||||
#include <QtWidgets/QProxyStyle>
|
||||
|
||||
QProgressIndicator::QProgressIndicator(QWidget* parent, int size)
|
||||
: QWidget(parent),
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
#include <QtWidgets/QWidget>
|
||||
#include <QColor>
|
||||
|
||||
/*!
|
||||
|
@ -3,8 +3,7 @@
|
||||
|
||||
%Module(name=progress_indicator, version=1)
|
||||
|
||||
%Import QtCore/QtCoremod.sip
|
||||
%Import QtGui/QtGuimod.sip
|
||||
%Import QtWidgets/QtWidgetsmod.sip
|
||||
|
||||
%ModuleHeaderCode
|
||||
int load_style(QString &path, QString &name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user