MCPcopy Create free account
hub / github.com/czyt1988/SARibbon / createContextCategory

Method createContextCategory

example/UseNativeFrameExample/mainwindow.cpp:598–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597
598void MainWindow::createContextCategory()
599{
600 SARibbonBar* ribbon = ribbonBar();
601 mContextCategory = ribbon->addContextCategory(("context2"), QColor(), 2);
602 mContextCategory->addCategoryPage(("context2 Page1"));
603 mContextCategory->addCategoryPage(("context2 Page2"));
604}
605
606/**
607 * @brief 创建RightButtonGroup

Callers

nothing calls this directly

Calls 2

addContextCategoryMethod · 0.45
addCategoryPageMethod · 0.45

Tested by

no test coverage detected