1
0
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:
nds
2020-09-10 06:46:26 +03:00
committed by bugmaster
parent 630ab53881
commit ed753e10df
20 changed files with 159 additions and 694 deletions

View File

@@ -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);