Mercurial > hg > svcore
comparison base/CommandHistory.cpp @ 214:ce6f65ab3327
* Add large chunks of context help in the optional status bar
* Add an extra overlay mode in which even the centre frame is disabled
* Fixes to FTP retrieval
author | Chris Cannam |
---|---|
date | Fri, 19 Jan 2007 13:13:14 +0000 |
parents | c30728d5625c |
children | dc46851837d6 |
comparison
equal
deleted
inserted
replaced
213:e0e7f6c5fda9 | 214:ce6f65ab3327 |
---|---|
47 m_bundleTimer(0), | 47 m_bundleTimer(0), |
48 m_bundleTimeout(5000) | 48 m_bundleTimeout(5000) |
49 { | 49 { |
50 m_undoAction = new QAction(QIcon(":/icons/undo.png"), tr("&Undo"), this); | 50 m_undoAction = new QAction(QIcon(":/icons/undo.png"), tr("&Undo"), this); |
51 m_undoAction->setShortcut(tr("Ctrl+Z")); | 51 m_undoAction->setShortcut(tr("Ctrl+Z")); |
52 m_undoAction->setStatusTip(tr("Undo the last editing operation")); | |
52 connect(m_undoAction, SIGNAL(triggered()), this, SLOT(undo())); | 53 connect(m_undoAction, SIGNAL(triggered()), this, SLOT(undo())); |
53 | 54 |
54 m_undoMenuAction = new QAction(QIcon(":/icons/undo.png"), tr("&Undo"), this); | 55 m_undoMenuAction = new QAction(QIcon(":/icons/undo.png"), tr("&Undo"), this); |
55 connect(m_undoMenuAction, SIGNAL(triggered()), this, SLOT(undo())); | 56 connect(m_undoMenuAction, SIGNAL(triggered()), this, SLOT(undo())); |
56 | 57 |
59 connect(m_undoMenu, SIGNAL(triggered(QAction *)), | 60 connect(m_undoMenu, SIGNAL(triggered(QAction *)), |
60 this, SLOT(undoActivated(QAction*))); | 61 this, SLOT(undoActivated(QAction*))); |
61 | 62 |
62 m_redoAction = new QAction(QIcon(":/icons/redo.png"), tr("Re&do"), this); | 63 m_redoAction = new QAction(QIcon(":/icons/redo.png"), tr("Re&do"), this); |
63 m_redoAction->setShortcut(tr("Ctrl+Shift+Z")); | 64 m_redoAction->setShortcut(tr("Ctrl+Shift+Z")); |
65 m_redoAction->setStatusTip(tr("Redo the last operation that was undone")); | |
64 connect(m_redoAction, SIGNAL(triggered()), this, SLOT(redo())); | 66 connect(m_redoAction, SIGNAL(triggered()), this, SLOT(redo())); |
65 | 67 |
66 m_redoMenuAction = new QAction(QIcon(":/icons/redo.png"), tr("Re&do"), this); | 68 m_redoMenuAction = new QAction(QIcon(":/icons/redo.png"), tr("Re&do"), this); |
67 connect(m_redoMenuAction, SIGNAL(triggered()), this, SLOT(redo())); | 69 connect(m_redoMenuAction, SIGNAL(triggered()), this, SLOT(redo())); |
68 | 70 |