1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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:
luz paz
2020-11-30 12:55:48 +03:00
committed by kgv
parent d66f7c0fa2
commit a110c4a377
106 changed files with 211 additions and 207 deletions

View File

@@ -72,7 +72,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 (ViewControl_PropertyView* theParameters,
QMap<QString, QString>& theItems,
const QString& thePrefix = QString());
@@ -81,7 +81,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 (ViewControl_PropertyView* theParameters,
const QString& theKey, const QString& theValue,

View File

@@ -71,7 +71,7 @@ public:
//! \return the table view
QTableView* TableView() const { return myTableView; }
//! Retuns model indices of the selected cells in table view
//! Returns model indices of the selected cells in table view
//! \param theSelectedIndices [out] a container of indices: row to list of columns
Standard_EXPORT void SelectedIndices (QMap<int, QList<int>>& aSelectedIndices) const;

View File

@@ -69,7 +69,7 @@ public:
//! It returns value only for DisplayRole.
//! \param theIndex a model index
//! \param theRole a view role
//! \return value intepreted depending on the given role
//! \return value interpreted depending on the given role
Standard_EXPORT virtual QVariant data (const QModelIndex& theIndex, int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
//! Sets the new value of passed role to tree cell.
@@ -83,7 +83,7 @@ public:
//! \param theSection an index of value in the container
//! \param theIndex a model index
//! \param theRole a view role
//! \return value intepreted depending on the given role
//! \return value interpreted depending on the given role
virtual QVariant headerData (int theSection, Qt::Orientation theOrientation, int theRole = Qt::DisplayRole) const Standard_OVERRIDE
{ return myModelValues ? myModelValues->HeaderData (theSection, theOrientation, theRole) : QVariant(); }

View File

@@ -31,7 +31,7 @@
#include <Standard_WarningsRestore.hxx>
//! \class ViewControl_TableModelValues
//! \brief This is an interace for ViewControl_TableModel to give real values of the model
//! \brief This is an interface for ViewControl_TableModel to give real values of the model
//! It should be filled or redefined.
class ViewControl_TableModelValues
{
@@ -107,7 +107,7 @@ public:
//! \param theRow a model index row
//! \param theColumn a model index column
//! \param theRole a view role
//! \return value intepreted depending on the given role
//! \return value interpreted depending on the given role
Standard_EXPORT virtual QVariant Data (const int theRow, const int theColumn, int theRole = Qt::DisplayRole) const;
//! Sets content of the model index for the given role, it is applied to internal container of values
@@ -123,7 +123,7 @@ public:
//! \param theSection an index of value in the container
//! \param theIndex a model index
//! \param theRole a view role
//! \return value intepreted depending on the given role
//! \return value interpreted depending on the given role
Standard_EXPORT virtual QVariant HeaderData (int theSection, Qt::Orientation theOrientation, int theRole = Qt::DisplayRole) const;
//! Returns flags for the item: ItemIsEnabled | Qt::ItemIsSelectable