paysages: Small changes.
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@284 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
This commit is contained in:
parent
87382b9934
commit
a7e1c8e5d8
2 changed files with 40 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
#include <QLabel>
|
||||||
#include "widgetwanderer.h"
|
#include "widgetwanderer.h"
|
||||||
|
|
||||||
DialogWanderer::DialogWanderer(QWidget* parent, CameraDefinition* camera, bool camera_validable) : QDialog(parent)
|
DialogWanderer::DialogWanderer(QWidget* parent, CameraDefinition* camera, bool camera_validable) : QDialog(parent)
|
||||||
|
@ -21,6 +22,8 @@ DialogWanderer::DialogWanderer(QWidget* parent, CameraDefinition* camera, bool c
|
||||||
panel->setLayout(new QVBoxLayout());
|
panel->setLayout(new QVBoxLayout());
|
||||||
panel->setMaximumWidth(230);
|
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);
|
button = new QPushButton(tr("Reset camera"), panel);
|
||||||
panel->layout()->addWidget(button);
|
panel->layout()->addWidget(button);
|
||||||
QObject::connect(button, SIGNAL(clicked()), _wanderer, SLOT(resetCamera()));
|
QObject::connect(button, SIGNAL(clicked()), _wanderer, SLOT(resetCamera()));
|
||||||
|
|
|
@ -164,22 +164,55 @@ Cliquez avec le bouton droit sur un point pour le supprimer.</translation>
|
||||||
<context>
|
<context>
|
||||||
<name>DialogWanderer</name>
|
<name>DialogWanderer</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui_qt/dialogwanderer.cpp" line="14"/>
|
<location filename="../gui_qt/dialogwanderer.cpp" line="15"/>
|
||||||
<source>Paysages 3D - Explore</source>
|
<source>Paysages 3D - Explore</source>
|
||||||
<translation>Paysages 3D - Exploration</translation>
|
<translation>Paysages 3D - Exploration</translation>
|
||||||
</message>
|
</message>
|
||||||
<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>
|
<source>Reset camera</source>
|
||||||
<translation>Revenir au point de vue initial</translation>
|
<translation>Revenir au point de vue initial</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui_qt/dialogwanderer.cpp" line="30"/>
|
<location filename="../gui_qt/dialogwanderer.cpp" line="33"/>
|
||||||
<source>Validate as render camera</source>
|
<source>Validate as render camera</source>
|
||||||
<translation>Choisir comme caméra de rendu</translation>
|
<translation>Choisir comme caméra de rendu</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui_qt/dialogwanderer.cpp" line="35"/>
|
<location filename="../gui_qt/dialogwanderer.cpp" line="38"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Fermer</translation>
|
<translation>Fermer</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue