dish/CR42003--Shortcuts_improvements

Make action_assets.json compliant with current version of SUIT_ShortcutMgr. Place actions in folders and add icon paths.
This commit is contained in:
dish 2024-09-08 10:51:38 +00:00
parent ae49976071
commit eb95c29a35
4 changed files with 4031 additions and 3653 deletions

View File

@ -115,197 +115,198 @@
<parameter name="%GEOM_ROOT_DIR%/share/salome/resources/geom/action_assets.json" value=""/>
</section>
<section name="shortcuts:GEOM">
<parameter name="Isolines/Increase number" value="Meta+I"/>
<parameter name="Isolines/Decrease number" value="Meta+D"/>
<parameter name="Transparency/Increase" value="Meta+Y"/>
<parameter name="Transparency/Decrease" value="Meta+T"/>
<parameter name="AdvancedGEOM/DividedCylinder" value=""/>
<parameter name="AdvancedGEOM/DividedDisk" value=""/>
<parameter name="AdvancedGEOM/SmoothingSurface" value=""/>
<parameter name="AdvancedGEOM/TShape_Basic" value=""/>
<parameter name="BREPPlugin/Export_BREP" value="Ctrl+E"/>
<parameter name="BREPPlugin/Import_BREP" value="Ctrl+I"/>
<parameter name="IGESPlugin/Export_IGES" value=""/>
<parameter name="IGESPlugin/Import_IGES" value=""/>
<parameter name="STEPPlugin/Export_STEP" value=""/>
<parameter name="STEPPlugin/Import_STEP" value=""/>
<parameter name="STLPlugin/Export_STL" value=""/>
<parameter name="STLPlugin/Import_STL" value=""/>
<parameter name="VTKPlugin/Export_VTK" value=""/>
<parameter name="XAOPlugin/Export_XAO" value=""/>
<parameter name="XAOPlugin/Import_XAO" value=""/>
<parameter name="STB_DELETE" value="Del"/>
<parameter name="STB_POINT" value=""/>
<parameter name="STB_LINE" value=""/>
<parameter name="STB_CIRCLE" value=""/>
<parameter name="STB_ELLIPSE" value=""/>
<parameter name="STB_ARC" value=""/>
<parameter name="STB_CURVE" value=""/>
<parameter name="STB_ISOLINE" value=""/>
<parameter name="STB_VECTOR" value=""/>
<parameter name="STB_PLANE" value=""/>
<parameter name="STB_LOCAL_CS" value=""/>
<parameter name="STB_ORIGIN_AND_VECTORS" value=""/>
<parameter name="STB_SURFACE_FROM_FACE" value=""/>
<parameter name="STB_BOX" value=""/>
<parameter name="STB_CYLINDER" value=""/>
<parameter name="STB_SPHERE" value=""/>
<parameter name="STB_TORUS" value=""/>
<parameter name="STB_CONE" value=""/>
<parameter name="STB_RECTANGLE" value=""/>
<parameter name="STB_DISK" value=""/>
<parameter name="STB_EXTRUSION" value=""/>
<parameter name="STB_REVOLUTION" value=""/>
<parameter name="STB_FILLING" value=""/>
<parameter name="STB_PIPE" value=""/>
<parameter name="STB_PIPE_PATH" value=""/>
<parameter name="STB_THICKNESS" value=""/>
<parameter name="STB_GROUP_CREATE" value=""/>
<parameter name="STB_GROUP_EDIT" value=""/>
<parameter name="STB_GROUP_UNION" value=""/>
<parameter name="STB_GROUP_INTERSECT" value=""/>
<parameter name="STB_GROUP_CUT" value=""/>
<parameter name="STB_FIELD_CREATE" value=""/>
<parameter name="STB_FIELD_EDIT" value=""/>
<parameter name="STB_RELOAD_IMPORTED" value=""/>
<parameter name="STB_Q_FACE" value=""/>
<parameter name="STB_HEX_SOLID" value=""/>
<parameter name="STB_SKETCH" value=""/>
<parameter name="STB_3DSKETCH" value=""/>
<parameter name="STB_EXPLODE" value=""/>
<parameter name="STB_FEATURE_DETECTION" value=""/>
<parameter name="STB_PICTURE_IMPORT" value=""/>
<parameter name="STB_CURVE_CREATOR" value=""/>
<parameter name="STB_EDGE" value=""/>
<parameter name="STB_WIRE" value=""/>
<parameter name="STB_FACE" value=""/>
<parameter name="STB_SHELL" value=""/>
<parameter name="STB_SOLID" value=""/>
<parameter name="STB_COMPOUND" value=""/>
<parameter name="STB_FUSE" value=""/>
<parameter name="STB_COMMON" value=""/>
<parameter name="STB_CUT" value=""/>
<parameter name="STB_SECTION" value=""/>
<parameter name="STB_TRANSLATION" value=""/>
<parameter name="STB_ROTATION" value=""/>
<parameter name="STB_MODIFY_LOCATION" value=""/>
<parameter name="STB_MIRROR" value=""/>
<parameter name="STB_SCALE" value=""/>
<parameter name="STB_OFFSET" value=""/>
<parameter name="STB_PROJECTION" value=""/>
<parameter name="STB_PROJ_ON_CYL" value=""/>
<parameter name="STB_MUL_TRANSLATION" value=""/>
<parameter name="STB_MUL_ROTATION" value=""/>
<parameter name="STB_EXTENSION" value=""/>
<parameter name="STB_PARTITION" value=""/>
<parameter name="STB_ARCHIMEDE" value=""/>
<parameter name="STB_FILLET" value=""/>
<parameter name="STB_CHAMFER" value=""/>
<parameter name="STB_GET_SHAPES_ON_SHAPE" value=""/>
<parameter name="STB_GET_SHARED_SHAPES" value=""/>
<parameter name="STB_TRANSFER_DATA" value=""/>
<parameter name="STB_EXTRACTION" value=""/>
<parameter name="STB_EXTRUDED_CUT" value=""/>
<parameter name="STB_EXTRUDED_BOSS" value=""/>
<parameter name="STB_FILLET_1D" value=""/>
<parameter name="STB_FILLET_2D" value=""/>
<parameter name="STB_MUL_TRANSFORM" value=""/>
<parameter name="STB_EXPLODE_BLOCKS" value=""/>
<parameter name="STB_PROPAGATE" value=""/>
<parameter name="STB_SEWING" value=""/>
<parameter name="STB_GLUE_FACES" value=""/>
<parameter name="STB_GLUE_EDGES" value=""/>
<parameter name="STB_LIMIT_TOLERANCE" value=""/>
<parameter name="STB_SUPPRESS_FACES" value=""/>
<parameter name="STB_SUPPERSS_HOLES" value=""/>
<parameter name="STB_SHAPE_PROCESS" value=""/>
<parameter name="STB_CLOSE_CONTOUR" value=""/>
<parameter name="STB_SUPPRESS_INT_WIRES" value=""/>
<parameter name="STB_POINT_ON_EDGE" value=""/>
<parameter name="STB_CHECK_FREE_BNDS" value=""/>
<parameter name="STB_CHECK_FREE_FACES" value=""/>
<parameter name="STB_CHANGE_ORIENTATION" value=""/>
<parameter name="STB_REMOVE_WEBS" value=""/>
<parameter name="STB_REMOVE_EXTRA_EDGES" value=""/>
<parameter name="STB_FUSE_EDGES" value=""/>
<parameter name="STB_UNION_FACES" value=""/>
<parameter name="STB_INSPECT_OBJECT" value=""/>
<parameter name="STB_POINT_COORDS" value=""/>
<parameter name="STB_BASIC_PROPS" value=""/>
<parameter name="STB_MASS_CENTER" value=""/>
<parameter name="STB_INERTIA" value=""/>
<parameter name="STB_NORMALE" value=""/>
<parameter name="STB_BND_BOX" value=""/>
<parameter name="STB_MIN_DIST" value=""/>
<parameter name="STB_MEASURE_ANGLE" value=""/>
<parameter name="STB_MANAGE_DIMENSIONS" value=""/>
<parameter name="STB_ANNOTATION" value=""/>
<parameter name="STB_EDIT_ANNOTATION" value=""/>
<parameter name="STB_DELETE_ANNOTATION" value=""/>
<parameter name="STB_TOLERANCE" value=""/>
<parameter name="STB_WHAT_IS" value=""/>
<parameter name="STB_CHECK" value=""/>
<parameter name="STB_CHECK_COMPOUND" value=""/>
<parameter name="STB_GET_NON_BLOCKS" value=""/>
<parameter name="STB_CHECK_SELF_INTERSECTIONS" value=""/>
<parameter name="STB_FAST_CHECK_INTERSECTIONS" value=""/>
<parameter name="STB_SHAPE_STATISTICS" value=""/>
<parameter name="STB_MATERIALS_LIBRARY" value=""/>
<parameter name="STB_WIREFRAME" value=""/>
<parameter name="STB_SHADING" value=""/>
<parameter name="STB_SHADING_WITH_EDGES" value=""/>
<parameter name="STB_TEXTURE" value=""/>
<parameter name="STB_DISPLAY_ALL" value=""/>
<parameter name="STB_ERASE_ALL" value=""/>
<parameter name="STB_DISPLAY" value=""/>
<parameter name="STB_VECTOR_MODE" value=""/>
<parameter name="STB_VERTICES_MODE" value=""/>
<parameter name="STB_NAME_MODE" value=""/>
<parameter name="STB_VERTEX_SEL_ONLY" value=""/>
<parameter name="STB_EDGE_SEL_ONLY" value=""/>
<parameter name="STB_WIRE_SEL_ONLY" value=""/>
<parameter name="STB_FACE_SEL_ONLY" value=""/>
<parameter name="STB_SHELL_SEL_ONLY" value=""/>
<parameter name="STB_SOLID_SEL_ONLY" value=""/>
<parameter name="STB_COMPOUND_SEL_ONLY" value=""/>
<parameter name="STB_ALL_SEL_ONLY" value=""/>
<parameter name="STB_DISPLAY_ONLY" value=""/>
<parameter name="STB_SHOW_ONLY_CHILDREN" value=""/>
<parameter name="STB_BRING_TO_FRONT" value=""/>
<parameter name="STB_CLS_BRING_TO_FRONT" value=""/>
<parameter name="STB_ERASE" value=""/>
<parameter name="STB_POP_WIREFRAME" value=""/>
<parameter name="STB_POP_SHADING" value=""/>
<parameter name="STB_POP_SHADING_WITH_EDGES" value=""/>
<parameter name="STB_POP_TEXTURE" value=""/>
<parameter name="STB_EDGE_WIDTH" value=""/>
<parameter name="STB_ISOS_WIDTH" value=""/>
<parameter name="STB_POP_VECTORS" value=""/>
<parameter name="STB_POP_VERTICES" value=""/>
<parameter name="STB_POP_SHOW_NAME" value=""/>
<parameter name="STB_POP_DEFLECTION" value=""/>
<parameter name="STB_POP_COLOR" value=""/>
<parameter name="STB_POP_SETTEXTURE" value=""/>
<parameter name="STB_POP_TRANSPARENCY" value=""/>
<parameter name="STB_POP_ISOS" value=""/>
<parameter name="STB_POP_AUTO_COLOR" value=""/>
<parameter name="STB_POP_DISABLE_AUTO_COLOR" value=""/>
<parameter name="STB_POP_CREATE_GROUP" value=""/>
<parameter name="STB_POP_EDIT_FIELD" value=""/>
<parameter name="STB_POP_DISCLOSE_CHILDREN" value=""/>
<parameter name="STB_POP_CONCEAL_CHILDREN" value=""/>
<parameter name="STB_POP_UNPUBLISH_OBJ" value=""/>
<parameter name="STB_POP_PUBLISH_OBJ" value=""/>
<parameter name="STB_POP_POINT_MARKER" value=""/>
<parameter name="STB_POP_MATERIAL_PROPERTIES" value=""/>
<parameter name="STB_POP_PREDEF_MATER_CUSTOM" value=""/>
<parameter name="STB_POP_CREATE_FOLDER" value=""/>
<parameter name="STB_POP_SORT_CHILD_ITEMS" value=""/>
<parameter name="STB_POP_SHOW_DEPENDENCY_TREE" value=""/>
<parameter name="STB_POP_REDUCE_STUDY" value=""/>
<parameter name="STB_POP_SHOW_ALL_DIMENSIONS" value=""/>
<parameter name="STB_POP_HIDE_ALL_DIMENSIONS" value=""/>
<parameter name="STB_POP_SHOW_ALL_ANNOTATIONS" value=""/>
<parameter name="STB_POP_HIDE_ALL_ANNOTATIONS" value=""/>
<parameter name="Edit/DELETE" value="Del"/>
<parameter name="Inspection/ANNOTATION" value=""/>
<parameter name="Inspection/ANNOTATION/DELETE_ANNOTATION" value=""/>
<parameter name="Inspection/ANNOTATION/EDIT_ANNOTATION" value=""/>
<parameter name="Inspection/BASIC_PROPS" value=""/>
<parameter name="Inspection/CHECK" value=""/>
<parameter name="Inspection/CHECK_COMPOUND" value=""/>
<parameter name="Inspection/CHECK_SELF_INTERSECTIONS" value=""/>
<parameter name="Inspection/Dimensions/BND_BOX" value=""/>
<parameter name="Inspection/Dimensions/MANAGE_DIMENSIONS" value=""/>
<parameter name="Inspection/Dimensions/MEASURE_ANGLE" value=""/>
<parameter name="Inspection/Dimensions/MIN_DIST" value=""/>
<parameter name="Inspection/FAST_CHECK_INTERSECTIONS" value=""/>
<parameter name="Inspection/GET_NON_BLOCKS" value=""/>
<parameter name="Inspection/INERTIA" value=""/>
<parameter name="Inspection/MASS_CENTER" value=""/>
<parameter name="Inspection/NORMALE" value=""/>
<parameter name="Inspection/POINT_COORDS" value=""/>
<parameter name="Inspection/SHAPE_STATISTICS" value=""/>
<parameter name="Inspection/TOLERANCE" value=""/>
<parameter name="Inspection/WHAT_IS" value=""/>
<parameter name="NewEntity/Basic/3DSKETCH" value=""/>
<parameter name="NewEntity/Basic/ARC" value=""/>
<parameter name="NewEntity/Basic/CIRCLE" value=""/>
<parameter name="NewEntity/Basic/CURVE" value=""/>
<parameter name="NewEntity/Basic/CURVE_CREATOR" value=""/>
<parameter name="NewEntity/Basic/ELLIPSE" value=""/>
<parameter name="NewEntity/Basic/ISOLINE" value=""/>
<parameter name="NewEntity/Basic/LINE" value=""/>
<parameter name="NewEntity/Basic/LOCAL_CS" value=""/>
<parameter name="NewEntity/Basic/ORIGIN_AND_VECTORS" value=""/>
<parameter name="NewEntity/Basic/PLANE" value=""/>
<parameter name="NewEntity/Basic/POINT" value=""/>
<parameter name="NewEntity/Basic/SKETCH" value=""/>
<parameter name="NewEntity/Basic/SURFACE_FROM_FACE" value=""/>
<parameter name="NewEntity/Basic/VECTOR" value=""/>
<parameter name="NewEntity/Blocks/HEX_SOLID" value=""/>
<parameter name="NewEntity/Blocks/Q_FACE" value=""/>
<parameter name="NewEntity/Build/COMPOUND" value=""/>
<parameter name="NewEntity/Build/EDGE" value=""/>
<parameter name="NewEntity/Build/FACE" value=""/>
<parameter name="NewEntity/Build/SHELL" value=""/>
<parameter name="NewEntity/Build/SOLID" value=""/>
<parameter name="NewEntity/Build/WIRE" value=""/>
<parameter name="NewEntity/EXPLODE" value=""/>
<parameter name="NewEntity/FEATURE_DETECTION" value=""/>
<parameter name="NewEntity/Field/FIELD_CREATE" value=""/>
<parameter name="NewEntity/Field/FIELD_EDIT" value=""/>
<parameter name="NewEntity/Generation/EXTRUSION" value=""/>
<parameter name="NewEntity/Generation/FILLING" value=""/>
<parameter name="NewEntity/Generation/PIPE" value=""/>
<parameter name="NewEntity/Generation/PIPE_PATH" value=""/>
<parameter name="NewEntity/Generation/REVOLUTION" value=""/>
<parameter name="NewEntity/Generation/THICKNESS" value=""/>
<parameter name="NewEntity/Group/GROUP_CREATE" value=""/>
<parameter name="NewEntity/Group/GROUP_CUT" value=""/>
<parameter name="NewEntity/Group/GROUP_EDIT" value=""/>
<parameter name="NewEntity/Group/GROUP_INTERSECT" value=""/>
<parameter name="NewEntity/Group/GROUP_UNION" value=""/>
<parameter name="NewEntity/PICTURE_IMPORT" value=""/>
<parameter name="NewEntity/Primitives/BOX" value=""/>
<parameter name="NewEntity/Primitives/CONE" value=""/>
<parameter name="NewEntity/Primitives/CYLINDER" value=""/>
<parameter name="NewEntity/Primitives/DISK" value=""/>
<parameter name="NewEntity/Primitives/RECTANGLE" value=""/>
<parameter name="NewEntity/Primitives/SPHERE" value=""/>
<parameter name="NewEntity/Primitives/TORUS" value=""/>
<parameter name="Operations/ARCHIMEDE" value=""/>
<parameter name="Operations/Blocks/EXPLODE_BLOCKS" value=""/>
<parameter name="Operations/Blocks/MUL_TRANSFORM" value=""/>
<parameter name="Operations/Blocks/PROPAGATE" value=""/>
<parameter name="Operations/Boolean/COMMON" value=""/>
<parameter name="Operations/Boolean/CUT" value=""/>
<parameter name="Operations/Boolean/FUSE" value=""/>
<parameter name="Operations/Boolean/SECTION" value=""/>
<parameter name="Operations/CHAMFER" value=""/>
<parameter name="Operations/EXTRACTION" value=""/>
<parameter name="Operations/EXTRUDED_BOSS" value=""/>
<parameter name="Operations/EXTRUDED_CUT" value=""/>
<parameter name="Operations/FILLET" value=""/>
<parameter name="Operations/FILLET_1D" value=""/>
<parameter name="Operations/FILLET_2D" value=""/>
<parameter name="Operations/GET_SHAPES_ON_SHAPE" value=""/>
<parameter name="Operations/GET_SHARED_SHAPES" value=""/>
<parameter name="Operations/PARTITION" value=""/>
<parameter name="Operations/TRANSFER_DATA" value=""/>
<parameter name="Operations/Transformation/EXTENSION" value=""/>
<parameter name="Operations/Transformation/MIRROR" value=""/>
<parameter name="Operations/Transformation/MODIFY_LOCATION" value=""/>
<parameter name="Operations/Transformation/MUL_ROTATION" value=""/>
<parameter name="Operations/Transformation/MUL_TRANSLATION" value=""/>
<parameter name="Operations/Transformation/OFFSET" value=""/>
<parameter name="Operations/Transformation/PROJ_ON_CYL" value=""/>
<parameter name="Operations/Transformation/PROJECTION" value=""/>
<parameter name="Operations/Transformation/ROTATION" value=""/>
<parameter name="Operations/Transformation/SCALE" value=""/>
<parameter name="Operations/Transformation/TRANSLATION" value=""/>
<parameter name="Plugins/AdvancedGEOM/DividedCylinder" value=""/>
<parameter name="Plugins/AdvancedGEOM/DividedDisk" value=""/>
<parameter name="Plugins/AdvancedGEOM/SmoothingSurface" value=""/>
<parameter name="Plugins/AdvancedGEOM/TShape_Basic" value=""/>
<parameter name="Plugins/BREPPlugin/Export_BREP" value="Ctrl+E"/>
<parameter name="Plugins/BREPPlugin/Import_BREP" value="Ctrl+I"/>
<parameter name="Plugins/IGESPlugin/Export_IGES" value=""/>
<parameter name="Plugins/IGESPlugin/Import_IGES" value=""/>
<parameter name="Plugins/STEPPlugin/Export_STEP" value=""/>
<parameter name="Plugins/STEPPlugin/Import_STEP" value=""/>
<parameter name="Plugins/STLPlugin/Export_STL" value=""/>
<parameter name="Plugins/STLPlugin/Import_STL" value=""/>
<parameter name="Plugins/VTKPlugin/Export_VTK" value=""/>
<parameter name="Plugins/XAOPlugin/Export_XAO" value=""/>
<parameter name="Plugins/XAOPlugin/Import_XAO" value=""/>
<parameter name="Repair/CHANGE_ORIENTATION" value=""/>
<parameter name="Repair/CHECK_FREE_BNDS" value=""/>
<parameter name="Repair/CHECK_FREE_FACES" value=""/>
<parameter name="Repair/CLOSE_CONTOUR" value=""/>
<parameter name="Repair/FUSE_EDGES" value=""/>
<parameter name="Repair/GLUE_EDGES" value=""/>
<parameter name="Repair/GLUE_FACES" value=""/>
<parameter name="Repair/INSPECT_OBJECT" value=""/>
<parameter name="Repair/LIMIT_TOLERANCE" value=""/>
<parameter name="Repair/POINT_ON_EDGE" value=""/>
<parameter name="Repair/REMOVE_EXTRA_EDGES" value=""/>
<parameter name="Repair/REMOVE_WEBS" value=""/>
<parameter name="Repair/SEWING" value=""/>
<parameter name="Repair/SHAPE_PROCESS" value=""/>
<parameter name="Repair/SUPPERSS_HOLES" value=""/>
<parameter name="Repair/SUPPRESS_FACES" value=""/>
<parameter name="Repair/SUPPRESS_INT_WIRES" value=""/>
<parameter name="Repair/UNION_FACES" value=""/>
<parameter name="Selection/ALL_SEL_ONLY" value=""/>
<parameter name="Selection/COMPOUND_SEL_ONLY" value=""/>
<parameter name="Selection/DisplayMode/POP_SHADING" value=""/>
<parameter name="Selection/DisplayMode/POP_SHADING_WITH_EDGES" value=""/>
<parameter name="Selection/DisplayMode/POP_SHOW_NAME" value=""/>
<parameter name="Selection/DisplayMode/POP_TEXTURE" value=""/>
<parameter name="Selection/DisplayMode/POP_VECTORS" value=""/>
<parameter name="Selection/DisplayMode/POP_VERTICES" value=""/>
<parameter name="Selection/DisplayMode/POP_WIREFRAME" value=""/>
<parameter name="Selection/EDGE_SEL_ONLY" value=""/>
<parameter name="Selection/EDGE_WIDTH" value=""/>
<parameter name="Selection/FACE_SEL_ONLY" value=""/>
<parameter name="Selection/ISOS_WIDTH" value=""/>
<parameter name="Selection/POP_AUTO_COLOR" value=""/>
<parameter name="Selection/POP_COLOR" value=""/>
<parameter name="Selection/POP_CONCEAL_CHILDREN" value=""/>
<parameter name="Selection/POP_CREATE_FOLDER" value=""/>
<parameter name="Selection/POP_CREATE_GROUP" value=""/>
<parameter name="Selection/POP_DEFLECTION" value=""/>
<parameter name="Selection/POP_DISABLE_AUTO_COLOR" value=""/>
<parameter name="Selection/POP_DISCLOSE_CHILDREN" value=""/>
<parameter name="Selection/POP_EDIT_FIELD" value=""/>
<parameter name="Selection/POP_HIDE_ALL_ANNOTATIONS" value=""/>
<parameter name="Selection/POP_HIDE_ALL_DIMENSIONS" value=""/>
<parameter name="Selection/POP_ISOS" value=""/>
<parameter name="Selection/POP_ISOS/Decrease number" value="Meta+D"/>
<parameter name="Selection/POP_ISOS/Increase number" value="Meta+I"/>
<parameter name="Selection/POP_MATERIAL_PROPERTIES" value=""/>
<parameter name="Selection/POP_POINT_MARKER" value=""/>
<parameter name="Selection/POP_PREDEF_MATER_CUSTOM" value=""/>
<parameter name="Selection/POP_PUBLISH_OBJ" value=""/>
<parameter name="Selection/POP_REDUCE_STUDY" value=""/>
<parameter name="Selection/POP_SETTEXTURE" value=""/>
<parameter name="Selection/POP_SHOW_ALL_ANNOTATIONS" value=""/>
<parameter name="Selection/POP_SHOW_ALL_DIMENSIONS" value=""/>
<parameter name="Selection/POP_SHOW_DEPENDENCY_TREE" value=""/>
<parameter name="Selection/POP_SORT_CHILD_ITEMS" value=""/>
<parameter name="Selection/POP_TRANSPARENCY" value=""/>
<parameter name="Selection/POP_TRANSPARENCY/Decrease" value="Meta+T"/>
<parameter name="Selection/POP_TRANSPARENCY/Increase" value="Meta+Y"/>
<parameter name="Selection/POP_UNPUBLISH_OBJ" value=""/>
<parameter name="Selection/RELOAD_IMPORTED" value=""/>
<parameter name="Selection/SHELL_SEL_ONLY" value=""/>
<parameter name="Selection/SOLID_SEL_ONLY" value=""/>
<parameter name="Selection/VERTEX_SEL_ONLY" value=""/>
<parameter name="Selection/WIRE_SEL_ONLY" value=""/>
<parameter name="Tools/CHECK_GEOMETRY" value=""/>
<parameter name="Tools/MATERIALS_LIBRARY" value=""/>
<parameter name="View/BRING_TO_FRONT" value=""/>
<parameter name="View/CLS_BRING_TO_FRONT" value=""/>
<parameter name="View/DISPLAY" value=""/>
<parameter name="View/DISPLAY_ALL" value=""/>
<parameter name="View/DISPLAY_ONLY" value=""/>
<parameter name="View/DisplayMode/NAME_MODE" value=""/>
<parameter name="View/DisplayMode/SHADING" value=""/>
<parameter name="View/DisplayMode/SHADING_WITH_EDGES" value=""/>
<parameter name="View/DisplayMode/TEXTURE" value=""/>
<parameter name="View/DisplayMode/VECTOR_MODE" value=""/>
<parameter name="View/DisplayMode/VERTICES_MODE" value=""/>
<parameter name="View/DisplayMode/WIREFRAME" value=""/>
<parameter name="View/ERASE" value=""/>
<parameter name="View/ERASE_ALL" value=""/>
<parameter name="View/SHOW_ONLY_CHILDREN" value=""/>
</section>
</document>

File diff suppressed because it is too large Load Diff

View File

@ -945,7 +945,23 @@ void GeometryGUI::createGeomAction( const int id, const QString& label, const QS
void GeometryGUI::createGeomAction( const int id, const QString& label, const QString& icolabel,
const int accel, const bool toggle)
{
createGeomAction( id, label, icolabel, accel, toggle, QString( "STB_%1" ).arg( label ) );
createGeomAction( id, label, icolabel, accel, toggle, label );
}
void GeometryGUI::createGeomAction(
const int inMenuIdx,
const QPair<QString, QString>& inModuleIDLastTokenAndPrefix,
const QString& iconID,
const bool toggle
) {
const QString& inModuleIDLastToken = inModuleIDLastTokenAndPrefix.first;
const QString& inModuleIDPrefix = inModuleIDLastTokenAndPrefix.second;
QString inModuleActionID = inModuleIDLastToken;
if (!inModuleIDPrefix.isEmpty())
inModuleActionID = inModuleIDPrefix + "/" + inModuleActionID;
createGeomAction( inMenuIdx, inModuleIDLastToken, iconID, 0 /*keySequenceIntRepresentation*/, toggle, inModuleActionID );
}
//=======================================================================
@ -999,223 +1015,223 @@ void GeometryGUI::initialize( CAM_Application* app )
// ----- create actions --------------
createGeomAction( GEOMOp::OpDelete, "DELETE", "", Qt::Key_Delete );
createGeomAction( GEOMOp::OpDelete, {"DELETE", "Edit"} );
createGeomAction( GEOMOp::OpPoint, "POINT" );
createGeomAction( GEOMOp::OpLine, "LINE" );
createGeomAction( GEOMOp::OpCircle, "CIRCLE" );
createGeomAction( GEOMOp::OpEllipse, "ELLIPSE" );
createGeomAction( GEOMOp::OpArc, "ARC" );
createGeomAction( GEOMOp::OpCurve, "CURVE" );
createGeomAction( GEOMOp::OpIsoline, "ISOLINE" );
createGeomAction( GEOMOp::OpVector, "VECTOR" );
createGeomAction( GEOMOp::OpPlane, "PLANE" );
createGeomAction( GEOMOp::OpLCS, "LOCAL_CS" );
createGeomAction( GEOMOp::OpOriginAndVectors, "ORIGIN_AND_VECTORS" );
createGeomAction( GEOMOp::OpSurfaceFromFace, "SURFACE_FROM_FACE" );
createGeomAction( GEOMOp::OpPoint, {"POINT", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpLine, {"LINE", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpCircle, {"CIRCLE", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpEllipse, {"ELLIPSE", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpArc, {"ARC", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpCurve, {"CURVE", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpIsoline, {"ISOLINE", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpVector, {"VECTOR", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpPlane, {"PLANE", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpLCS, {"LOCAL_CS", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpOriginAndVectors, {"ORIGIN_AND_VECTORS", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpSurfaceFromFace, {"SURFACE_FROM_FACE", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpBox, "BOX" );
createGeomAction( GEOMOp::OpCylinder, "CYLINDER" );
createGeomAction( GEOMOp::OpSphere, "SPHERE" );
createGeomAction( GEOMOp::OpTorus, "TORUS" );
createGeomAction( GEOMOp::OpCone, "CONE" );
createGeomAction( GEOMOp::OpRectangle, "RECTANGLE" );
createGeomAction( GEOMOp::OpDisk, "DISK" );
createGeomAction( GEOMOp::OpBox, {"BOX", "NewEntity/Primitives"} );
createGeomAction( GEOMOp::OpCylinder, {"CYLINDER", "NewEntity/Primitives"} );
createGeomAction( GEOMOp::OpSphere, {"SPHERE", "NewEntity/Primitives"} );
createGeomAction( GEOMOp::OpTorus, {"TORUS", "NewEntity/Primitives"} );
createGeomAction( GEOMOp::OpCone, {"CONE", "NewEntity/Primitives"} );
createGeomAction( GEOMOp::OpRectangle, {"RECTANGLE", "NewEntity/Primitives"} );
createGeomAction( GEOMOp::OpDisk, {"DISK", "NewEntity/Primitives"} );
createGeomAction( GEOMOp::OpPrism, "EXTRUSION" );
createGeomAction( GEOMOp::OpRevolution, "REVOLUTION" );
createGeomAction( GEOMOp::OpFilling, "FILLING" );
createGeomAction( GEOMOp::OpPipe, "PIPE" );
createGeomAction( GEOMOp::OpPipePath, "PIPE_PATH" );
createGeomAction( GEOMOp::OpThickness, "THICKNESS" );
createGeomAction( GEOMOp::OpPrism, {"EXTRUSION", "NewEntity/Generation"} );
createGeomAction( GEOMOp::OpRevolution, {"REVOLUTION", "NewEntity/Generation"} );
createGeomAction( GEOMOp::OpFilling, {"FILLING", "NewEntity/Generation"} );
createGeomAction( GEOMOp::OpPipe, {"PIPE", "NewEntity/Generation"} );
createGeomAction( GEOMOp::OpPipePath, {"PIPE_PATH", "NewEntity/Generation"} );
createGeomAction( GEOMOp::OpThickness, {"THICKNESS", "NewEntity/Generation"} );
createGeomAction( GEOMOp::OpGroupCreate, "GROUP_CREATE" );
createGeomAction( GEOMOp::OpGroupEdit, "GROUP_EDIT" );
createGeomAction( GEOMOp::OpGroupUnion, "GROUP_UNION" );
createGeomAction( GEOMOp::OpGroupIntersect, "GROUP_INTERSECT" );
createGeomAction( GEOMOp::OpGroupCut, "GROUP_CUT" );
createGeomAction( GEOMOp::OpGroupCreate, {"GROUP_CREATE", "NewEntity/Group"} );
createGeomAction( GEOMOp::OpGroupEdit, {"GROUP_EDIT", "NewEntity/Group"} );
createGeomAction( GEOMOp::OpGroupUnion, {"GROUP_UNION", "NewEntity/Group"} );
createGeomAction( GEOMOp::OpGroupIntersect, {"GROUP_INTERSECT", "NewEntity/Group"} );
createGeomAction( GEOMOp::OpGroupCut, {"GROUP_CUT", "NewEntity/Group"} );
createGeomAction( GEOMOp::OpCreateField, "FIELD_CREATE" );
createGeomAction( GEOMOp::OpEditField, "FIELD_EDIT" );
createGeomAction( GEOMOp::OpCreateField, {"FIELD_CREATE", "NewEntity/Field"} );
createGeomAction( GEOMOp::OpEditField, {"FIELD_EDIT", "NewEntity/Field"} );
createGeomAction( GEOMOp::OpReimport, "RELOAD_IMPORTED" );
createGeomAction( GEOMOp::OpReimport, {"RELOAD_IMPORTED", "Selection"} );
createGeomAction( GEOMOp::OpQuadFace, "Q_FACE" );
createGeomAction( GEOMOp::OpHexaSolid, "HEX_SOLID" );
createGeomAction( GEOMOp::OpQuadFace, {"Q_FACE", "NewEntity/Blocks"} );
createGeomAction( GEOMOp::OpHexaSolid, {"HEX_SOLID", "NewEntity/Blocks"} );
createGeomAction( GEOMOp::Op2dSketcher, "SKETCH" );
createGeomAction( GEOMOp::Op3dSketcher, "3DSKETCH" );
createGeomAction( GEOMOp::OpExplode, "EXPLODE" );
createGeomAction( GEOMOp::Op2dSketcher, {"SKETCH", "NewEntity/Basic"} );
createGeomAction( GEOMOp::Op3dSketcher, {"3DSKETCH", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpExplode, {"EXPLODE", "NewEntity"} );
#ifdef WITH_OPENCV
createGeomAction( GEOMOp::OpFeatureDetect,"FEATURE_DETECTION" );
createGeomAction( GEOMOp::OpFeatureDetect, {"FEATURE_DETECTION", "NewEntity"} );
#endif
createGeomAction( GEOMOp::OpPictureImport,"PICTURE_IMPORT" );
createGeomAction( GEOMOp::Op2dPolylineEditor, "CURVE_CREATOR" );
createGeomAction( GEOMOp::OpPictureImport, {"PICTURE_IMPORT", "NewEntity"} );
createGeomAction( GEOMOp::Op2dPolylineEditor, {"CURVE_CREATOR", "NewEntity/Basic"} );
createGeomAction( GEOMOp::OpEdge, "EDGE" );
createGeomAction( GEOMOp::OpWire, "WIRE" );
createGeomAction( GEOMOp::OpFace, "FACE" );
createGeomAction( GEOMOp::OpShell, "SHELL" );
createGeomAction( GEOMOp::OpSolid, "SOLID" );
createGeomAction( GEOMOp::OpCompound, "COMPOUND" );
createGeomAction( GEOMOp::OpEdge, {"EDGE", "NewEntity/Build"} );
createGeomAction( GEOMOp::OpWire, {"WIRE", "NewEntity/Build"} );
createGeomAction( GEOMOp::OpFace, {"FACE", "NewEntity/Build"} );
createGeomAction( GEOMOp::OpShell, {"SHELL", "NewEntity/Build"} );
createGeomAction( GEOMOp::OpSolid, {"SOLID", "NewEntity/Build"} );
createGeomAction( GEOMOp::OpCompound, {"COMPOUND", "NewEntity/Build"} );
createGeomAction( GEOMOp::OpFuse, "FUSE" );
createGeomAction( GEOMOp::OpCommon, "COMMON" );
createGeomAction( GEOMOp::OpCut, "CUT" );
createGeomAction( GEOMOp::OpSection, "SECTION" );
createGeomAction( GEOMOp::OpFuse, {"FUSE", "Operations/Boolean"} );
createGeomAction( GEOMOp::OpCommon, {"COMMON", "Operations/Boolean"} );
createGeomAction( GEOMOp::OpCut, {"CUT", "Operations/Boolean"} );
createGeomAction( GEOMOp::OpSection, {"SECTION", "Operations/Boolean"} );
createGeomAction( GEOMOp::OpTranslate, "TRANSLATION" );
createGeomAction( GEOMOp::OpRotate, "ROTATION" );
createGeomAction( GEOMOp::OpChangeLoc, "MODIFY_LOCATION" );
createGeomAction( GEOMOp::OpMirror, "MIRROR" );
createGeomAction( GEOMOp::OpScale, "SCALE" );
createGeomAction( GEOMOp::OpOffset, "OFFSET" );
createGeomAction( GEOMOp::OpProjection, "PROJECTION" );
createGeomAction( GEOMOp::OpProjOnCyl, "PROJ_ON_CYL" );
createGeomAction( GEOMOp::OpMultiTranslate, "MUL_TRANSLATION" );
createGeomAction( GEOMOp::OpMultiRotate, "MUL_ROTATION" );
createGeomAction( GEOMOp::OpExtension, "EXTENSION" );
createGeomAction( GEOMOp::OpTranslate, {"TRANSLATION", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpRotate, {"ROTATION", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpChangeLoc, {"MODIFY_LOCATION", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpMirror, {"MIRROR", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpScale, {"SCALE", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpOffset, {"OFFSET", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpProjection, {"PROJECTION", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpProjOnCyl, {"PROJ_ON_CYL", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpMultiTranslate, {"MUL_TRANSLATION", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpMultiRotate, {"MUL_ROTATION", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpExtension, {"EXTENSION", "Operations/Transformation"} );
createGeomAction( GEOMOp::OpPartition, "PARTITION" );
createGeomAction( GEOMOp::OpArchimede, "ARCHIMEDE" );
createGeomAction( GEOMOp::OpFillet3d, "FILLET" );
createGeomAction( GEOMOp::OpChamfer, "CHAMFER" );
createGeomAction( GEOMOp::OpShapesOnShape, "GET_SHAPES_ON_SHAPE" );
createGeomAction( GEOMOp::OpSharedShapes, "GET_SHARED_SHAPES" );
createGeomAction( GEOMOp::OpTransferData, "TRANSFER_DATA" );
createGeomAction( GEOMOp::OpExtraction, "EXTRACTION" );
createGeomAction( GEOMOp::OpExtrudedCut, "EXTRUDED_CUT" );
createGeomAction( GEOMOp::OpExtrudedBoss, "EXTRUDED_BOSS" );
createGeomAction( GEOMOp::OpFillet1d, "FILLET_1D" );
createGeomAction( GEOMOp::OpFillet2d, "FILLET_2D" );
createGeomAction( GEOMOp::OpPartition, {"PARTITION", "Operations"} );
createGeomAction( GEOMOp::OpArchimede, {"ARCHIMEDE", "Operations"} );
createGeomAction( GEOMOp::OpFillet3d, {"FILLET", "Operations"} );
createGeomAction( GEOMOp::OpChamfer, {"CHAMFER", "Operations"} );
createGeomAction( GEOMOp::OpShapesOnShape, {"GET_SHAPES_ON_SHAPE", "Operations"} );
createGeomAction( GEOMOp::OpSharedShapes, {"GET_SHARED_SHAPES", "Operations"} );
createGeomAction( GEOMOp::OpTransferData, {"TRANSFER_DATA", "Operations"} );
createGeomAction( GEOMOp::OpExtraction, {"EXTRACTION", "Operations"} );
createGeomAction( GEOMOp::OpExtrudedCut, {"EXTRUDED_CUT", "Operations"} );
createGeomAction( GEOMOp::OpExtrudedBoss, {"EXTRUDED_BOSS", "Operations"} );
createGeomAction( GEOMOp::OpFillet1d, {"FILLET_1D", "Operations"} );
createGeomAction( GEOMOp::OpFillet2d, {"FILLET_2D", "Operations"} );
createGeomAction( GEOMOp::OpMultiTransform, "MUL_TRANSFORM" );
createGeomAction( GEOMOp::OpExplodeBlock, "EXPLODE_BLOCKS" );
createGeomAction( GEOMOp::OpPropagate, "PROPAGATE" );
createGeomAction( GEOMOp::OpMultiTransform, {"MUL_TRANSFORM", "Operations/Blocks"} );
createGeomAction( GEOMOp::OpExplodeBlock, {"EXPLODE_BLOCKS", "Operations/Blocks"} );
createGeomAction( GEOMOp::OpPropagate, {"PROPAGATE", "Operations/Blocks"} );
createGeomAction( GEOMOp::OpSewing, "SEWING" );
createGeomAction( GEOMOp::OpGlueFaces, "GLUE_FACES" );
createGeomAction( GEOMOp::OpGlueEdges, "GLUE_EDGES" );
createGeomAction( GEOMOp::OpLimitTolerance, "LIMIT_TOLERANCE" );
createGeomAction( GEOMOp::OpSuppressFaces, "SUPPRESS_FACES" );
createGeomAction( GEOMOp::OpSuppressHoles, "SUPPERSS_HOLES" );
createGeomAction( GEOMOp::OpShapeProcess, "SHAPE_PROCESS" );
createGeomAction( GEOMOp::OpCloseContour, "CLOSE_CONTOUR" );
createGeomAction( GEOMOp::OpRemoveIntWires, "SUPPRESS_INT_WIRES" );
createGeomAction( GEOMOp::OpAddPointOnEdge, "POINT_ON_EDGE" );
createGeomAction( GEOMOp::OpFreeBoundaries, "CHECK_FREE_BNDS" );
createGeomAction( GEOMOp::OpFreeFaces, "CHECK_FREE_FACES" );
createGeomAction( GEOMOp::OpOrientation, "CHANGE_ORIENTATION" );
createGeomAction( GEOMOp::OpRemoveWebs, "REMOVE_WEBS" );
createGeomAction( GEOMOp::OpRemoveExtraEdges, "REMOVE_EXTRA_EDGES" );
createGeomAction( GEOMOp::OpFuseEdges, "FUSE_EDGES" );
createGeomAction( GEOMOp::OpUnionFaces, "UNION_FACES" );
createGeomAction( GEOMOp::OpInspectObj, "INSPECT_OBJECT" );
createGeomAction( GEOMOp::OpSewing, {"SEWING", "Repair"} );
createGeomAction( GEOMOp::OpGlueFaces, {"GLUE_FACES", "Repair"} );
createGeomAction( GEOMOp::OpGlueEdges, {"GLUE_EDGES", "Repair"} );
createGeomAction( GEOMOp::OpLimitTolerance, {"LIMIT_TOLERANCE", "Repair"} );
createGeomAction( GEOMOp::OpSuppressFaces, {"SUPPRESS_FACES", "Repair"} );
createGeomAction( GEOMOp::OpSuppressHoles, {"SUPPERSS_HOLES", "Repair"} );
createGeomAction( GEOMOp::OpShapeProcess, {"SHAPE_PROCESS", "Repair"} );
createGeomAction( GEOMOp::OpCloseContour, {"CLOSE_CONTOUR", "Repair"} );
createGeomAction( GEOMOp::OpRemoveIntWires, {"SUPPRESS_INT_WIRES", "Repair"} );
createGeomAction( GEOMOp::OpAddPointOnEdge, {"POINT_ON_EDGE", "Repair"} );
createGeomAction( GEOMOp::OpFreeBoundaries, {"CHECK_FREE_BNDS", "Repair"} );
createGeomAction( GEOMOp::OpFreeFaces, {"CHECK_FREE_FACES", "Repair"} );
createGeomAction( GEOMOp::OpOrientation, {"CHANGE_ORIENTATION", "Repair"} );
createGeomAction( GEOMOp::OpRemoveWebs, {"REMOVE_WEBS", "Repair"} );
createGeomAction( GEOMOp::OpRemoveExtraEdges, {"REMOVE_EXTRA_EDGES", "Repair"} );
createGeomAction( GEOMOp::OpFuseEdges, {"FUSE_EDGES", "Repair"} );
createGeomAction( GEOMOp::OpUnionFaces, {"UNION_FACES", "Repair"} );
createGeomAction( GEOMOp::OpInspectObj, {"INSPECT_OBJECT", "Repair"} );
createGeomAction( GEOMOp::OpPointCoordinates, "POINT_COORDS" );
createGeomAction( GEOMOp::OpProperties, "BASIC_PROPS" );
createGeomAction( GEOMOp::OpCenterMass, "MASS_CENTER" );
createGeomAction( GEOMOp::OpInertia, "INERTIA" );
createGeomAction( GEOMOp::OpNormale, "NORMALE" );
createGeomAction( GEOMOp::OpBoundingBox, "BND_BOX" );
createGeomAction( GEOMOp::OpMinDistance, "MIN_DIST" );
createGeomAction( GEOMOp::OpAngle, "MEASURE_ANGLE" );
createGeomAction( GEOMOp::OpManageDimensions, "MANAGE_DIMENSIONS" );
createGeomAction( GEOMOp::OpAnnotation, "ANNOTATION" );
createGeomAction( GEOMOp::OpEditAnnotation, "EDIT_ANNOTATION" );
createGeomAction( GEOMOp::OpDeleteAnnotation, "DELETE_ANNOTATION" );
createGeomAction( GEOMOp::OpPointCoordinates, {"POINT_COORDS", "Inspection"} );
createGeomAction( GEOMOp::OpProperties, {"BASIC_PROPS", "Inspection"} );
createGeomAction( GEOMOp::OpCenterMass, {"MASS_CENTER", "Inspection"} );
createGeomAction( GEOMOp::OpInertia, {"INERTIA", "Inspection"} );
createGeomAction( GEOMOp::OpNormale, {"NORMALE", "Inspection"} );
createGeomAction( GEOMOp::OpBoundingBox, {"BND_BOX", "Inspection/Dimensions"} );
createGeomAction( GEOMOp::OpMinDistance, {"MIN_DIST", "Inspection/Dimensions"} );
createGeomAction( GEOMOp::OpAngle, {"MEASURE_ANGLE", "Inspection/Dimensions"} );
createGeomAction( GEOMOp::OpManageDimensions, {"MANAGE_DIMENSIONS", "Inspection/Dimensions"} );
createGeomAction( GEOMOp::OpAnnotation, {"ANNOTATION", "Inspection"} );
createGeomAction( GEOMOp::OpEditAnnotation, {"EDIT_ANNOTATION", "Inspection/ANNOTATION"} );
createGeomAction( GEOMOp::OpDeleteAnnotation, {"DELETE_ANNOTATION", "Inspection/ANNOTATION"} );
createGeomAction( GEOMOp::OpTolerance, "TOLERANCE" );
createGeomAction( GEOMOp::OpWhatIs, "WHAT_IS" );
createGeomAction( GEOMOp::OpCheckShape, "CHECK" );
createGeomAction( GEOMOp::OpCheckCompound, "CHECK_COMPOUND" );
createGeomAction( GEOMOp::OpGetNonBlocks, "GET_NON_BLOCKS" );
createGeomAction( GEOMOp::OpCheckSelfInters, "CHECK_SELF_INTERSECTIONS" );
createGeomAction( GEOMOp::OpFastCheckInters, "FAST_CHECK_INTERSECTIONS" );
createGeomAction( GEOMOp::OpTolerance, {"TOLERANCE", "Inspection"} );
createGeomAction( GEOMOp::OpWhatIs, {"WHAT_IS", "Inspection"} );
createGeomAction( GEOMOp::OpCheckShape, {"CHECK", "Inspection"} );
createGeomAction( GEOMOp::OpCheckCompound, {"CHECK_COMPOUND", "Inspection"} );
createGeomAction( GEOMOp::OpGetNonBlocks, {"GET_NON_BLOCKS", "Inspection"} );
createGeomAction( GEOMOp::OpCheckSelfInters, {"CHECK_SELF_INTERSECTIONS", "Inspection"} );
createGeomAction( GEOMOp::OpFastCheckInters, {"FAST_CHECK_INTERSECTIONS", "Inspection"} );
#ifndef DISABLE_PLOT2DVIEWER
createGeomAction( GEOMOp::OpShapeStatistics, "SHAPE_STATISTICS" );
createGeomAction( GEOMOp::OpShapeStatistics, {"SHAPE_STATISTICS", "Inspection"} );
#endif
#ifndef DISABLE_PYCONSOLE
#ifdef _DEBUG_ // PAL16821
createGeomAction( GEOMOp::OpCheckGeom, "CHECK_GEOMETRY" );
createGeomAction( GEOMOp::OpCheckGeom, {"CHECK_GEOMETRY", "Tools"} );
#endif
#endif
createGeomAction( GEOMOp::OpMaterialsLibrary, "MATERIALS_LIBRARY" );
createGeomAction( GEOMOp::OpDMWireframe, "WIREFRAME" );
createGeomAction( GEOMOp::OpDMShading, "SHADING" );
createGeomAction( GEOMOp::OpDMShadingWithEdges, "SHADING_WITH_EDGES" );
createGeomAction( GEOMOp::OpDMTexture, "TEXTURE" );
createGeomAction( GEOMOp::OpShowAll, "DISPLAY_ALL" );
createGeomAction( GEOMOp::OpHideAll, "ERASE_ALL" );
createGeomAction( GEOMOp::OpShow, "DISPLAY" );
createGeomAction( GEOMOp::OpSwitchVectors, "VECTOR_MODE");
createGeomAction( GEOMOp::OpSwitchVertices, "VERTICES_MODE");
createGeomAction( GEOMOp::OpSwitchName, "NAME_MODE");
createGeomAction( GEOMOp::OpSelectVertex, "VERTEX_SEL_ONLY" ,"", 0, true );
createGeomAction( GEOMOp::OpSelectEdge, "EDGE_SEL_ONLY", "", 0, true );
createGeomAction( GEOMOp::OpSelectWire, "WIRE_SEL_ONLY", "", 0, true );
createGeomAction( GEOMOp::OpSelectFace, "FACE_SEL_ONLY", "", 0, true );
createGeomAction( GEOMOp::OpSelectShell, "SHELL_SEL_ONLY", "", 0, true );
createGeomAction( GEOMOp::OpSelectSolid, "SOLID_SEL_ONLY", "", 0, true );
createGeomAction( GEOMOp::OpSelectCompound, "COMPOUND_SEL_ONLY", "", 0, true );
createGeomAction( GEOMOp::OpSelectAll, "ALL_SEL_ONLY", "", 0, true );
createGeomAction( GEOMOp::OpShowOnly, "DISPLAY_ONLY" );
createGeomAction( GEOMOp::OpShowOnlyChildren, "SHOW_ONLY_CHILDREN" );
createGeomAction( GEOMOp::OpBringToFront, "BRING_TO_FRONT", "", 0, true );
createGeomAction( GEOMOp::OpClsBringToFront, "CLS_BRING_TO_FRONT" );
createGeomAction( GEOMOp::OpHide, "ERASE" );
createGeomAction( GEOMOp::OpMaterialsLibrary, {"MATERIALS_LIBRARY", "Tools"} );
createGeomAction( GEOMOp::OpDMWireframe, {"WIREFRAME", "View/DisplayMode"} );
createGeomAction( GEOMOp::OpDMShading, {"SHADING", "View/DisplayMode"} );
createGeomAction( GEOMOp::OpDMShadingWithEdges, {"SHADING_WITH_EDGES", "View/DisplayMode"} );
createGeomAction( GEOMOp::OpDMTexture, {"TEXTURE", "View/DisplayMode"} );
createGeomAction( GEOMOp::OpShowAll, {"DISPLAY_ALL", "View"} );
createGeomAction( GEOMOp::OpHideAll, {"ERASE_ALL", "View"} );
createGeomAction( GEOMOp::OpShow, {"DISPLAY", "View"} );
createGeomAction( GEOMOp::OpSwitchVectors, {"VECTOR_MODE", "View/DisplayMode"});
createGeomAction( GEOMOp::OpSwitchVertices, {"VERTICES_MODE", "View/DisplayMode"});
createGeomAction( GEOMOp::OpSwitchName, {"NAME_MODE", "View/DisplayMode"});
createGeomAction( GEOMOp::OpSelectVertex, {"VERTEX_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpSelectEdge, {"EDGE_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpSelectWire, {"WIRE_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpSelectFace, {"FACE_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpSelectShell, {"SHELL_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpSelectSolid, {"SOLID_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpSelectCompound, {"COMPOUND_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpSelectAll, {"ALL_SEL_ONLY", "Selection"}, "", true );
createGeomAction( GEOMOp::OpShowOnly, {"DISPLAY_ONLY", "View"} );
createGeomAction( GEOMOp::OpShowOnlyChildren, {"SHOW_ONLY_CHILDREN", "View"} );
createGeomAction( GEOMOp::OpBringToFront, {"BRING_TO_FRONT", "View"}, "", true );
createGeomAction( GEOMOp::OpClsBringToFront, {"CLS_BRING_TO_FRONT", "View"} );
createGeomAction( GEOMOp::OpHide, {"ERASE", "View"} );
createGeomAction( GEOMOp::OpWireframe, "POP_WIREFRAME", "", 0, true );
createGeomAction( GEOMOp::OpShading, "POP_SHADING", "", 0, true );
createGeomAction( GEOMOp::OpShadingWithEdges, "POP_SHADING_WITH_EDGES", "", 0, true );
createGeomAction( GEOMOp::OpTexture, "POP_TEXTURE", "", 0, true );
createGeomAction( GEOMOp::OpEdgeWidth, "EDGE_WIDTH");
createGeomAction( GEOMOp::OpIsosWidth, "ISOS_WIDTH");
createGeomAction( GEOMOp::OpVectors, "POP_VECTORS", "", 0, true );
createGeomAction( GEOMOp::OpVertices, "POP_VERTICES", "", 0, true );
createGeomAction( GEOMOp::OpShowName, "POP_SHOW_NAME", "", 0, true );
createGeomAction( GEOMOp::OpDeflection, "POP_DEFLECTION" );
createGeomAction( GEOMOp::OpColor, "POP_COLOR" );
createGeomAction( GEOMOp::OpSetTexture, "POP_SETTEXTURE" );
createGeomAction( GEOMOp::OpTransparency, "POP_TRANSPARENCY" );
createGeomAction( GEOMOp::OpIsos, "POP_ISOS" );
createGeomAction( GEOMOp::OpAutoColor, "POP_AUTO_COLOR" );
createGeomAction( GEOMOp::OpNoAutoColor, "POP_DISABLE_AUTO_COLOR" );
createGeomAction( GEOMOp::OpGroupCreatePopup, "POP_CREATE_GROUP" );
createGeomAction( GEOMOp::OpEditFieldPopup, "POP_EDIT_FIELD" );
createGeomAction( GEOMOp::OpDiscloseChildren, "POP_DISCLOSE_CHILDREN" );
createGeomAction( GEOMOp::OpConcealChildren, "POP_CONCEAL_CHILDREN" );
createGeomAction( GEOMOp::OpUnpublishObject, "POP_UNPUBLISH_OBJ" );
createGeomAction( GEOMOp::OpPublishObject, "POP_PUBLISH_OBJ" );
createGeomAction( GEOMOp::OpPointMarker, "POP_POINT_MARKER" );
createGeomAction( GEOMOp::OpMaterialProperties, "POP_MATERIAL_PROPERTIES" );
createGeomAction( GEOMOp::OpPredefMaterCustom, "POP_PREDEF_MATER_CUSTOM" );
createGeomAction( GEOMOp::OpMaterialMenu, "POP_MATERIAL_PROPERTIES");
createGeomAction( GEOMOp::OpWireframe, {"POP_WIREFRAME", "Selection/DisplayMode"}, "", true );
createGeomAction( GEOMOp::OpShading, {"POP_SHADING", "Selection/DisplayMode"}, "", true );
createGeomAction( GEOMOp::OpShadingWithEdges, {"POP_SHADING_WITH_EDGES", "Selection/DisplayMode"}, "", true );
createGeomAction( GEOMOp::OpTexture, {"POP_TEXTURE", "Selection/DisplayMode"}, "", true );
createGeomAction( GEOMOp::OpEdgeWidth, {"EDGE_WIDTH", "Selection"});
createGeomAction( GEOMOp::OpIsosWidth, {"ISOS_WIDTH", "Selection"});
createGeomAction( GEOMOp::OpVectors, {"POP_VECTORS", "Selection/DisplayMode"}, "", true );
createGeomAction( GEOMOp::OpVertices, {"POP_VERTICES", "Selection/DisplayMode"}, "", true );
createGeomAction( GEOMOp::OpShowName, {"POP_SHOW_NAME", "Selection/DisplayMode"}, "", true );
createGeomAction( GEOMOp::OpDeflection, {"POP_DEFLECTION", "Selection"} );
createGeomAction( GEOMOp::OpColor, {"POP_COLOR", "Selection"} );
createGeomAction( GEOMOp::OpSetTexture, {"POP_SETTEXTURE", "Selection"} );
createGeomAction( GEOMOp::OpTransparency, {"POP_TRANSPARENCY", "Selection"} );
createGeomAction( GEOMOp::OpIsos, {"POP_ISOS", "Selection"} );
createGeomAction( GEOMOp::OpAutoColor, {"POP_AUTO_COLOR", "Selection"} );
createGeomAction( GEOMOp::OpNoAutoColor, {"POP_DISABLE_AUTO_COLOR", "Selection"} );
createGeomAction( GEOMOp::OpGroupCreatePopup, {"POP_CREATE_GROUP", "Selection"} );
createGeomAction( GEOMOp::OpEditFieldPopup, {"POP_EDIT_FIELD", "Selection"} );
createGeomAction( GEOMOp::OpDiscloseChildren, {"POP_DISCLOSE_CHILDREN", "Selection"} );
createGeomAction( GEOMOp::OpConcealChildren, {"POP_CONCEAL_CHILDREN", "Selection"} );
createGeomAction( GEOMOp::OpUnpublishObject, {"POP_UNPUBLISH_OBJ", "Selection"} );
createGeomAction( GEOMOp::OpPublishObject, {"POP_PUBLISH_OBJ", "Selection"} );
createGeomAction( GEOMOp::OpPointMarker, {"POP_POINT_MARKER", "Selection"} );
createGeomAction( GEOMOp::OpMaterialProperties, {"POP_MATERIAL_PROPERTIES", "Selection"} );
createGeomAction( GEOMOp::OpPredefMaterCustom, {"POP_PREDEF_MATER_CUSTOM", "Selection"} );
createGeomAction( GEOMOp::OpMaterialMenu, {"POP_MATERIAL_PROPERTIES", "Selection"});
action(GEOMOp::OpMaterialMenu)->setMenu( new QMenu() );
createGeomAction( GEOMOp::OpCreateFolder, "POP_CREATE_FOLDER" );
createGeomAction( GEOMOp::OpSortChildren, "POP_SORT_CHILD_ITEMS" );
createGeomAction( GEOMOp::OpCreateFolder, {"POP_CREATE_FOLDER", "Selection"} );
createGeomAction( GEOMOp::OpSortChildren, {"POP_SORT_CHILD_ITEMS", "Selection"} );
#ifndef DISABLE_GRAPHICSVIEW
createGeomAction( GEOMOp::OpShowDependencyTree, "POP_SHOW_DEPENDENCY_TREE" );
createGeomAction( GEOMOp::OpShowDependencyTree, {"POP_SHOW_DEPENDENCY_TREE", "Selection"} );
#endif
createGeomAction( GEOMOp::OpReduceStudy, "POP_REDUCE_STUDY" );
createGeomAction( GEOMOp::OpShowAllDimensions, "POP_SHOW_ALL_DIMENSIONS" );
createGeomAction( GEOMOp::OpHideAllDimensions, "POP_HIDE_ALL_DIMENSIONS" );
createGeomAction( GEOMOp::OpShowAllAnnotations, "POP_SHOW_ALL_ANNOTATIONS" );
createGeomAction( GEOMOp::OpHideAllAnnotations, "POP_HIDE_ALL_ANNOTATIONS" );
createGeomAction( GEOMOp::OpReduceStudy, {"POP_REDUCE_STUDY", "Selection"} );
createGeomAction( GEOMOp::OpShowAllDimensions, {"POP_SHOW_ALL_DIMENSIONS", "Selection"} );
createGeomAction( GEOMOp::OpHideAllDimensions, {"POP_HIDE_ALL_DIMENSIONS", "Selection"} );
createGeomAction( GEOMOp::OpShowAllAnnotations, {"POP_SHOW_ALL_ANNOTATIONS", "Selection"} );
createGeomAction( GEOMOp::OpHideAllAnnotations, {"POP_HIDE_ALL_ANNOTATIONS", "Selection"} );
// Create actions for increase/decrease transparency shortcuts
createGeomAction( GEOMOp::OpIncrTransparency, "", "", 0, false,
"Transparency/Increase");
"Selection/POP_TRANSPARENCY/Increase");
createGeomAction( GEOMOp::OpDecrTransparency, "", "", 0, false,
"Transparency/Decrease");
"Selection/POP_TRANSPARENCY/Decrease");
// Create actions for increase/decrease number of isolines
createGeomAction( GEOMOp::OpIncrNbIsos, "", "", 0, false,
"Isolines/Increase number");
"Selection/POP_ISOS/Increase number");
createGeomAction( GEOMOp::OpDecrNbIsos, "", "", 0, false,
"Isolines/Decrease number");
"Selection/POP_ISOS/Decrease number");
//createGeomAction( GEOMOp::OpPipeTShape, "PIPETSHAPE" );
//createGeomAction( GEOMOp::OpDividedDisk, "DIVIDEDDISK" );
@ -1849,7 +1865,7 @@ void GeometryGUI::addPluginActions()
application()->desktop(),
false /*toggle*/,
this, SLOT( OnGUIEvent() ),
QString::fromStdString(pdata.name + "/" + adata.label)
QString::fromStdString("Plugins/" + pdata.name + "/" + adata.label)
);
int menuId = -1;

View File

@ -203,6 +203,11 @@ private:
const QString& icon_id = QString(""),
const int key = 0, const bool toggle = false);
void createGeomAction( const int inMenuIdx,
const QPair<QString, QString>& inModuleIDLastTokenAndPrefix,
const QString& iconID = QString(),
const bool toggle = false);
void createPopupItem( const int, const QString& clients, const QString& types,
const bool isSingle = false, const int isVisible = -1,
const bool isExpandAll = false, const bool isOCC = false,