File indexing completed on 2026-05-14 08:34:44
0001
0002
0003
0004
0005 #ifndef QSTYLEPLUGIN_H
0006 #define QSTYLEPLUGIN_H
0007
0008 #include <QtWidgets/qtwidgetsglobal.h>
0009 #include <QtCore/qplugin.h>
0010 #include <QtCore/qfactoryinterface.h>
0011
0012 QT_BEGIN_NAMESPACE
0013
0014
0015 class QStyle;
0016
0017 #define QStyleFactoryInterface_iid "org.qt-project.Qt.QStyleFactoryInterface"
0018
0019 class Q_WIDGETS_EXPORT QStylePlugin : public QObject
0020 {
0021 Q_OBJECT
0022 public:
0023 explicit QStylePlugin(QObject *parent = nullptr);
0024 ~QStylePlugin();
0025
0026 virtual QStyle *create(const QString &key) = 0;
0027 };
0028
0029 QT_END_NAMESPACE
0030
0031 #endif