Czyt1988 SARibbon Versions Save

Ribbon Control for Qt

v2.0.3

2 months ago
  • 调整SAColorToolButton的实现,使之更简单
  • 修正qwk库引入的cmake
  • 调整文档

v2.0.2

3 months ago

cn:

相比v1.x,v2.x的第三方无边框方案由frameless改为qwindowkit,qwindowkit是frameless作者发起的版本,旧的frameless已经不维护,qwindowkit最大的优势是无需暴露头文件接口,这样SARibbon在依赖qwindowkit时无需提供qwindowkit的头文件,qwindowkit作为SARibbon的编译依赖选项,是可选择,默认不开启

2.0 做了以下调整:

  • SARibbonCategorySARibbonPannel可以通过qss定制
  • SARibbonPannel的文字使用SARibbonPannelLabel(QLabel)显示,可以通过qss进行自定义
  • SARibbonSeparatorWidget分割线也支持qss定制
  • SARibbonBar的样式RibbonStyle改为QFlags
  • SARibbonBar添加了相关的迭代函数,可快速遍历所有的category和pannel
  • 尺寸的计算重新进行了调整
  • 默认的qss进行了重新调整,适用更多的屏幕尺寸
  • SARibbonBar添加了如下接口: 1.SARibbonBar::setCornerWidgetVisible 可以设置cornerwidget的显示隐藏与否 2.属性enableShowPannelTitle,控制是否显示pannel的标题 3.属性pannelTitleHeight,控制pannel标题栏高度 4.属性pannelLayoutMode,可控制pannel的布局方式 5.属性tabOnTitle,可控制tab放置在title栏上 6.titleBarHeighttabBarHeightcategoryHeight这三个高度支持用户自定义,默认会根据字体大小计算 7.setTabBarBaseLineColor控制tabbar下基线颜色,某些主题需要设置颜色(窗口标题栏和category区域颜色一样的情况下如office 2013主题)可通过此函数设置,传入QColor()取消颜色
  • 添加了SARibbonBar::initHighDpi()静态函数,方便开启高分屏设置
  • 【注意】frameless库更换为qwindowkit ,qwindowkit源码不作为项目一部分,使用git submodule管理,因此,项目clone下来后,需要执行git submodule update --init --recursive
  • 【注意】如果开启SARIBBON_USE_FRAMELESS_LIB(默认开启),需要先构建qwindowkit,目前qwindowkit不提供qmake,只提供cmake,编译完qwindowkit后,SARibbon支持qmake和cmake
  • SARibbonMainWindow支持非ribbon模式
  • SAWindowButtonGroup改名为SARibbonSystemButtonGroupBar,同时支持添加action
  • SARibbonApplicationButton的qss去掉了下箭头

en:

  • SARibbonCategory and SARibbonPannel can be customized through QSS
  • The text of SARibbonPanel is displayed using SARibbonPannelLabel (QLabel) and can be customized through QSS
  • SARibbonSeparatorWidget also supports QSS customization for split lines
  • Change the style of SARibbonBar from RibbonStyle to QFlags
  • SARibbonBar has added relevant iterative functions, which can quickly traverse all categories and panels
  • The size calculation has been adjusted again
  • The default QSS has been readjusted to accommodate more screen sizes
  • SARibbonBar has added the following interface:
  1. SARibbonBar::setCornerWidgetVisible can be set to display or hide the Cornerwidget
  2. Attribute enableShowPannelTitle controls whether the title of the panel is displayed
  3. Attribute pannelTitleHeight controls the height of the pannel title bar
  4. Attribute pannelLayoutMode, which can control the layout of the panel
  5. Attribute tabOnTitle, which controls the placement of tabs in the title bar
  6. The three heights of titleBarHeight, tabBarHeight, and categoryHeight are highly customizable by users and will be calculated based on font size by default
  7. setTabBarBaseLineColor controls the baseline color of the tab bar, and certain themes require color settings (such as the Office 2013 theme when the window title bar and category area colors are the same). This function can be used to set the color by passing in QColor() to cancel the color
  • Added static function SARibbonBar::initHighDpi() to facilitate enabling high resolution screen settings
  • [Note] Replace the frameless library with qwindowkit ,The qwindowkit source code is not part of the project and is managed using git submodule. Therefore, after the project is cloned, it is necessary to execute git submodule update -- init -- recursive
  • [Note] If SARIBBON_USE_FRAMELESS_LIB is enabled, needs to first build qwindowkit. qwindowkit does not provide qmake, only cmake. After compilingqwindowkit, SARibbon supports qmake and cmake
  • SARibbonMainWindow supports non ribbon modes
  • SAWindowButtonGroup has been renamed to SARibbonSystemButton Group Bar and supports adding actions

v1.2.0

3 months ago

cn:

  • 完善例子
  • 添加Office2016主题
  • 添加Office2021主题
  • Category可以居中对齐
  • 修正了SARibbonBar的布局过程对窗体隐藏的判断方式,使得在窗口没显示时也能正确布局
  • QuickAccessBar的图标大小用户可设置
  • 修订了CMake,让安装和引入更标准
  • 添加了中文的构建和引入文档
  • 一些细节的调整
  • 修复了一些情况界面布局刷新异常的问题
  • 例子中的介绍更为详细,且添加了隐藏所有action的测试

en:

  • Complete examples
  • Add Office2016 Theme
  • Add Office2021 Theme
  • Category can be aligned in the center
  • Corrected the way SARibbonBar's layout process determines window hiding, allowing for correct layout even when the window is not displayed
  • The icon size of QuickAccess Bar can be set by the user
  • Revised CMake to make installation and introduction more standardized
  • Added Chinese construction and introduction documents
  • Adjustments to some details
  • Fixed some issues with abnormal interface layout refresh in certain situations
  • The introduction in the example is more detailed, and a test to hide all actions has been added

v1.1.1

4 months ago
  • 修正了SARibbonBar的布局过程对窗体隐藏的判断方式,使得在窗口没显示时也能正确布局
  • 完善例子

v1.0.7

5 months ago

添加Office2016主题 添加Office2021主题 Category可以居中对齐 QuickAccessBar的图标调小一像素,且用户可设置 修订了CMake,让安装和引入更标准 添加了中文的构建和引入文档 一些细节的调整

v1.0.5

6 months ago
  • 修复了一些情况界面布局刷新异常的问题
  • 可自适应Qt版本选择是否加载frameless库
  • 例子中的介绍更为详细,且添加了隐藏所有action的测试

v1.0.3

6 months ago

注:

    1. v1.x以上版本要求C++17
    1. v1.x以上版本引入frameless库解决跨平台多屏幕下无边框的显示framelesshelper
    1. 支持的最低的Qt版本为Qt5.14,如果在低版本Qt需要,请使用0.x版本
    1. 此发布版把SARibbonBar相关的代码整合到SARibbon.h和SARibbon.cpp中,静态qmake引入使用到SARibbon.hSARibbon.cppSARibbon.priSARibbonBar/resource.qrc4个文件以及SARibbonBar/3rdparty,SARibbonBar/resource这两个文件夹都在打包文件中

change log:

  • 引入第三方库frameless
  • 支持ubuntu和macos
  • 解决windwos系统的多屏幕移动问题
  • 依赖frameless,实现windows系统的一些界面操作,如边缘触发半屏
  • 添加深色主题
  • 优化了一些界面刷新逻辑
  • 最低C++版本要求为c++17
  • 一些接口的调整和一些枚举名称的调整
  • 添加了QWidget使用SARibbonBar的例子
  • 同步把自定义ribbon的SARibbonMainWindow的依赖去除
  • 完善了文档包括高分屏问题和linux编译的方法 en(machine translation):
  • import third-party library:frameless
  • Supports ubuntu and macos
  • Solving the problem of multi screen movement in Windwos system
  • Relying on frameless library to implement some interface operations in Windows systems, such as edge triggered half screen
  • Add a dark theme
  • Optimized some interface refresh logic
  • The minimum C++version requirement is c++17
  • Some interface adjustments and some enumeration name adjustments
  • Added an example of using SARibbonBar for QWidgets
  • Synchronize the removal of dependencies on SARibbonMainWindow for custom ribbons
  • Improved documentation including high resolution issues and methods for compiling Linux

v1.0.2

6 months ago

注:

    1. v1.0以上版本要求C++17
    1. v1.0以上版本引入frameless库解决跨平台多屏幕下无边框的显示framelesshelper
    1. 此发布版把SARibbonBar相关的代码整合到SARibbon.h和SARibbon.cpp中,静态qmake引入使用到SARibbon.hSARibbon.cppSARibbon.priSARibbonBar/resource.qrc4个文件以及SARibbonBar/3rdparty,SARibbonBar/resource这两个文件夹都在打包文件中

change log:

  • 引入第三方库frameless
  • 支持ubuntu和macos
  • 解决windwos系统的多屏幕移动问题
  • 依赖frameless,实现windows系统的一些界面操作,如边缘触发半屏
  • 添加深色主题
  • 优化了一些界面刷新逻辑
  • 最低C++版本要求为c++17
  • 一些接口的调整和一些枚举名称的调整
  • 添加了QWidget使用SARibbonBar的例子
  • 同步把自定义ribbon的SARibbonMainWindow的依赖去除
  • 完善了文档包括高分屏问题和linux编译的方法 en(machine translation):
  • import third-party library:frameless
  • Supports ubuntu and macos
  • Solving the problem of multi screen movement in Windwos system
  • Relying on frameless library to implement some interface operations in Windows systems, such as edge triggered half screen
  • Add a dark theme
  • Optimized some interface refresh logic
  • The minimum C++version requirement is c++17
  • Some interface adjustments and some enumeration name adjustments
  • Added an example of using SARibbonBar for QWidgets
  • Synchronize the removal of dependencies on SARibbonMainWindow for custom ribbons
  • Improved documentation including high resolution issues and methods for compiling Linux

v0.6.1

9 months ago

SARibbon v0.6.1

  • 修正了v0.6.0的cmake异常
  • 调整了qss,使用高分屏相关的单位
  • 把所有源文件和头文件合并到了SARibbon.h和SARibbon.cpp中,只要引入这两个文件和资源文件即可静态编译
  • 一些显示的调整