Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

✨ Modern QStyle for desktop Qt5 applications. 💄 Improve your Qt User Interface now!

License

Notifications You must be signed in to change notification settings

christophe-thiery-fw/qlementine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qlementine

License: MIT CMake version C++ version Qt version

Modern QStyle for desktop Qt5 applications.


Table of Contents


Requirements

Features

This library contains:

  • A custom QStyle named QlementineStyle, that implements all the necessary API to give a modern look and feel to your Qt application. It's a drop-in replacement for the default QStyle.
  • An actual way to have client-side decoration (CSD) on your Qt window, with actual OS window animations and effects. (Windows only, at the moment)
  • Lots of utilities to help you write beautiful Qt widgets.

Usage

  1. Add the library's repository as a Git submodule.

    git submodule add git@github.com:oclero/qlementine.git submodules/qlementine
  2. Download submodules.

    git submodule update --init --recursive
  3. Add the library to your CMake project.

    add_subdirectory(submodules/qlementine)
  4. Link with the library in CMake.

    target_link_libraries(your_project oclero::qlementine)
  5. Define the QStyle on your QApplication.

    #include <oclero/qlementine.hpp>
    
    QApplication app(argc, argv);
    
    auto* style = new oclero::qlementine::QlementineStyle(&app);
    style->setThemeJsonPath(":/light.json");
    QApplication::setStyle(style);

Author

Olivier Cléro | email | website | github | gitlab

License

Qlementine is available under the MIT license. See the LICENSE file for more info.

About

✨ Modern QStyle for desktop Qt5 applications. 💄 Improve your Qt User Interface now!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.6%
  • CMake 1.3%
  • Shell 0.1%