mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0031939: Coding - correction of spelling errors in comments [part 2]
Fix various typos Fixed via `codespell v2.0.dev`
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
virtual ~View_DisplayPreview() {}
|
||||
|
||||
//! Stores the current context where the presentations will be displayed/erased.
|
||||
//! Erases previuously displayd presentations if there were some displayed
|
||||
//! Erases previuously displayed presentations if there were some displayed
|
||||
//! \param theContext a context instance
|
||||
Standard_EXPORT void SetContext (const Handle(AIS_InteractiveContext)& theContext);
|
||||
|
||||
|
@@ -53,7 +53,7 @@ public:
|
||||
View_DisplayPreview* DisplayPreview() const { return myDisplayPreview; }
|
||||
|
||||
//! Stores the current context where the presentations will be displayed/erased.
|
||||
//! Erases previuously displayd presentations if there were some displayed
|
||||
//! Erases previuously displayed presentations if there were some displayed
|
||||
//! \param theContext a context instance
|
||||
Standard_EXPORT void SetContext (const Handle(AIS_InteractiveContext)& theContext);
|
||||
|
||||
@@ -62,10 +62,10 @@ public:
|
||||
//! \param theToKeepPresentation boolean state
|
||||
void KeepPresentations (const bool theToKeepPresentations) { myIsKeepPresentations = theToKeepPresentations; }
|
||||
|
||||
//! Returns true if fit Fit All should be peformed automatically by each Display
|
||||
//! Returns true if fit Fit All should be performed automatically by each Display
|
||||
bool IsFitAllActive() const { return myFitAllActive; }
|
||||
|
||||
//! Stores flag whether the FitAll shoud be done automatically for each display
|
||||
//! Stores flag whether the FitAll should be done automatically for each display
|
||||
//! \param theFitAllActive boolean value
|
||||
void SetFitAllActive (const bool theFitAllActive) { myFitAllActive = theFitAllActive; }
|
||||
|
||||
@@ -199,7 +199,7 @@ private:
|
||||
NCollection_DataMap<View_PresentationType, Quantity_Color> myColorAttributes; //!< color properties of presentations
|
||||
|
||||
bool myIsKeepPresentations; //!< flag if previously shown presentations stays in the context by displaying a new one
|
||||
bool myFitAllActive; //!< flag if Fit All should be peformed automatically by each Display
|
||||
bool myFitAllActive; //!< flag if Fit All should be performed automatically by each Display
|
||||
int myDisplayMode; //!< display mode: 0 - AIS_WireFrame, 1 - AIS_Shaded
|
||||
};
|
||||
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
//! - columns width
|
||||
//! \param theTreeView a view instance
|
||||
//! \param theItems [out] properties
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
static void SaveState (View_PreviewParameters* theParameters,
|
||||
QMap<QString, QString>& theItems,
|
||||
const QString& thePrefix = QString())
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
//! \param theTreeView a view instance
|
||||
//! \param theKey property key
|
||||
//! \param theValue property value
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
//! \return boolean value whether the property is applied to the tree view
|
||||
static bool RestoreState (View_PreviewParameters* theParameters,
|
||||
const QString& theKey, const QString& theValue,
|
||||
|
@@ -77,7 +77,7 @@ public:
|
||||
//! Saves state of tool bar actions
|
||||
//! \param theToolBar a view instance
|
||||
//! \param theItems [out] properties
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
Standard_EXPORT static void SaveState (View_ToolBar* theToolBar,
|
||||
QMap<QString, QString>& theItems,
|
||||
const QString& thePrefix = QString());
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
//! \param theToolBar a view instance
|
||||
//! \param theKey property key
|
||||
//! \param theValue property value
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
//! \return boolean value whether the property is applied to the tree view
|
||||
Standard_EXPORT static bool RestoreState (View_ToolBar* theToolBar,
|
||||
const QString& theKey, const QString& theValue,
|
||||
|
@@ -36,7 +36,7 @@ class View_Viewer;
|
||||
//! \class View_Widget
|
||||
//! \brief It is a Qt control that visualizes content of OCCT 3D view
|
||||
//! It creates control and actions of manipulating of this view,
|
||||
//! emits signal about selection happenning in the view and signal about display mode change and
|
||||
//! emits signal about selection happening in the view and signal about display mode change and
|
||||
//! changes application cursor depending on an active action.
|
||||
class View_Widget : public QWidget
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
//! \param theActionId an action index
|
||||
QAction* ViewAction (const View_ViewActionType theActionId) const { return myViewActions[theActionId]; };
|
||||
|
||||
//! Retuns an action widget if exist. Implemented for fit all widget.
|
||||
//! Returns an action widget if exist. Implemented for fit all widget.
|
||||
//! \param theActionId an action index
|
||||
QWidget* GetWidget (const View_ViewActionType theActionId) const { return theActionId == View_ViewActionType_FitAllId ? myFitAllAction : 0; };
|
||||
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
//! Saves state of widget actions
|
||||
//! \param theParameters a view instance
|
||||
//! \param theItems [out] properties
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
Standard_EXPORT static void SaveState (View_Widget* theWidget,
|
||||
QMap<QString, QString>& theItems,
|
||||
const QString& thePrefix = QString());
|
||||
@@ -113,7 +113,7 @@ public:
|
||||
//! \param theParameters a view instance
|
||||
//! \param theKey property key
|
||||
//! \param theValue property value
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
//! \return boolean value whether the property is applied to the tree view
|
||||
Standard_EXPORT static bool RestoreState (View_Widget* theWidget,
|
||||
const QString& theKey, const QString& theValue,
|
||||
|
@@ -81,7 +81,7 @@ public:
|
||||
//! - columns width
|
||||
//! \param theTreeView a view instance
|
||||
//! \param theItems [out] properties
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
Standard_EXPORT static void SaveState (View_Window* theView, QMap<QString, QString>& theItems,
|
||||
const QString& thePrefix = QString());
|
||||
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
//! \param theTreeView a view instance
|
||||
//! \param theKey property key
|
||||
//! \param theValue property value
|
||||
//! \param thePrefix peference item prefix
|
||||
//! \param thePrefix preference item prefix
|
||||
//! \return boolean value whether the property is applied to the tree view
|
||||
Standard_EXPORT static bool RestoreState (View_Window* theView, const QString& theKey, const QString& theValue,
|
||||
const QString& thePrefix = QString());
|
||||
|
Reference in New Issue
Block a user