Skip to content

kkzi/FramelessWindow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplified version frameless Qt window from qwindowkit

Changes

  1. Use original cmake functions, not qmsetup
  2. Add FramelessWindow class for main window, FramelessDialog for dialog
  3. Fix some bugs, e.g. debug output ReturnHr(21) tid(89a4) 80070057 The parameter is incorrect.

Usage

FramelessWindow

FramelessWindow w;
w.setWindowIcon(QIcon(":/app/example.png"));
w.setWindowTitle(tr("demo"));
w.show();

demo1

FramelessDialog

FramelessDialog dialog;
dialog.setWindowTitle("Dialog");
dialog.setFixedSize(400, 240);
dialog.setCentralWidget(new QLabel("Hello world"));
dialog.exec();

demo2

About

Simplified version frameless Qt window from https://github.com/stdware/qwindowkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published