mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-28 16:29:59 +02:00
Fix various typos in source documentation and comments (cont.)
Found via `codespell`
This commit is contained in:
committed by
Laurent Trinques
parent
a76e5446aa
commit
1994235bc5
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user