mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-25 07:24:21 +01:00
Merge pull request #1584 from Kellermorph/feature/terminal-label-split
Linux build and tests / Build and test (Qt 6, Debug) (push) Failing after 1m38s
Linux build and tests / Build and test (Qt 6, Debug) (push) Failing after 1m38s
Terminal labelling: option to draw label and number apart, and a Show name box for terminals
This commit is contained in:
@@ -548,6 +548,12 @@ void ElementQueryWidget::setUpItems()
|
||||
{
|
||||
if (key == "formula" || key == "exclude_from_bom")
|
||||
continue;
|
||||
// Terminal number is read-only and not a column of the nomenclature
|
||||
// query, so offering it as an export/query column would break the
|
||||
// export (query fails with "no such column"). It stays available as a
|
||||
// text variable (%{terminal_number}) in the element editor.
|
||||
if (key == QETInformation::ELMT_TERMINAL_NUMBER)
|
||||
continue;
|
||||
|
||||
auto item = new QListWidgetItem(QETInformation::translatedInfoKey(key), ui->m_var_list);
|
||||
item->setData(Qt::UserRole, key);
|
||||
|
||||
Reference in New Issue
Block a user