Fix various typos in source documentation and comments (cont.)

Found via `codespell`
This commit is contained in:
luz paz
2022-12-04 08:21:12 -05:00
committed by Laurent Trinques
parent a76e5446aa
commit 1994235bc5
102 changed files with 277 additions and 277 deletions

View File

@@ -177,7 +177,7 @@ QVariant ProjectDBModel::data(const QModelIndex &index, int role) const
/**
@brief ProjectDBModel::setQuery
Query the internall bd with query.
Query the internal bd with query.
@param query
*/
void ProjectDBModel::setQuery(const QString &query)

View File

@@ -34,7 +34,7 @@ class QETProject;
void ProjectDBModel::setQuery(const QString &query).
The indentifier method is used by widget editor to retrieve
the good widget for edit the query.
By defaut identifer return the string 'unknow'.
By default identifer returns the string 'unknow'.
You should use setIdentfier method to set your custom identifier.
At the time this sentence is written, there is two identifier :
nomenclature

View File

@@ -39,7 +39,7 @@ QetGraphicsHeaderItem::QetGraphicsHeaderItem(QGraphicsItem *parent) :
@brief QetGraphicsHeaderItem::setModel
Set the model presented by this item
Since QetGraphicsHeaderItem don't take ownership of model,
if item already have a model, it's your responsability to delete it.
if item already have a model, it's your responsibility to delete it.
@param model
*/
void QetGraphicsHeaderItem::setModel(QAbstractItemModel *model)

View File

@@ -32,7 +32,7 @@ class QAbstractItemModel;
Margins, to edit the margin between the cell and the text.
Text font.
Text alignment in the cell
These three parameters are not settable directly with the header but trough the model to be displayed by the header.
These three parameters are not settable directly with the header but through the model to be displayed by the header.
Header search these parameters only in the section 0 for cell of header.
By consequence, set data in other section is useless also these parameter can't be set individually for each cell.
The margins is stored in the model in index Qt::UserRole+1 and for value a QString. See QETUtils::marginsFromString and QETUtils::marginsToString

View File

@@ -34,7 +34,7 @@ class QetGraphicsHeaderItem;
Margins, to edit the margin between the cell and the text.
Text font.
Text alignment in the cell
These three parameters are not settable directly with the table but trough the model to be displayed by the table.
These three parameters are not settable directly with the table but through the model to be displayed by the table.
The table search these parameters only in the index(0,0) for all the table.
By consequence, set data in other index than 0,0 is useless also these parameter can't be set individually for each cell.
The margins is stored in the model in index Qt::UserRole+1 and for value a QString. See QETUtils::marginsFromString and QETUtils::marginsToString