paysages: Small changes.

git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@284 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
This commit is contained in:
Michaël Lemaire 2012-04-02 19:48:46 +00:00 committed by ThunderK
parent 87382b9934
commit a7e1c8e5d8
2 changed files with 40 additions and 4 deletions

View file

@ -3,6 +3,7 @@
#include <QWidget>
#include <QPushButton>
#include <QVBoxLayout>
#include <QLabel>
#include "widgetwanderer.h"
DialogWanderer::DialogWanderer(QWidget* parent, CameraDefinition* camera, bool camera_validable) : QDialog(parent)
@ -20,6 +21,8 @@ DialogWanderer::DialogWanderer(QWidget* parent, CameraDefinition* camera, bool c
panel = new QWidget(this);
panel->setLayout(new QVBoxLayout());
panel->setMaximumWidth(230);
panel->layout()->addWidget(new QLabel(tr("COMMANDS\n\nLeft click : Look around\nRight click : Pan (adjust framing)\nWheel : Move forward/backward\nHold SHIFT : Slower\nHold CTRL : Faster"), panel));
button = new QPushButton(tr("Reset camera"), panel);
panel->layout()->addWidget(button);

View file

@ -164,22 +164,55 @@ Cliquez avec le bouton droit sur un point pour le supprimer.</translation>
<context>
<name>DialogWanderer</name>
<message>
<location filename="../gui_qt/dialogwanderer.cpp" line="14"/>
<location filename="../gui_qt/dialogwanderer.cpp" line="15"/>
<source>Paysages 3D - Explore</source>
<translation>Paysages 3D - Exploration</translation>
</message>
<message>
<location filename="../gui_qt/dialogwanderer.cpp" line="24"/>
<source>COMMANDS
Left click : Look around
Right click : Pan (adjust framing)
Wheel : Move forward/backward
Hold SHIFT : Faster
Hold CTRL : Slower</source>
<translation type="obsolete">COMMANDES
Clic gauche : Regarder autour
Clic droit : Déplacer le cadrage
Molette : Avancer/reculer
Maintenir MAJ : Plus rapide
Maintenir Ctrl : Plus lent</translation>
</message>
<message>
<location filename="../gui_qt/dialogwanderer.cpp" line="25"/>
<source>COMMANDS
Left click : Look around
Right click : Pan (adjust framing)
Wheel : Move forward/backward
Hold SHIFT : Slower
Hold CTRL : Faster</source>
<translation>COMMANDES
Clic gauche : Regarder autour
Clic droit : Déplacer le cadrage
Molette : Avancer/reculer
Maintenir MAJ : Plus lent
Maintenir Ctrl : Plus rapide</translation>
</message>
<message>
<location filename="../gui_qt/dialogwanderer.cpp" line="27"/>
<source>Reset camera</source>
<translation>Revenir au point de vue initial</translation>
</message>
<message>
<location filename="../gui_qt/dialogwanderer.cpp" line="30"/>
<location filename="../gui_qt/dialogwanderer.cpp" line="33"/>
<source>Validate as render camera</source>
<translation>Choisir comme caméra de rendu</translation>
</message>
<message>
<location filename="../gui_qt/dialogwanderer.cpp" line="35"/>
<location filename="../gui_qt/dialogwanderer.cpp" line="38"/>
<source>Close</source>
<translation>Fermer</translation>
</message>