mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0031658: Inspector - using AIS_ViewController in View package
- View: using AIS_ViewController, AIS_ViewCube.
This commit is contained in:
@@ -69,6 +69,13 @@ View_ToolBar::View_ToolBar (QWidget* theParent, const bool isUseKeepView)
|
||||
myActionsMap[View_ToolActionType_Trihedron]->setCheckable (true);
|
||||
myActionsMap[View_ToolActionType_Trihedron]->setChecked (false);
|
||||
|
||||
myActionsMap[View_ToolActionType_ViewCube] = new QToolButton (theParent);
|
||||
myActionsMap[View_ToolActionType_ViewCube]->setIcon (QIcon (":/icons/view_cube.png"));
|
||||
myActionsMap[View_ToolActionType_ViewCube]->setToolTip (tr ("View Cube display"));
|
||||
myActionsMap[View_ToolActionType_ViewCube]->setCheckable (true);
|
||||
myActionsMap[View_ToolActionType_ViewCube]->setChecked (false);
|
||||
|
||||
|
||||
if (isUseKeepView)
|
||||
{
|
||||
myActionsMap[View_ToolActionType_KeepViewId] = new QToolButton (theParent);
|
||||
|
Reference in New Issue
Block a user