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/panel.cpp

19 lines
302 B
C++
Raw Normal View History

2021-02-02 20:42:37 +08:00
#include "panel.h"
Panel::Panel()
{
}
void Panel::config(QString script, QString alias, QString extra)
{
Context *context = Context::create(script, alias, extra);
config(context);
}
void Panel::config(Context *context)
{
this->mContext = context;
this->mContext->build(960, 720);
}