2024-07-25 -> 2.2.1
- 增加setPannelSpacing接口,可调节pannel按钮的间距
- SARibbonToolButton的icon尺寸可设置,在小按钮模式下,用户可指定icon尺寸
- 把SARibbonMainWindow的事件处理通过eventfilter实现,避免用户在重写事件时误操作
- 修正SARibbonGalleryButton的样式错误
- 修正SystemBar在qwk下会位置有偏离的问题
2024-07-15 -> 2.2.0
- 增加了mdi窗口的示例
- 增加了SARibbonTabBar的tab尺寸计算方式,可以让tab高度按照tabbar高度自动调整
- 示例增加了尺寸设置的配置,可以任意调整titlebar,tabbar,pannel title height的高度
- 修正调整category高度后,pannel高度不跟着改变的问题
- 添加snap layout的开关,在依赖qwk下,可以设置是否开启snap layout
2024-05-23 -> 2.1.0
- 添加actionTriggered信号
- 修正了滚动action显示效果
- 把SARibbonTheme从SARibbonMainWindow中转移到SARibbonGloabls.h中并作为枚举类(enum class)
- 添加SARibbonWidget,同时调整example/widget示例
- 调整了布局移动的实现方式,不会出现压缩式移动
2024-02-07 -> 2.0.3
- 调整SAColorToolButton的实现,使之更简单
- 修正qwk库引入的cmake
- 调整文档
2024-02-07 -> 2.0.2
- 修正SARibbonSystemButtonBar的编码问题,可能会导致vs下无法编译成功
- SARibbonContextCategory的标签颜色调整
2024-01-27 -> 2.0.1【失效,请使用v2.0.2及以上版本】
- 调整qss,让SARibbonApplicationButton的下拉箭头不显示
- 文档添加gallery
- 修正了一个布局可能异常的点
2024-01-09 -> 2.0.0
【警告】编译过程会在当前目录下生成bin_qtx.x.x_[MSVC/GNU]_x[64/86]这样的文件夹,请确保有写入权限,否则执行qmake过程会报错
由于接口函数有明显调整,因此版本变更为2.0
2023-12-29 -> 1.1.2
- 合并了lixinchang的修改(https://gitee.com/lixinchang)
- 添加了SARibbonControlToolButton,ControlBar不再使用QToolButton,避免和QToolButton的qss冲突
- ControlBar支持按钮菜单样式的指定
- 调整了默认样式的内容
2023-12-25 -> 1.1.1
- 修正了SARibbonBar的布局过程对窗体隐藏的判断方式,使得在窗口没显示时也能正确布局
2023-12-25 -> 1.1.0
- 修正了尺寸刷新的问题,在首次显示不会出现控件跳动的状态
- 修正了一些问题
- 调整了创建RibbonButton的方式
- 调整了SARibbonPannel一些接口,使得创建更加规范
- 调整了ToolButton的渲染方式
2023-11-19 -> 1.0.6
- 添加Office2016主题
- Category可以居中对齐
- QuickAccessBar的图标调小一像素,且用户可设置
2023-11-10 -> 1.0.5
- 自动根据Qt版本来适配是否加载frameless库
2023-11-02 -> 1.0.4
cn:因为引入了framelss库,导致很多版本的qt无法编译,为了兼容不同版本的qt编译问题,进行了版本自适应, 不符合framelss的qt版本自动使用原来的framelss方案,从而实现了qt5.9到qt6的完全支持
en:Because of the introduction of the framelss library, many versions of qt cannot be compiled. In order to be compatible with different versions of qt compilation, version adaptation is carried out. The qt version that does not conform to the framelss automatically uses the original framelss scheme, thus realizing full support for qt5.9 to qt6
2023-10-26 -> 1.0.2
- 添加了SARibbonBar在QWidget窗口上使用的例子
- 整理了SARibbon.h和SARibbon.cpp,调整了静态使用的例子
- frameless库更新到c4a7bc8版本(20231022)
2023-10-14 -> 1.0.1
cn:
- 引入第三方库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
2023-10-09 -> 0.7.1
- 增加了深色主题
- 调整了枚举的命名方式
- 增加了一些重绘方式
2023-10-09 -> 0.7.0
2023-09-27 -> 0.6.0
- 添加了Amalgamate,修正了一些显示的bug,修正cmake的异常
- 添加了上下文标签中category标题名字改变的信号
2023-05-28 -> 0.5.0
- 调整了大按钮模式下的显示方案,去除了原来SARibbonToolButton的Lite和Normal模式,以WordWrap来表征
- 支持文字自定义换行
- 调整了RibbonPannel的标题栏的高度计算方案
0.5.1
- 不使用QString::simplified,而是简单的仅仅替换
的simplified,这样中文换行不会多出空格
0.5.2
- SARibbonColorToolButton\SARibbonToolButton修正&操作在三项表达式未加括号问题
- SARibbonStyleOption添加虚析构函数
- 原来SARibbonElementCreateDelegate类改名为SARibbonElementFactory