Coder Social home page Coder Social logo

dennishan / qgoodwindow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antonypro/qgoodwindow

0.0 0.0 0.0 563 KB

QGoodWindow - border less window for Qt 5 and Qt 6

License: MIT License

C++ 85.85% C 0.71% Prolog 0.42% Objective-C++ 1.50% QML 0.52% QMake 3.96% CMake 7.02%

qgoodwindow's Introduction

QGoodWindow

Border less window implementation for Qt 5 and Qt 6 on Windows, Linux and macOS.

Version 2.1

QGoodWindow in dark mode on Windows 11:

QGoodWindow gives to your application full control of the window while keeps native OS window behavior, like minimize effect.

QGoodWindow project is split in two modules, the QGoodWindow and QGoodCentralWidget.

QGoodWindow provides the core of the project and can be used without QGoodCentralWidget, however QGoodCentralWidget offers a ready to use window with icon, title, caption buttons and a easy way to add widgets to the title bar.

QGoodWindow Usage:

CMake:

For use QGoodWindow add to your CMakeLists.txt:

include(path_to/QGoodWindow/QGoodWindow.cmake)

For use QGoodCentralWidget add to your CMakeLists.txt after QGoodWindow:

include(path_to/QGoodCentralWidget/QGoodCentralWidget.cmake)

QMake:

For use QGoodWindow add to your .pro:

include(path_to/QGoodWindow/QGoodWindow.pri)

For use QGoodCentralWidget add to your .pro after QGoodWindow:

include(path_to/QGoodCentralWidget/QGoodCentralWidget.pri)

To use QGoodWindow in your project add #include <QGoodWindow> in your code, then use QGoodWindow as QMainWindow, for example, create an instance of QGoodWindow or sub class it.

To use QGoodCentralWidget add #include <QGoodCentralWidget> in your code, set it as central widget of QGoodWindow and set to the QGoodCentralWidget it's own central widget.

API:

To see the full list of public APIs see: QGoodWindow API QGoodCentralWidget API

Note:

To get the required build packages on Ubuntu based OS, use:

sudo apt install build-essential libgl1-mesa-dev libgtk2.0-dev libxkbcommon-x11-dev

Credits:

Contributing:

You can contribute with suggestions, writing issues on Issues or filling pull requests.

To see what has changed between versions, please see the CHANGELOG.

qgoodwindow's People

Contributors

antonypro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.