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

@@ -47,6 +47,14 @@ DiagramView::DiagramView(Diagram *diagram, QWidget *parent) : QGraphicsView(pare
setAttribute(Qt::WA_DeleteOnClose, true);
setInteractive(true);
QString whatsthis = tr(
"Ceci est la zone dans laquelle vous concevez vos sch<63>mas en y ajoutant"
"des <20>l<EFBFBD>ments et en posant des conducteurs entre leurs bornes. Il est"
" <20>galement possible d'ajouter des textes ind<6E>pendants.",
"\"What's this?\" tip"
);
setWhatsThis(whatsthis);
// active l'antialiasing
setRenderHint(QPainter::Antialiasing, true);
setRenderHint(QPainter::TextAntialiasing, true);