Bot releases are hidden (Show)
Published by czyt1988 3 months ago
Published by czyt1988 5 months ago
Published by czyt1988 8 months ago
Published by czyt1988 9 months ago
cn:
相比v1.x,v2.x的第三方无边框方案由frameless改为qwindowkit,qwindowkit是frameless作者发起的版本,旧的frameless已经不维护,qwindowkit最大的优势是无需暴露头文件接口,这样SARibbon在依赖qwindowkit时无需提供qwindowkit的头文件,qwindowkit作为SARibbon的编译依赖选项,是可选择,默认不开启
2.0 做了以下调整:
SARibbonCategory
和SARibbonPannel
可以通过qss定制SARibbonPannel
的文字使用SARibbonPannelLabel(QLabel)
显示,可以通过qss进行自定义SARibbonSeparatorWidget
分割线也支持qss定制SARibbonBar
的样式RibbonStyle
改为QFlags
SARibbonBar
添加了相关的迭代函数,可快速遍历所有的category和pannelSARibbonBar
添加了如下接口:SARibbonBar::setCornerWidgetVisible
可以设置cornerwidget
的显示隐藏与否enableShowPannelTitle
,控制是否显示pannel的标题pannelTitleHeight
,控制pannel标题栏高度pannelLayoutMode
,可控制pannel的布局方式tabOnTitle
,可控制tab放置在title栏上titleBarHeight
,tabBarHeight
,categoryHeight
这三个高度支持用户自定义,默认会根据字体大小计算setTabBarBaseLineColor
控制tabbar下基线颜色,某些主题需要设置颜色(窗口标题栏和category区域颜色一样的情况下如office 2013主题)可通过此函数设置,传入QColor()
取消颜色SARibbonBar::initHighDpi()
静态函数,方便开启高分屏设置git submodule
管理,因此,项目clone下来后,需要执行git submodule update --init --recursive
SARIBBON_USE_FRAMELESS_LIB
(默认开启),需要先构建qwindowkit
,目前qwindowkit
不提供qmake,只提供cmake,编译完qwindowkit
后,SARibbon支持qmake和cmakeSARibbonMainWindow
支持非ribbon模式SAWindowButtonGroup
改名为SARibbonSystemButtonGroupBar
,同时支持添加actionen:
SARibbonCategory
and SARibbonPannel
can be customized through QSSSARibbonPanel
is displayed using SARibbonPannelLabel (QLabel)
and can be customized through QSSSARibbonSeparatorWidget
also supports QSS customization for split linesSARibbonBar
from RibbonStyle to QFlags
SARibbonBar
has added relevant iterative functions, which can quickly traverse all categories and panelsSARibbonBar
has added the following interface:SARibbonBar::setCornerWidgetVisible
can be set to display or hide the Cornerwidget
enableShowPannelTitle
controls whether the title of the panel is displayedpannelTitleHeight
controls the height of the pannel title barpannelLayoutMode
, which can control the layout of the paneltabOnTitle
, which controls the placement of tabs in the title bartitleBarHeight
, tabBarHeight
, and categoryHeight
are highly customizable by users and will be calculated based on font size by defaultsetTabBarBaseLineColor
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 colorSARibbonBar::initHighDpi()
to facilitate enabling high resolution screen settingsgit submodule
. Therefore, after the project is cloned, it is necessary to execute git submodule update -- init -- recursive
SARIBBON_USE_FRAMELESS_LIB
is enabled, needs to first build qwindowkit
. qwindowkit
does not provide qmake, only cmake. After compilingqwindowkit
, SARibbon
supports qmake and cmakeSARibbonMainWindow
supports non ribbon modesSAWindowButtonGroup
has been renamed to SARibbonSystemButton Group Bar
and supports adding actionsPublished by czyt1988 9 months ago
cn:
相比v1.x,v2.x的第三方无边框方案由frameless改为qwindowkit,qwindowkit是frameless作者发起的版本,旧的frameless已经不维护,qwindowkit最大的优势是无需暴露头文件接口,这样SARibbon在依赖qwindowkit时无需提供qwindowkit的头文件,qwindowkit作为SARibbon的编译依赖选项,是可选择,默认不开启
2.0 做了以下调整:
SARibbonCategory
和SARibbonPannel
可以通过qss定制SARibbonPannel
的文字使用SARibbonPannelLabel(QLabel)
显示,可以通过qss进行自定义SARibbonSeparatorWidget
分割线也支持qss定制SARibbonBar
的样式RibbonStyle
改为QFlags
SARibbonBar
添加了相关的迭代函数,可快速遍历所有的category和pannelSARibbonBar
添加了如下接口:SARibbonBar::setCornerWidgetVisible
可以设置cornerwidget
的显示隐藏与否enableShowPannelTitle
,控制是否显示pannel的标题pannelTitleHeight
,控制pannel标题栏高度pannelLayoutMode
,可控制pannel的布局方式tabOnTitle
,可控制tab放置在title栏上titleBarHeight
,tabBarHeight
,categoryHeight
这三个高度支持用户自定义,默认会根据字体大小计算setTabBarBaseLineColor
控制tabbar下基线颜色,某些主题需要设置颜色(窗口标题栏和category区域颜色一样的情况下如office 2013主题)可通过此函数设置,传入QColor()
取消颜色SARibbonBar::initHighDpi()
静态函数,方便开启高分屏设置git submodule
管理,因此,项目clone下来后,需要执行git submodule update --init --recursive
SARIBBON_USE_FRAMELESS_LIB
(默认开启),需要先构建qwindowkit
,目前qwindowkit
不提供qmake,只提供cmake,编译完qwindowkit
后,SARibbon支持qmake和cmakeSARibbonMainWindow
支持非ribbon模式SAWindowButtonGroup
改名为SARibbonSystemButtonGroupBar
,同时支持添加actionen:
SARibbonCategory
and SARibbonPannel
can be customized through QSSSARibbonPanel
is displayed using SARibbonPannelLabel (QLabel)
and can be customized through QSSSARibbonSeparatorWidget
also supports QSS customization for split linesSARibbonBar
from RibbonStyle to QFlags
SARibbonBar
has added relevant iterative functions, which can quickly traverse all categories and panelsSARibbonBar
has added the following interface:SARibbonBar::setCornerWidgetVisible
can be set to display or hide the Cornerwidget
enableShowPannelTitle
controls whether the title of the panel is displayedpannelTitleHeight
controls the height of the pannel title barpannelLayoutMode
, which can control the layout of the paneltabOnTitle
, which controls the placement of tabs in the title bartitleBarHeight
, tabBarHeight
, and categoryHeight
are highly customizable by users and will be calculated based on font size by defaultsetTabBarBaseLineColor
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 colorSARibbonBar::initHighDpi()
to facilitate enabling high resolution screen settingsgit submodule
. Therefore, after the project is cloned, it is necessary to execute git submodule update -- init -- recursive
SARIBBON_USE_FRAMELESS_LIB
is enabled, needs to first build qwindowkit
. qwindowkit
does not provide qmake, only cmake. After compilingqwindowkit
, SARibbon
supports qmake and cmakeSARibbonMainWindow
supports non ribbon modesSAWindowButtonGroup
has been renamed to SARibbonSystemButton Group Bar
and supports adding actionsPublished by czyt1988 9 months ago
cn:
en:
Published by czyt1988 10 months ago
Published by czyt1988 11 months ago
添加Office2016主题
添加Office2021主题
Category可以居中对齐
QuickAccessBar的图标调小一像素,且用户可设置
修订了CMake,让安装和引入更标准
添加了中文的构建和引入文档
一些细节的调整
Published by czyt1988 12 months ago
Published by czyt1988 12 months ago
注:
SARibbon.h
、SARibbon.cpp
、SARibbon.pri
、SARibbonBar/resource.qrc
4个文件以及SARibbonBar/3rdparty
,SARibbonBar/resource
这两个文件夹都在打包文件中change log:
Published by czyt1988 12 months ago
注:
SARibbon.h
、SARibbon.cpp
、SARibbon.pri
、SARibbonBar/resource.qrc
4个文件以及SARibbonBar/3rdparty
,SARibbonBar/resource
这两个文件夹都在打包文件中change log:
Published by czyt1988 about 1 year ago
SARibbon v0.6.1