This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/example/doric/DoricPanel.h
2021-05-20 18:27:45 +08:00

28 lines
453 B
C++

#ifndef PANEL_H
#define PANEL_H
#include <QQuickItem>
#include "DoricContext.h"
class DoricPanel {
private:
DoricContext *mContext;
int renderedWidth = -1;
int renderedHeight = -1;
QQmlEngine *mQmlEngine;
QQuickItem *mQuickItem;
public:
DoricPanel(QQmlEngine *qmlEngine, QQuickItem *quickItem);
~DoricPanel();
void config(QString script, QString alias, QString extra);
void config(DoricContext *context);
};
#endif // PANEL_H