All Projects → gnibuoz → Qribbon

gnibuoz / Qribbon

Licence: gpl-3.0
Qt 实现的 Ribbon 风格菜单栏,基本思路是定制QTabWidget,通过QSS(样式表)实现显示样式的调整,QRibbon的原则是尽量不侵入正常业务逻辑的开发,所以在开发基于QMainWindow的程序时,可以按照正常的开发流程创建界面,创建普通的菜单栏以及菜单项及其信号槽关联,最后调用QRibbon::install(&mainWindow)函数即可自动创建出与QMainWindow原有QMenuBar相对应的Ribbon...

Projects that are alternatives of or similar to Qribbon

Tabtoolbar
A small library for creating tabbed toolbars
Stars: ✭ 129 (-1.53%)
Mutual labels:  ribbon, qt
Saribbon
Ribbon Control on Qt
Stars: ✭ 233 (+77.86%)
Mutual labels:  ribbon, qt
Mindforger
Thinking notebook and Markdown editor.
Stars: ✭ 1,695 (+1193.89%)
Mutual labels:  qt
Onvif Qt Server Client
Onvif QT Server Client is a sample for creating Onvif Server and Onvif Client with QT C++
Stars: ✭ 130 (-0.76%)
Mutual labels:  qt
Qgnomeplatform
QPlatformTheme for a better Qt application inclusion in GNOME
Stars: ✭ 126 (-3.82%)
Mutual labels:  qt
Kdstatemachineeditor
A framework for creating Qt State Machine metacode using a graphical user interface
Stars: ✭ 121 (-7.63%)
Mutual labels:  qt
Pref
Portable Reverse Engineering Framework
Stars: ✭ 127 (-3.05%)
Mutual labels:  qt
Qtimgui
Qt (QOpenGLWidget / QOpenGLWindow) backend for ImGui
Stars: ✭ 119 (-9.16%)
Mutual labels:  qt
Ttkdownloader
TTKDownloader that imitation xunlei downloader, based on Qt for windows and linux.
Stars: ✭ 131 (+0%)
Mutual labels:  qt
Atomicdex Desktop
atomicDEX Desktop app - project codename "Dextop"
Stars: ✭ 126 (-3.82%)
Mutual labels:  qt
Spring Cloud
SpringCloud微服务架构,提供快速上手脚手架,快速构建高可用注册中心,高可用配置中心,加入Hystrix断路器,gateway服务官网,权限认证、服务降级、限流,加入应用监控
Stars: ✭ 130 (-0.76%)
Mutual labels:  ribbon
Openage
Free (as in freedom) open source clone of the Age of Empires II engine 🚀
Stars: ✭ 10,712 (+8077.1%)
Mutual labels:  qt
Easylauncher Gradle Plugin
Add a different ribbon to each of your Android app variants using this gradle plugin. Of course, configure it as you will
Stars: ✭ 123 (-6.11%)
Mutual labels:  ribbon
Springcloud Learning
学习Spring Cloud框架的总结,使用的是最新的Hoxton版本。主要对包括但不限于Eureka、Ribbon、Hystrix、Zuul、Gateway、Security、Bus、OpenFeign等核心组件的用法进行详细介绍。
Stars: ✭ 129 (-1.53%)
Mutual labels:  ribbon
Toggldesktop
Toggl Desktop app for Windows, Mac and Linux
Stars: ✭ 1,663 (+1169.47%)
Mutual labels:  qt
Feign Reactive
Reactive Feign client based on Spring WebFlux
Stars: ✭ 131 (+0%)
Mutual labels:  ribbon
Depthmapx
depthmapX is a multi-platform Spatial Network Analysis Software
Stars: ✭ 120 (-8.4%)
Mutual labels:  qt
Embedded Ide
IDE for C embedded development centered on bare-metal ARM systems
Stars: ✭ 127 (-3.05%)
Mutual labels:  qt
Natrium
A pre-build (Swift) script to alter your Xcode project at pre-build-time per environment, build configuration and target.
Stars: ✭ 131 (+0%)
Mutual labels:  ribbon
Frequest
FRequest - A fast, lightweight and opensource desktop application to make HTTP(s) requests
Stars: ✭ 130 (-0.76%)
Mutual labels:  qt

QRibbon

Qt 实现的 Ribbon 风格菜单栏,基本思路是定制QTabWidget,通过QSS(样式表)实现显示样式的调整,QRibbon的原则是尽量不侵入正常业务逻辑的开发,所以在开发基于QMainWindow的程序时,可以按照正常的开发流程创建界面,创建普通的菜单栏以及菜单项及其信号槽关联,最后调用QRibbon::install(&mainWindow)函数即可自动创建出与QMainWindow原有QMenuBar相对应的Ribbon...

使用方法

  • 正常创建QMainWindow

  • 为QMainWindow添加菜单和菜单项(建议为所有菜单项都添加合适的图标,这样最终QRibbon就可以直接使用菜单项的图标作为按钮图标)

  • 将QRibbon库相关的所有文件添加至工程

  • 构造完成主界面后,调用如下代码即可实现QRibbon的添加:

    QRibbon::install(&mainWindow);

使用QRibbon::install(window)前后效果对比

image

使用QRibbon前界面效果

image

使用QRibbon后界面效果

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].