Updated more tool tips to show shortcut configs.

coverity_scan^2
Aesylwinn 9 years ago
parent 8c5fddf150
commit 05888e7925

@ -42,14 +42,14 @@ void CSVRender::InstanceMode::activate (CSVWidget::SceneToolbar *toolbar)
mSubMode->addButton (new InstanceMoveMode (this), "move"); mSubMode->addButton (new InstanceMoveMode (this), "move");
mSubMode->addButton (":placeholder", "rotate", mSubMode->addButton (":placeholder", "rotate",
"Rotate selected instances" "Rotate selected instances"
"<ul><li>Use primary edit to rotate instances freely</li>" "<ul><li>Use {scene-edit-primary} to rotate instances freely</li>"
"<li>Use secondary edit to rotate instances within the grid</li>" "<li>Use {scene-edit-secondary} to rotate instances within the grid</li>"
"</ul>" "</ul>"
"<font color=Red>Not implemented yet</font color>"); "<font color=Red>Not implemented yet</font color>");
mSubMode->addButton (":placeholder", "scale", mSubMode->addButton (":placeholder", "scale",
"Scale selected instances" "Scale selected instances"
"<ul><li>Use primary edit to scale instances freely</li>" "<ul><li>Use {scene-edit-primary} to scale instances freely</li>"
"<li>Use secondary edit to scale instances along the grid</li>" "<li>Use {scene-edit-secondary} to scale instances along the grid</li>"
"</ul>" "</ul>"
"<font color=Red>Not implemented yet</font color>"); "<font color=Red>Not implemented yet</font color>");

@ -4,8 +4,8 @@
CSVRender::InstanceMoveMode::InstanceMoveMode (QWidget *parent) CSVRender::InstanceMoveMode::InstanceMoveMode (QWidget *parent)
: ModeButton (QIcon (QPixmap (":placeholder")), : ModeButton (QIcon (QPixmap (":placeholder")),
"Move selected instances" "Move selected instances"
"<ul><li>Use primary edit to move instances around freely</li>" "<ul><li>Use {scene-edit-primary} to move instances around freely</li>"
"<li>Use secondary edit to move instances around within the grid</li>" "<li>Use {scene-edit-secondary} to move instances around within the grid</li>"
"</ul>" "</ul>"
"<font color=Red>Grid move not implemented yet</font color>", "<font color=Red>Grid move not implemented yet</font color>",
parent) parent)

@ -15,22 +15,28 @@ namespace CSVRender
{ {
addButton(":placeholder", "cube-centre", addButton(":placeholder", "cube-centre",
"Centred cube" "Centred cube"
"<ul><li>Drag with primary (make instances the selection) or secondary (invert selection state) select button from the centre of the selection cube outwards</li>" "<ul><li>Drag with {scene-select-primary} (make instances the selection) or {scene-select-secondary} "
"(invert selection state) from the centre of the selection cube outwards</li>"
"<li>The selection cube is aligned to the word space axis</li>" "<li>The selection cube is aligned to the word space axis</li>"
"<li>If context selection mode is enabled, a drag with primary/secondary edit not starting on an instance will have the same effect</li>" "<li>If context selection mode is enabled, a drag with {scene-edit-primary} or {scene-edit-secondary} not "
"starting on an instance will have the same effect</li>"
"</ul>" "</ul>"
"<font color=Red>Not implemented yet</font color>"); "<font color=Red>Not implemented yet</font color>");
addButton(":placeholder", "cube-corner", addButton(":placeholder", "cube-corner",
"Cube corner to corner" "Cube corner to corner"
"<ul><li>Drag with primary (make instances the selection) or secondary (invert selection state) select button from one corner of the selection cube to the opposite corner</li>" "<ul><li>Drag with {scene-select-primary} (make instances the selection) or {scene-select-secondary} "
"(invert selection state) from one corner of the selection cube to the opposite corner</li>"
"<li>The selection cube is aligned to the word space axis</li>" "<li>The selection cube is aligned to the word space axis</li>"
"<li>If context selection mode is enabled, a drag with primary/secondary edit not starting on an instance will have the same effect</li>" "<li>If context selection mode is enabled, a drag with {scene-edit-primary} or {scene-edit-secondary} not "
"starting on an instance will have the same effect</li>"
"</ul>" "</ul>"
"<font color=Red>Not implemented yet</font color>"); "<font color=Red>Not implemented yet</font color>");
addButton(":placeholder", "sphere", addButton(":placeholder", "sphere",
"Centred sphere" "Centred sphere"
"<ul><li>Drag with primary (make instances the selection) or secondary (invert selection state) select button from the centre of the selection sphere outwards</li>" "<ul><li>Drag with {scene-select-primary} (make instances the selection) or {scene-select-secondary} "
"<li>If context selection mode is enabled, a drag with primary/secondary edit not starting on an instance will have the same effect</li>" "(invert selection state) from the centre of the selection sphere outwards</li>"
"<li>If context selection mode is enabled, a drag with {scene-edit-primary} or {scene-edit-secondary} not "
"starting on an instance will have the same effect</li>"
"</ul>" "</ul>"
"<font color=Red>Not implemented yet</font color>"); "<font color=Red>Not implemented yet</font color>");

Loading…
Cancel
Save