wip
Yuhang Zhao
2023-12-04 d76629aac83bb279512b84be8a5b3f62b1800278
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "mainwindow.h"
 
#include <QtCore/QDebug>
 
#include <QWKWidgets/widgetwindowagent.h>
 
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) {
    auto agent = new QWK::WidgetWindowAgent(this);
    if (!agent->setup(this)) {
        qDebug() << "Frameless handle failed to initialize.";
    }
}
 
MainWindow::~MainWindow() {
}