Measure: Implement quick measure as command and make it toggable
The quick measure can considerably slow down the system when selecting part elements. With this change the user is able to turn off this bottleneck.
This commit is contained in:
@@ -723,6 +723,7 @@ MenuItem* StdWorkbench::setupMenuBar() const
|
||||
<< "Separator";
|
||||
#endif
|
||||
*tool << "Std_Measure"
|
||||
<< "Std_QuickMeasure"
|
||||
<< "Std_UnitsCalculator"
|
||||
<< "Separator"
|
||||
<< "Std_ViewLoadImage"
|
||||
@@ -812,7 +813,7 @@ ToolBarItem* StdWorkbench::setupToolBars() const
|
||||
auto view = new ToolBarItem( root );
|
||||
view->setCommand("View");
|
||||
*view << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewGroup" << "Std_AlignToSelection"
|
||||
<< "Separator" << "Std_DrawStyle" << "Std_TreeViewActions" << "Std_Measure";
|
||||
<< "Separator" << "Std_DrawStyle" << "Std_TreeViewActions" << "Std_Measure" << "Std_QuickMeasure";
|
||||
|
||||
// Individual views
|
||||
auto individualViews = new ToolBarItem(root, ToolBarItem::DefaultVisibility::Hidden);
|
||||
|
||||
Reference in New Issue
Block a user