Mercurial > hg > svgui
diff widgets/PropertyBox.cpp @ 190:53835534a9d3
* Allow user to activate a pane by clicking on the tab for its currently active
layer. Formerly nothing happened if you clicked on the tab that was already
topmost in a given property stack, because the tab widget only emitted a signal
if the current tab changed. We want this to switch focus back to the pane if
another one has been active in the mean time.
* Make the thumbwheels look a bit round.
author | Chris Cannam |
---|---|
date | Mon, 22 Jan 2007 15:42:00 +0000 |
parents | 5b7472db612b |
children | 57c2350a8c40 |
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp Fri Jan 19 13:13:14 2007 +0000 +++ b/widgets/PropertyBox.cpp Mon Jan 22 15:42:00 2007 +0000 @@ -612,22 +612,22 @@ if (!w) return; if (!m_container) return; - QString cname = m_container->objectName(); + QString cname = m_container->getPropertyContainerName(); if (cname == "") return; QString wname = w->objectName(); if (w == m_showButton) { - emit contextHelpChanged(tr("Toggle Visibility of %1 layer").arg(cname)); + emit contextHelpChanged(tr("Toggle Visibility of %1").arg(cname)); } else if (w == m_playButton) { - emit contextHelpChanged(tr("Toggle Playback of %1 layer").arg(cname)); + emit contextHelpChanged(tr("Toggle Playback of %1").arg(cname)); } else if (wname == "") { return; } else if (dynamic_cast<NotifyingCheckBox *>(w)) { - emit contextHelpChanged(tr("Toggle %1 property of %2 layer") + emit contextHelpChanged(tr("Toggle %1 property of %2") .arg(wname).arg(cname)); } else { - emit contextHelpChanged(tr("Adjust %1 property of %2 layer") + emit contextHelpChanged(tr("Adjust %1 property of %2") .arg(wname).arg(cname)); } }