Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/czyt1988/SARibbon
/ functions
Functions
2,356 in github.com/czyt1988/SARibbon
⨍
Functions
2,356
◇
Types & classes
424
↓ 168 callers
Method
append
* \if ENGLISH * @brief Append item * @param item SARibbonGalleryItem pointer (memory managed by SARibbonGalleryGroupModel) * \endif * * \if
src/SARibbon.cpp:21657
↓ 101 callers
Method
addAction
* \if ENGLISH * @brief Adds an action to the button group * @param a Action to add * \endif * * \if CHINESE * @brief 向按钮组添加一个动作 * @param
src/SARibbon.cpp:8364
↓ 93 callers
Method
setText
* \if ENGLISH * @brief Set the text * @param t Text to set * \endif * * \if CHINESE * @brief 设置文字 * @param t 要设置的文字 * \endif */
src/SARibbon.cpp:13522
↓ 81 callers
Method
addLargeAction
* \if ENGLISH * @brief Adds a large action (occupies full height) * @param action The action to add * \endif * * \if CHINESE * @brief 添加一个
src/SARibbon.cpp:16213
↓ 77 callers
Method
isEmpty
* \if ENGLISH * @brief Checks if the item is empty * @return true if the item is empty, false otherwise * \endif * * \if CHINESE * @brief
src/SARibbon.cpp:14215
↓ 69 callers
Method
isValid
* \if ENGLISH * @brief Check if this is a valid CustomizeData * @details Actual logic: actionType() != UnknowActionType * @return true if the Cu
src/SARibbon.cpp:29635
↓ 66 callers
Method
isEmpty
* \if ENGLISH * @brief Checks if the item is empty * @return true if the item is empty, false otherwise * \endif * * \if CHINESE * @brief
src/SARibbonBar/SARibbonPanelItem.cpp:43
↓ 65 callers
Method
setGeometry
src/SARibbon.cpp:15785
↓ 56 callers
Method
addPanel
src/SARibbon.cpp:17825
↓ 56 callers
Method
setGeometry
* \if ENGLISH * @brief Set the geometry of the layout * @param rect The rectangle to set * \endif * * \if CHINESE * @brief 设置布局的几何区域 *
src/SARibbonBar/SARibbonBarLayout.cpp:732
↓ 53 callers
Method
show
* \if ENGLISH * @brief Show the context category * @details This method is equivalent to: * @code * ribbon->showContextCategory(this); * @en
src/SARibbon.cpp:20786
↓ 52 callers
Method
addWidget
src/SARibbon.cpp:3197
↓ 51 callers
Method
addItem
* \if ENGLISH * @brief Adds an item to the layout (not supported) * * This layout only accepts items created from `QAction` via `insertAction`.
src/SARibbon.cpp:14346
↓ 48 callers
Method
addCategoryPage
* \if ENGLISH * @brief Add a category page * @param title Category name * @return Created SARibbonCategory object * \endif * * \if CHINESE
src/SARibbon.cpp:20534
↓ 45 callers
Method
isValid
* \if ENGLISH * @brief Check if this is a valid CustomizeData * @details Actual logic: actionType() != UnknowActionType * @return true if the Cu
src/SARibbonBar/SARibbonCustomizeData.cpp:67
↓ 43 callers
Method
append
* \if ENGLISH * @brief Append item * @param item SARibbonGalleryItem pointer (memory managed by SARibbonGalleryGroupModel) * \endif * * \if
src/SARibbonBar/SARibbonGalleryGroup.cpp:445
↓ 41 callers
Method
count
* \if ENGLISH * @brief Get count of all managed actions * @return Number of managed actions * \endif * * \if CHINESE * @brief 返回所有管理的actio
src/SARibbon.cpp:12079
↓ 40 callers
Method
sizeHint
* \if ENGLISH * @brief Get size hint * @return Recommended size * \endif * * \if CHINESE * @brief 获取尺寸提示 * @return 推荐尺寸 * \endif */
src/SARibbon.cpp:4371
↓ 38 callers
Method
addSmallWidget
* \if ENGLISH * @brief Adds a widget as a small button * @param w The widget to add * @return The created QWidgetAction * \endif * * \if C
src/SARibbon.cpp:16494
↓ 38 callers
Method
isCategoryVisible
* \if ENGLISH * @brief Check if this category is visible, i.e., the tabbar has this category * @param c SARibbonCategory pointer * @return True
src/SARibbon.cpp:24252
↓ 37 callers
Function
saIsRTL
* \if ENGLISH * @brief Check if the application layout direction is Right-to-Left (RTL) * @return true if layout direction is Qt::RightToLeft, fal
src/SARibbon.cpp:6070
↓ 34 callers
Method
addSmallAction
* \if ENGLISH * @brief Adds a small action * @param action The action to add * \endif * * \if CHINESE * @brief 添加一个小action * @param acti
src/SARibbon.cpp:16251
↓ 34 callers
Method
hide
* \if ENGLISH * @brief Hide the context category * @details This method is equivalent to: * @code * ribbon->hideContextCategory(this); * @en
src/SARibbon.cpp:20762
↓ 34 callers
Method
widget
src/SARibbon.cpp:7074
↓ 34 callers
Method
widget
* \if ENGLISH * @brief Gets the set widget * @return The widget, or nullptr if none is set * \endif * * \if CHINESE * @brief 获取设置的窗口 * @
src/SARibbonBar/SARibbonWidget.cpp:223
↓ 33 callers
Function
saIsRTL
* \if ENGLISH * @brief Check if the application layout direction is Right-to-Left (RTL) * @return true if layout direction is Qt::RightToLeft, fal
src/SARibbonBar/SARibbonUtil.cpp:305
↓ 31 callers
Method
setIcon
* \if ENGLISH * @brief Set the icon * @param i Icon to set * \endif * * \if CHINESE * @brief 设置图标 * @param i 要设置的图标 * \endif */
src/SARibbon.cpp:13482
↓ 30 callers
Method
resize
()
docs/doxygen-doc-file/doxygen-awesome-css/doxygen-awesome-tabs.js:69
↓ 30 callers
Method
text
* \if ENGLISH * @brief Get the text * @return Current text * \endif * * \if CHINESE * @brief 获取文字 * @return 当前文字 * \endif */
src/SARibbon.cpp:13538
↓ 29 callers
Method
data
src/SARibbon.cpp:12365
↓ 29 callers
Method
isNull
src/SARibbon.cpp:12312
↓ 29 callers
Method
isNull
src/SARibbonBar/SARibbonActionsManager.cpp:628
↓ 29 callers
Method
key
* \if ENGLISH * @brief Get key by action * @param act Action pointer * @return Action key, returns empty QString if action not found * \endif
src/SARibbon.cpp:12063
↓ 29 callers
Method
ribbonBar
* \if ENGLISH * @brief Gets the top-level SARibbonBar * @return The ribbon bar, or nullptr if not found * \endif * * \if CHINESE * @brief
src/SARibbon.cpp:17303
↓ 28 callers
Method
addWidget
* \if ENGLISH * @brief Add a widget to the menu * @param w Widget to add * @return QAction pointer * \endif * * \if CHINESE * @brief 向菜单
src/SARibbonBar/SARibbonMenu.cpp:125
↓ 27 callers
Method
color
* \if ENGLISH * @brief Get color * @return Current color * \endif * * \if CHINESE * @brief 获取颜色 * @return 当前颜色 * \endif */
src/SARibbon.cpp:5301
↓ 27 callers
Method
data
* \if ENGLISH * @brief Get data for role * @param role Data role * @return Data value * \endif * * \if CHINESE * @brief 获取角色的数据 * @par
src/SARibbonBar/SARibbonGalleryItem.cpp:99
↓ 27 callers
Method
sizeHint
* \if ENGLISH * @brief Get the recommended size for the layout * @return The recommended size * \endif * * \if CHINESE * @brief 获取布局的推荐尺寸
src/SARibbonBar/SARibbonBarLayout.cpp:695
↓ 26 callers
Method
setData
* \if ENGLISH * @brief Set data for role * @param role Data role * @param data Data value * \endif * * \if CHINESE * @brief 为角色设置数据 *
src/SARibbon.cpp:20882
↓ 25 callers
Method
setText
* \if ENGLISH * @brief Set text * @param text Text * \endif * * \if CHINESE * @brief 设置文本 * @param text 文本 * \endif */
src/SARibbonBar/SARibbonGalleryItem.cpp:129
↓ 24 callers
Method
addSeparator
* \if ENGLISH * @brief Adds a separator to the button group * @return The added separator action * \endif * * \if CHINESE * @brief 向按钮组添加一
src/SARibbon.cpp:8418
↓ 23 callers
Method
insert
* \if ENGLISH * @brief Insert item at row * @param row Insert position * @param item SARibbonGalleryItem pointer * \endif * * \if CHINESE
src/SARibbon.cpp:21613
↓ 23 callers
Method
key
* \if ENGLISH * @brief Get key by action * @param act Action pointer * @return Action key, returns empty QString if action not found * \endif
src/SARibbonBar/SARibbonActionsManager.cpp:379
↓ 22 callers
Method
actionType
* \if ENGLISH * @brief Get the action type of the CustomizeData * @return Action type * \endif * * \if CHINESE * @brief 获取CustomizeData的ac
src/SARibbon.cpp:29601
↓ 22 callers
Method
actionType
* \if ENGLISH * @brief Get the action type of the CustomizeData * @return Action type * \endif * * \if CHINESE * @brief 获取CustomizeData的ac
src/SARibbonBar/SARibbonCustomizeData.cpp:33
↓ 22 callers
Method
count
* \if ENGLISH * @brief Get the number of layout items * @return The number of layout items * \endif * * \if CHINESE * @brief 获取布局项的数量 *
src/SARibbonBar/SARibbonBarLayout.cpp:679
↓ 22 callers
Method
itemObjectName
* \if ENGLISH * @brief Get the object name corresponding to the item * @param item QStandardItem to get object name from * @return Object name,
src/SARibbon.cpp:31087
↓ 22 callers
Method
itemObjectName
* \if ENGLISH * @brief Get the object name corresponding to the item * @param item QStandardItem to get object name from * @return Object name,
src/SARibbonBar/SARibbonCustomizeWidget.cpp:636
↓ 22 callers
Method
setData
* \if ENGLISH * @brief Set data for role * @param role Data role * @param data Data value * \endif * * \if CHINESE * @brief 为角色设置数据 *
src/SARibbonBar/SARibbonGalleryItem.cpp:81
↓ 21 callers
Method
hide
* \if ENGLISH * @brief Hide the context category * @details This method is equivalent to: * @code * ribbon->hideContextCategory(this); * @en
src/SARibbonBar/SARibbonContextCategory.cpp:302
↓ 19 callers
Method
clear
src/SARibbon.cpp:11711
↓ 19 callers
Method
insert
* \if ENGLISH * @brief Insert item at row * @param row Insert position * @param item SARibbonGalleryItem pointer * \endif * * \if CHINESE
src/SARibbonBar/SARibbonGalleryGroup.cpp:401
↓ 19 callers
Method
show
* \if ENGLISH * @brief Show the context category * @details This method is equivalent to: * @code * ribbon->showContextCategory(this); * @en
src/SARibbonBar/SARibbonContextCategory.cpp:326
↓ 18 callers
Method
remove
* \if ENGLISH * @brief Remove item by action object name * @param act_object_name Action object name * @return Result of removal operation * \
src/SARibbon.cpp:21678
↓ 18 callers
Function
saMirrorX
* \if ENGLISH * @brief Mirror X coordinate for RTL layout support * @param x The original X coordinate * @param containerWidth The width of the
src/SARibbon.cpp:6092
↓ 17 callers
Method
drawPrimitive
src/SARibbon.cpp:8844
↓ 17 callers
Method
drawPrimitive
src/SARibbonBar/SARibbonToolButton.cpp:97
↓ 16 callers
Method
addAction
* \if ENGLISH * @brief Adds an action to the panel * * This is the primary method for populating the panel. The button created for this action w
src/SARibbonBar/SARibbonPanel.cpp:371
↓ 16 callers
Method
categoryName
* \if ENGLISH * @brief Get the category name * @return Current category name (i.e., windowTitle) * \endif * * \if CHINESE * @brief 获取Categ
src/SARibbon.cpp:18050
↓ 16 callers
Method
categoryName
* \if ENGLISH * @brief Get the category name * @return Current category name (i.e., windowTitle) * \endif * * \if CHINESE * @brief 获取Categ
src/SARibbonBar/SARibbonCategory.cpp:297
↓ 15 callers
Method
setIcon
* \if ENGLISH * @brief Set icon * @param ico Icon * \endif * * \if CHINESE * @brief 设置图标 * @param ico 图标 * \endif */
src/SARibbonBar/SARibbonGalleryItem.cpp:199
↓ 14 callers
Method
exec
* \if ENGLISH * @brief Run event loop modally in popup mode * @details This method is only valid in popup mode: * @details 1. Show window * @d
src/SARibbon.cpp:12971
↓ 14 callers
Function
scaleSizeByHeight
* @brief 按照指定的新高度,保持宽高比缩放 QSize * * 此函数根据原始尺寸的宽高比,计算出在指定新高度下的对应宽度, * 并返回一个新的 QSize 对象。 * * @param originalSize 原始尺寸。 * @param newHeight
src/SARibbon.cpp:5823
↓ 14 callers
Function
scaleSizeByHeight
* @brief 按照指定的新高度,保持宽高比缩放 QSize * * 此函数根据原始尺寸的宽高比,计算出在指定新高度下的对应宽度, * 并返回一个新的 QSize 对象。 * * @param originalSize 原始尺寸。 * @param newHeight
src/SARibbonBar/SARibbonUtil.cpp:58
↓ 14 callers
Method
setRibbonStyle
* \if ENGLISH * @brief Set the ribbon bar style * This function will reset all elements, including button layout * Especially when changing from
src/SARibbon.cpp:25460
↓ 13 callers
Method
addItem
* \if ENGLISH * @brief Add a layout item * @param item The layout item to add * \endif * * \if CHINESE * @brief 添加布局项 * @param item 要添加
src/SARibbonBar/SARibbonBarLayout.cpp:621
↓ 13 callers
Method
at
src/SARibbon.cpp:12301
↓ 12 callers
Method
at
* \if ENGLISH * @brief Get item at row * @param row Row index * @return SARibbonGalleryItem pointer * \endif * * \if CHINESE * @brief 获取
src/SARibbonBar/SARibbonGalleryGroup.cpp:383
↓ 12 callers
Method
isEnableWordWrap
* @brief Checks if automatic text wrapping is enabled / 检查是否启用了自动文字换行 * @return `true` if word wrap is enabled; otherwise `false` / 如果启用了文字换行则返回 `tr
src/SARibbon.cpp:10046
↓ 12 callers
Method
ribbonAlignment
* \if ENGLISH * @brief Get ribbon alignment * @return Current ribbon alignment * \endif * * \if CHINESE * @brief ribbon的对齐方式 * @return 当
src/SARibbon.cpp:26452
↓ 12 callers
Method
setRibbonAlignment
* \if ENGLISH * @brief Set ribbon alignment * @param al Ribbon alignment * \endif * * \if CHINESE * @brief 设置ribbon的对齐方式 * @param al 对齐方
src/SARibbon.cpp:26432
↓ 12 callers
Method
setSpacing
* \if ENGLISH * @brief Set spacing * @param v Spacing value * \endif * * \if CHINESE * @brief 设置间隔 * @param v 间隔值 * \endif */
src/SARibbon.cpp:4005
↓ 12 callers
Method
update
src/SARibbon.cpp:12402
↓ 11 callers
Method
categoryByObjectName
* \if ENGLISH * @brief Find category by object name * @param objname Object name * @return Returns nullptr if not found, returns the first found
src/SARibbon.cpp:24067
↓ 11 callers
Method
categoryByObjectName
* \if ENGLISH * @brief Find category by object name * @param objname Object name * @return Returns nullptr if not found, returns the first found
src/SARibbonBar/SARibbonBar.cpp:876
↓ 11 callers
Method
panelName
src/SARibbon.cpp:15919
↓ 11 callers
Method
panelName
src/SARibbonBar/SARibbonPanel.cpp:120
↓ 11 callers
Method
parentWidget
src/SARibbon.cpp:20594
↓ 11 callers
Function
saMirrorX
* \if ENGLISH * @brief Mirror X coordinate for RTL layout support * @param x The original X coordinate * @param containerWidth The width of the
src/SARibbonBar/SARibbonUtil.cpp:327
↓ 11 callers
Method
setCategoryName
* \if ENGLISH * @brief Set the category name * @param title New name (equivalent to setWindowTitle) * \endif * * \if CHINESE * @brief 设置Ca
src/SARibbon.cpp:18066
↓ 11 callers
Method
text
* \if ENGLISH * @brief Get text * @return Text * \endif * * \if CHINESE * @brief 获取文本 * @return 文本 * \endif */
src/SARibbonBar/SARibbonGalleryItem.cpp:145
↓ 11 callers
Method
toPanelWidget
src/SARibbon.cpp:20453
↓ 11 callers
Method
toPanelWidget
src/SARibbonBar/SARibbonCategoryLayout.cpp:1201
↓ 10 callers
Method
clear
* \if ENGLISH * @brief Clear all items * \endif * * \if CHINESE * @brief 清空所有项目 * \endif */
src/SARibbonBar/SARibbonGalleryGroup.cpp:358
↓ 10 callers
Method
registeAction
* \if ENGLISH * @brief Register action to the manager * @param act Action to register * @param tag Tag can be combined by bitwise OR, see @ref A
src/SARibbon.cpp:11858
↓ 10 callers
Method
relayout
src/SARibbon.cpp:23594
↓ 10 callers
Method
relayout
src/SARibbonBar/SARibbonBar.cpp:403
↓ 10 callers
Method
resetSize
* \if ENGLISH * @brief Reset the size * \endif * * \if CHINESE * @brief 重置尺寸 * \endif */
src/SARibbon.cpp:28544
↓ 10 callers
Method
resetSize
* \if ENGLISH * @brief Reset the size * \endif * * \if CHINESE * @brief 重置尺寸 * \endif */
src/SARibbonBar/SARibbonBarLayout.cpp:1375
↓ 10 callers
Method
rightButtonGroup
* \if ENGLISH * @brief Get the right button group pointer * @return Returns nullptr if not created * \endif * * \if CHINESE * @brief 返回右边的
src/SARibbon.cpp:25342
↓ 10 callers
Method
setSpacing
* \if ENGLISH * @brief Sets the spacing between elements in the panel * * This function is typically called by `SARibbonBar` and is protected to
src/SARibbonBar/SARibbonPanel.cpp:1531
↓ 10 callers
Method
setToolTip
* \if ENGLISH * @brief Set tool tip * @param text Tool tip text * \endif * * \if CHINESE * @brief 设置工具提示 * @param text 工具提示文本 * \endif
src/SARibbon.cpp:20965
↓ 9 callers
Method
loadFromJson
* \if ENGLISH * @brief Load palette from a JSON byte array * @param[in] json Raw JSON data containing the palette definition * @return true if t
src/SARibbon.cpp:6621
↓ 9 callers
Method
move
* \if ENGLISH * @brief Moves an item from one index to another * @param from The current index of the item * @param to The new index for the ite
src/SARibbon.cpp:14695
↓ 9 callers
Method
move
* \if ENGLISH * @brief Moves an item from one index to another * @param from The current index of the item * @param to The new index for the ite
src/SARibbonBar/SARibbonPanelLayout.cpp:480
↓ 9 callers
Method
setButtonType
* \if ENGLISH * @brief Sets the button type to LargeButton or SmallButton * * Changing the button type will invalidate the size hint and trigger
src/SARibbon.cpp:9924
↓ 9 callers
Method
setIconSize
* \if ENGLISH * @brief Sets the icon size * @param ic Icon size * \endif * * \if CHINESE * @brief 设置图标大小 * @param ic 图标大小 * \endif *
src/SARibbon.cpp:8332
↓ 9 callers
Method
setIconSize
* @brief SARibbonTitleIconWidget::setIconSize * 设置图标大小 * @param size 图标尺寸 */
src/SARibbonBar/SARibbonTitleIconWidget.cpp:68
↓ 9 callers
Method
setupUi
src/SARibbon.cpp:30653
↓ 8 callers
Method
action
* \if ENGLISH * @brief Get action by key * @param key Action key * @return Action pointer, returns nullptr if key not found * \endif * * \
src/SARibbon.cpp:12045
next →
1–100 of 2,356, ranked by callers