23 lines
358 B
C++
23 lines
358 B
C++
#ifndef PANEL_H
|
|
#define PANEL_H
|
|
|
|
#include <QQuickItem>
|
|
|
|
#include "DoricContext.h"
|
|
|
|
class DoricPanel : public QQuickItem {
|
|
private:
|
|
DoricContext *mContext;
|
|
int renderedWidth = -1;
|
|
int renderedHeight = -1;
|
|
|
|
public:
|
|
DoricPanel();
|
|
|
|
void config(QString script, QString alias, QString extra);
|
|
|
|
void config(DoricContext *context);
|
|
};
|
|
|
|
#endif // PANEL_H
|