comparison widgets/PropertyBox.cpp @ 1281:fc9d9f1103fa horizontal-scale

Provide linear horizontal scale in spectrum as well as log; fix bin positioning and colour scale property box updating; ensure proper background colour and visibility of peak lines
author Chris Cannam
date Thu, 03 May 2018 15:15:15 +0100
parents a34a2a25907c
children 13e17e61f898
comparison
equal deleted inserted replaced
1280:34394e8c2942 1281:fc9d9f1103fa
249 249
250 #ifdef DEBUG_PROPERTY_BOX 250 #ifdef DEBUG_PROPERTY_BOX
251 cerr << "PropertyBox[" << this 251 cerr << "PropertyBox[" << this
252 << "(\"" << m_container->getPropertyContainerName() 252 << "(\"" << m_container->getPropertyContainerName()
253 << "\")]"; 253 << "\")]";
254 cerr << "::updatePropertyEditor(\"" << name << "\"):"; 254 cerr << "::updatePropertyEditor(\"" << name << "\", "
255 cerr << " value " << value << ", have " << have << ", group \"" 255 << rangeChanged << "):";
256 << groupName << "\"" << endl; 256 cerr << " type " << type << ", value " << value
257 << ", have " << have << ", group \"" << groupName << "\"" << endl;
257 #endif 258 #endif
258 259
259 QString groupLabel = groupName; 260 QString groupLabel = groupName;
260 if (groupName == QString()) { 261 if (groupName == QString()) {
261 groupName = "ungrouped: " + name; // not tr(), this is internal id 262 groupName = "ungrouped: " + name; // not tr(), this is internal id