mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-09 17:09:59 +01: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
@@ -226,7 +226,7 @@ void DynamicTextFieldEditor::fillInfoComboBox()
|
||||
else {
|
||||
strl = QETInformation::elementInfoKeys();
|
||||
}
|
||||
//We use a QMap because the keys of the map are sorted, then no matter the curent local,
|
||||
//We use a QMap because the keys of the map are sorted, then no matter the current local,
|
||||
//the value of the combo box are always alphabetically sorted
|
||||
QMap <QString, QString> info_map;
|
||||
for(const QString& str : strl)
|
||||
|
||||
@@ -76,7 +76,7 @@ ElementPropertiesEditorWidget::~ElementPropertiesEditorWidget()
|
||||
|
||||
/**
|
||||
@brief ElementPropertiesEditorWidget::upDateInterface
|
||||
Update the interface with the curent value
|
||||
Update the interface with the current value
|
||||
*/
|
||||
void ElementPropertiesEditorWidget::upDateInterface()
|
||||
{
|
||||
|
||||
@@ -117,7 +117,7 @@ bool PolygonEditor::setPart(CustomElementPart *new_part)
|
||||
|
||||
/**
|
||||
@brief PolygonEditor::currentPart
|
||||
@return the curent edited part
|
||||
@return the current edited part
|
||||
*/
|
||||
CustomElementPart *PolygonEditor::currentPart() const
|
||||
{
|
||||
|
||||
@@ -329,7 +329,7 @@ void QETElementEditor::fromLocation(const ElementsLocation &location)
|
||||
* @brief QETElementEditor::toLocation
|
||||
* Save the edited element into @location
|
||||
* @param location
|
||||
* @return true if succesfully saved
|
||||
* @return true if successfully saved
|
||||
*/
|
||||
bool QETElementEditor::toLocation(const ElementsLocation &location)
|
||||
{
|
||||
@@ -1259,7 +1259,7 @@ bool QETElementEditor::on_m_save_action_triggered()
|
||||
*/
|
||||
bool QETElementEditor::on_m_save_as_action_triggered()
|
||||
{
|
||||
// Check element befor writing
|
||||
// Check element before writing
|
||||
if (checkElement()) {
|
||||
//Ask a location to user
|
||||
ElementsLocation location = ElementDialog::getSaveElementLocation(this);
|
||||
@@ -1328,7 +1328,7 @@ void QETElementEditor::on_m_open_dxf_action_triggered()
|
||||
|
||||
bool QETElementEditor::on_m_save_as_file_action_triggered()
|
||||
{
|
||||
// Check element befor writing
|
||||
// Check element before writing
|
||||
if (checkElement()) {
|
||||
//Ask a filename to user, for save the element
|
||||
QString fn = QFileDialog::getSaveFileName(
|
||||
|
||||
Reference in New Issue
Block a user