QML ServerContainers page refact
This commit is contained in:
parent
9ae2e3fba2
commit
0faf6c8599
90 changed files with 5651 additions and 125 deletions
|
|
@ -116,10 +116,16 @@ int main(int argc, char *argv[])
|
|||
|
||||
app.setQuitOnLastWindowClosed(false);
|
||||
|
||||
qRegisterMetaType<amnezia::DockerContainer>("amnezia::DockerContainer");
|
||||
qRegisterMetaType<amnezia::Protocol>("amnezia::Protocol");
|
||||
|
||||
UiLogic *uiLogic = new UiLogic;
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
|
||||
PageEnumNS::declareQML();
|
||||
declareQmlProtocolEnum();
|
||||
|
||||
const QUrl url(QStringLiteral("qrc:/ui/qml/main.qml"));
|
||||
QObject::connect(&engine, &QQmlApplicationEngine::objectCreated,
|
||||
&app, [url](QObject *obj, const QUrl &objUrl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue