Git Product home page Git Product logo

tabtoolbar's Introduction


Build status Build Status

As stated above, TabToolbar is a small library, meant to be used with Qt, that provides a few classes for creating of tabbed toolbars.

Features:

  • Cross-platform - TabToolbar depends only on Qt and requires a C++11 compliant compiler to be built.
  • Native look and feel - TabToolbar has a few predefined styles, which use current OS's palette to generate the best looking style possible. Moreover styles can be created and changed dynamically at runtime!
  • Configurable - UI configuration can be set directly from code, or loaded from JSON file! This enables easy UI fine-tuning and customization.
  • Customizable - UI can contain any custom widget! If you use JSON configs, all you have to do is to tell TabToolbar, how to create them, and you are good to go!
  • Non-exclusive - TabToolbar can be easily combined with classic menu bars! Consider a CAD application, that uses TabToolbar and places it's most used actions in it, while combining it with menu bar, which contains other less-frequently used actions.

Styles:

TabToolbar comes with four predefined styles:

  • Vienna (default for Windows 7 OS)
  • Threshold (default for all Windows >= 8 OSes)
  • Kool (default for Unix-like systems)
  • White Mercy a simple white reskin of Threshold style

All these styles use current OS palette and thus look great with any theme (light, dark, you name it). Each style can be used on any OS.

Some examples:

Vienna style on Windows 7:

Kool style on Manjaro KDE with Breeze Dark theme:

Threshold style on Manjaro LXQt with gtk2 theme:

White Mercy style on Windows 10:

Building

TabToolbar uses CMake and depends on Qt >= 5.3. A simple example project of how to use TabToolbar is included, but is by default not included in build.

Usage

To link TabToolbar to your project, you can use provided FindTabToolbar cmake module, which defines TabToolbar_LIBRARY variable that you can feed to your target_link_libraries command.

An example project is also included in examples/Test subdirectory, please refer to it if you have any troubles.

License

TabToolbar uses LGPL license either version 3 or any later version.

TabToolbar logo generously provided by Tobaloidee

tabtoolbar's People

Contributors

jared2020 avatar jaredtao avatar ojura avatar seriousalexej avatar tobaloidee 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.