Mercurial > hg > svgui
diff widgets/PropertyBox.cpp @ 87:4b98bda7e94d
* Add property labels to property containers (so i18n() won't affect file format)
author | Chris Cannam |
---|---|
date | Wed, 03 May 2006 16:48:03 +0000 |
parents | 72fa239a4880 |
children | 0db5e7492ce8 |
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp Wed May 03 14:26:26 2006 +0000 +++ b/widgets/PropertyBox.cpp Wed May 03 16:48:03 2006 +0000 @@ -224,6 +224,7 @@ m_propertyControllers.end()); QString groupName = m_container->getPropertyGroupName(name); + QString propertyLabel = m_container->getPropertyLabel(name); #ifdef DEBUG_PROPERTY_BOX std::cerr << "PropertyBox[" << this @@ -251,9 +252,9 @@ } } else { #ifdef DEBUG_PROPERTY_BOX - std::cerr << "PropertyBox: adding label \"" << name.toStdString() << "\"" << std::endl; + std::cerr << "PropertyBox: adding label \"" << propertyLabel.toStdString() << "\"" << std::endl; #endif - m_layout->addWidget(new QLabel(name, m_mainWidget), row, 0); + m_layout->addWidget(new QLabel(propertyLabel, m_mainWidget), row, 0); } }