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/doric/DoricPanel.cpp

14 lines
332 B
C++
Raw Normal View History

2021-02-04 16:59:58 +08:00
#include "DoricPanel.h"
DoricPanel::DoricPanel() {}
void DoricPanel::config(QString script, QString alias, QString extra) {
DoricContext *context = DoricContext::create(script, alias, extra);
config(context);
}
void DoricPanel::config(DoricContext *context) {
this->mContext = context;
this->mContext->build(960, 720);
}