Merge pull request #1584 from Kellermorph/feature/terminal-label-split
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:
Laurent Trinques
2026-10-23 13:41:48 +02:00
committed by GitHub
16 changed files with 1036 additions and 26 deletions
@@ -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);