mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
a few small corrections
This commit is contained in:
parent
3b32daf15d
commit
15d9708c46
@ -205,6 +205,8 @@ void ElementPropertiesEditorWidget::populateTree()
|
||||
QETInformation::translatedInfoKey(key));
|
||||
qtwi->setData(0, Qt::UserRole, key);
|
||||
qtwi->setText(1, m_data.m_informations.value(key).toString());
|
||||
// Adjust column width
|
||||
ui->m_tree->resizeColumnToContents(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -312,6 +312,7 @@ QStringList QETInformation::elementEditorElementInfoKeys()
|
||||
{
|
||||
QStringList list = { ELMT_LABEL,
|
||||
ELMT_PLANT,
|
||||
ELMT_LOCATION,
|
||||
ELMT_COMMENT,
|
||||
ELMT_FUNCTION,
|
||||
ELMT_DESCRIPTION,
|
||||
@ -322,8 +323,6 @@ QStringList QETInformation::elementEditorElementInfoKeys()
|
||||
ELMT_SUPPLIER,
|
||||
ELMT_QUANTITY,
|
||||
ELMT_UNITY,
|
||||
ELMT_LOCATION,
|
||||
ELMT_PLANT,
|
||||
ELMT_AUX1,
|
||||
ELMT_DESCRIPTION_AUX1,
|
||||
ELMT_DESIGNATION_AUX1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user