comparison widgets/PropertyBox.cpp @ 170:bdba24db0446

* minor fixes to tooltip
author Chris Cannam
date Tue, 17 Oct 2006 13:50:17 +0000
parents d4be66d61c04
children 42118892f428
comparison
equal deleted inserted replaced
169:86cee2b060c7 170:bdba24db0446
179 gainDial->setMaximum(50); 179 gainDial->setMaximum(50);
180 gainDial->setPageStep(1); 180 gainDial->setPageStep(1);
181 gainDial->setFixedWidth(24); 181 gainDial->setFixedWidth(24);
182 gainDial->setFixedHeight(24); 182 gainDial->setFixedHeight(24);
183 gainDial->setNotchesVisible(false); 183 gainDial->setNotchesVisible(false);
184 //!!! gainDial->setToolTip(tr("Playback Level"));
185 gainDial->setDefaultValue(0); 184 gainDial->setDefaultValue(0);
186 gainDial->setObjectName(tr("Playback Gain")); 185 gainDial->setObjectName(tr("Playback Gain"));
187 gainDial->setRangeMapper(new LinearRangeMapper 186 gainDial->setRangeMapper(new LinearRangeMapper
188 (-50, 50, -25, 25, tr("dB"))); 187 (-50, 50, -25, 25, tr("dB")));
189 gainDial->setShowToolTip(true); 188 gainDial->setShowToolTip(true);
331 this, SLOT(propertyControllerChanged(int))); 330 this, SLOT(propertyControllerChanged(int)));
332 331
333 if (inGroup) { 332 if (inGroup) {
334 dial->setFixedWidth(24); 333 dial->setFixedWidth(24);
335 dial->setFixedHeight(24); 334 dial->setFixedHeight(24);
336 //!!! dial->setToolTip(propertyLabel);
337 m_groupLayouts[groupName]->addWidget(dial); 335 m_groupLayouts[groupName]->addWidget(dial);
338 } else { 336 } else {
339 dial->setFixedWidth(32); 337 dial->setFixedWidth(32);
340 dial->setFixedHeight(32); 338 dial->setFixedHeight(32);
341 m_layout->addWidget(dial, row, 1); 339 m_layout->addWidget(dial, row, 1);