mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
fix typos and whitespace
This commit is contained in:
@@ -399,7 +399,7 @@ ElementsLocation ElementCollectionHandler::createDir(ElementsLocation &parent, c
|
||||
@brief ElementCollectionHandler::importFromProject
|
||||
Import the element represented by location to the embedded collection
|
||||
of project at the same path.
|
||||
location must represente an element owned by a project embedded collection
|
||||
location must represent an element owned by a project embedded collection
|
||||
@param project : project where copy the element
|
||||
@param location : location to copy
|
||||
@return true if import with success
|
||||
|
||||
@@ -713,7 +713,7 @@ void ElementsCollectionWidget::locationWasSaved(
|
||||
const ElementsLocation& location)
|
||||
{
|
||||
//Because this method update an item in the model, location must
|
||||
//represente an existing element (in file system of project)
|
||||
//represent an existing element (in file system of project)
|
||||
if (!location.exist())
|
||||
return;
|
||||
|
||||
|
||||
@@ -591,7 +591,7 @@ bool ElementsLocation::isWritable() const
|
||||
/**
|
||||
@brief ElementsLocation::projectCollection
|
||||
@return
|
||||
If this location represente a item in an embedded project collection,
|
||||
If this location represents an item in an embedded project collection,
|
||||
return this collection else return nullptr.
|
||||
*/
|
||||
XmlElementCollection *ElementsLocation::projectCollection() const
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <QHash>
|
||||
|
||||
/**
|
||||
* Inside this namespace you will fin all information used in QElectrotech for
|
||||
* Inside this namespace you will find all information used in QElectrotech for
|
||||
* element, conductor and diagram.
|
||||
* Each information have 3 values :
|
||||
* #1 the info key = the key of an information as a QString used in the code (example : label)
|
||||
|
||||
@@ -970,7 +970,7 @@ QModelIndex DynamicElementTextModel::indexFromGroup(
|
||||
/**
|
||||
@brief DynamicElementTextModel::indexIsText
|
||||
@param index
|
||||
@return True if index represente a text, both for the column 0 and 1.
|
||||
@return True if index represents a text, both for the column 0 and 1.
|
||||
Return false if index is a child of an index associated to a text.
|
||||
*/
|
||||
bool DynamicElementTextModel::indexIsText(const QModelIndex &index) const
|
||||
@@ -1000,7 +1000,7 @@ bool DynamicElementTextModel::indexIsText(const QModelIndex &index) const
|
||||
/**
|
||||
@brief DynamicElementTextModel::indexIsGroup
|
||||
@param index
|
||||
@return True if index represente a group, both for the column 0 and 1.
|
||||
@return True if index represents a group, both for the column 0 and 1.
|
||||
Return false if index is a child of an index associated to a group.
|
||||
*/
|
||||
bool DynamicElementTextModel::indexIsGroup(const QModelIndex &index) const
|
||||
|
||||
Reference in New Issue
Block a user