Diagram editor: added a few status and "What's this?" tips.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1696 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-04-28 16:45:13 +00:00
parent 3b7b70f551
commit 1b52030484
4 changed files with 60 additions and 17 deletions

View File

@@ -84,6 +84,8 @@ QETDiagramEditor::QETDiagramEditor(const QStringList &files, QWidget *parent) :
tabifyDockWidget(qdw_pa, qdw_undo);
QUndoView *undo_view = new QUndoView(&undo_group, this);
undo_view -> setEmptyLabel(tr("Aucune modification"));
undo_view -> setStatusTip(tr("Cliquez sur une action pour revenir en arri\350re dans l'\351dition de votre sch\351ma", "Status tip"));
undo_view -> setWhatsThis(tr("Ce panneau liste les différentes actions effectuées sur le schéma courant. Cliquer sur une action permet de revenir à l'état du schéma juste après son application.", "\"What's this\" tip"));
qdw_undo -> setWidget(undo_view);
addDockWidget(Qt::LeftDockWidgetArea, qdw_undo);