19 #include "internal/org_mitk_gui_qt_application_Activator.h"
28 class QmitkUndoActionPrivate
35 action->setText(
"&Undo");
36 action->setToolTip(
"Undo the last action (not supported by all modules)");
38 QObject::connect(action, SIGNAL(triggered(
bool)), action, SLOT(Run()));
45 : QAction(0), d(new QmitkUndoActionPrivate)
51 : QAction(0), d(new QmitkUndoActionPrivate)
58 : QAction(0), d(new QmitkUndoActionPrivate)
60 d->init(window,
this);
76 verboseundo->GetUndoDescriptions();
77 if (descriptions.size() >= 1)
79 MITK_INFO <<
"Undo " << descriptions.front().second;
QmitkUndoAction(berry::IWorkbenchWindow::Pointer window)
superclass for all UndoModels
A limited linear undo model providing GUI elements with stack status information. ...
ObjectType * GetPointer() const
static UndoModel * GetCurrentUndoModel()
gives access to the currently used UndoModel Introduced to access special functions of more specific ...
std::vector< StackDescriptionItem > StackDescription