Skip to content

QGoodWindow - border less window for Qt 5 and Qt 6

License

Notifications You must be signed in to change notification settings

tmartsum/QGoodWindow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QGoodWindow - border less window for Qt 5

QGoodWindow Demo!

QGoodWindow is a border less window for Microsoft Windows OS, it's easy to implement and maintain across other OSes like Android and Linux desktops, where the border less window are unavailable.

QGoodWindow inherits from QMainWindow, then just set the central widget likely you do in QMainWindow class and it's sub classes, however, when showing a modal dialog, you must pass QWidget *parentForModal(); function as a parent instead the QGoodWindow instance itself, also you need to draw the title bar yourself, as a part of centralWidget, on other OSes than Windows the native title bar is used! If you're working on a cross platform project you need to differentiate Windows, where you draw the title bar, and others OSes where you don't!

Usage:

To use QGoodWindow in your project add include(path_to/QGoodWindowFiles/QGoodWindowFiles.pri) in your .pro file, #include <QGoodWindow> in your code, then use QGoodWindow as QMainWindow, for example, create an instance of QGoodWindow or sub class it. To see this project in action, see the demos that comes with it!

About

QGoodWindow - border less window for Qt 5 and Qt 6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 76.2%
  • CMake 7.6%
  • QMake 6.7%
  • C 3.8%
  • QML 2.5%
  • Prolog 1.8%
  • Objective-C++ 1.4%