Simplified version frameless Qt window from qwindowkit
- Use original cmake functions, not qmsetup
- Add
FramelessWindow
class for main window,FramelessDialog
for dialog - Fix some bugs, e.g. debug output
ReturnHr(21) tid(89a4) 80070057 The parameter is incorrect.
FramelessWindow w;
w.setWindowIcon(QIcon(":/app/example.png"));
w.setWindowTitle(tr("demo"));
w.show();
FramelessDialog dialog;
dialog.setWindowTitle("Dialog");
dialog.setFixedSize(400, 240);
dialog.setCentralWidget(new QLabel("Hello world"));
dialog.exec();