Open rompik opened 2 years ago
The Ribbon menu use the 3rd lib SARibbon: https://github.com/czyt1988/SARibbon
I found the lastest version SARibbon support customize by *.xml file.
I will check it.
Thank you! May be will be reasonable to create uic folder inside PipeCAD and upload xml files, also to Github. So if developed will create new Python functionality he will be able to add to menu and share with others w/out downloading new PipeCad distributive.
Yes, Let user to comtomize menu and link Python function themselves.
Define user actions in PipeCAD.Design.uic if you want to customize actions in Design Module;
In PipeCAD right upper button to customize Ribbon Bar;
This will save to PipeCAD.Design.xml file.
Hello Shing, Please, can you advise how to setup path to external icons in xml files? Currently, I can use only icons from PipeCAD resources like here:
<Action Key="show_revision_manager" Text="Revision Manager" Icon=":/PipeCad/Resources/project_import.png" ToolTip="Revison Manager utiltiy" Module="omp.revmanager" Function="omp.revmanager.showRevManager()" />
Hello Roman,
The icon path is the path of QAction, You can use a local path of the icon.
在 2022-08-30 16:23:44,"Roman PARYGIN" @.***> 写道:
Hello Shing, Please, can you advise how to setup path to external icons in xml files? Currently, I can use only icons from PipeCAD resources like here:
<ActionKey="show_revision_manager"Text="Revision Manager"Icon=":/PipeCad/Resources/project_import.png"ToolTip="Revison Manager utiltiy"Module="omp.revmanager"Function="omp.revmanager.showRevManager()" />
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>
Hello Shing, Are there any customization of Ribbon menu? Is it possible to add possibility to build ribbon menu by loading from xml file like in E3D?