mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-05 20:20:52 +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
@@ -34,7 +34,7 @@ class sqlite3;
|
||||
This class wrap a sqlite data base where you can find several thing
|
||||
about the content of a project.
|
||||
*
|
||||
@note this class is still in developement.
|
||||
@note this class is still in development.
|
||||
*/
|
||||
class projectDataBase : public QObject
|
||||
{
|
||||
|
||||
@@ -288,7 +288,7 @@ QString ElementQueryWidget::queryStr() const
|
||||
if (ui->m_edit_sql_query_cb->isChecked()) {
|
||||
return ui->m_sql_query->text();
|
||||
}
|
||||
//Made a string list with the colomns (keys) choosen by the user
|
||||
//Made a string list with the columns (keys) chosen by the user
|
||||
QStringList keys = selectedKeys();
|
||||
|
||||
QString select ="SELECT ";
|
||||
@@ -405,7 +405,7 @@ void ElementQueryWidget::setGroupBy(QString text, bool set)
|
||||
/**
|
||||
@brief ElementQueryWidget::setCount
|
||||
Add the query instruction COUNT.
|
||||
Unlike setGroupBy, you have to write the entire sentance.
|
||||
Unlike setGroupBy, you have to write the entire sentence.
|
||||
ex : text = "COUNT(*) AS designation_qty".
|
||||
the query will contain what you write.
|
||||
@param text : the count instruction
|
||||
@@ -437,7 +437,7 @@ void ElementQueryWidget::updateQueryLine()
|
||||
*/
|
||||
QStringList ElementQueryWidget::selectedKeys() const
|
||||
{
|
||||
//Made a string list with the colomns (keys) choosen by the user
|
||||
//Made a string list with the columns (keys) chosen by the user
|
||||
QStringList keys;
|
||||
int row = 0;
|
||||
while (auto *item = ui->m_choosen_list->item(row))
|
||||
|
||||
@@ -59,7 +59,7 @@ QString SummaryQueryWidget::queryStr() const
|
||||
return ui->m_user_query_le->text();
|
||||
}
|
||||
|
||||
//Made a string list with the colomns (keys) choosen by the user
|
||||
//Made a string list with the columns (keys) choosen by the user
|
||||
QStringList keys = selectedKeys();
|
||||
|
||||
QString select ="SELECT ";
|
||||
@@ -169,7 +169,7 @@ void SummaryQueryWidget::updateQueryLine()
|
||||
*/
|
||||
QStringList SummaryQueryWidget::selectedKeys() const
|
||||
{
|
||||
//Made a string list with the colomns (keys) choosen by the user
|
||||
//Made a string list with the columns (keys) choosen by the user
|
||||
QStringList keys;
|
||||
int row = 0;
|
||||
while (auto *item = ui->m_choosen_list->item(row))
|
||||
|
||||
Reference in New Issue
Block a user