void updateAutoComputeState();
+ void deactivateCurrentSelector();
+
+ /// The method updates a Color Scale object in the viewer
+ void updateColorScaleVisibility();
+
signals:
/// Emitted when selection happens in Salome viewer
void salomeViewerSelection();
/// Apply the current transparency value if preview in transparency dialog is switched on
void onTransparencyValueChanged();
- /// Switch on/off preview of transparency change
- void onPreviewStateChanged();
-
protected:
/// Sets the granted operations for the parameter operation. Firstly, it finds the nested features
/// and set them into the operation. Secondly, it asks the module about ids of granted operations.
void createDockWidgets();
/// Extends undo/redo toolbutton's with history menu
- /// \param theObject - in the OpenParts it is a QToolButton by itself,
+ /// \param theObject - in the CADBuilder it is a QToolButton by itself,
/// in salome mode - QAction that creates a button.
/// \param theSignal - void "updateUndoHistory" or "updateRedoHistory" SIGNAL;
/// \param theSlot - onUndo(int) or onRedo(int) SLOT
/// Clear content of temporary directory
void clearTemporaryDir();
+ /// Set current point of view normal to selected planar face
+ /// \param toInvert invert the normal vector
+ void setNormalView(bool toInvert = false);
+
private:
#ifndef HAVE_SALOME
AppElements_MainWindow* myMainWindow; ///< desktop window