BALL 1.5.0
Loading...
Searching...
No Matches
undoManagerDialog.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_VIEW_DIALOGS_UNDOMANAGERDIALOG_H
6#define BALL_VIEW_DIALOGS_UNDOMANAGERDIALOG_H
7
8#ifndef BALL_COMMON_GLOBAL_H
9# include <BALL/COMMON/global.h>
10#endif
11
12#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
14#endif
15
16#ifndef BALL_VIEW_KERNEL_SNAPSHOT_MANAGER_INTERFACE_H
18#endif
19
20#include <QtWidgets/QDialog>
21
22#include <BALL/VIEW/UIC/ui_undoManagerDialog.h>
23
24namespace BALL
25{
26 namespace VIEW
27 {
32 : public QDialog,
33 public Ui_UndoManagerDialogData,
34 public ModularWidget
35 {
36 Q_OBJECT
37
38 public:
39
41
42
43 UndoManagerDialog( QWidget* parent = 0, const char* name = "UndoManagerDialog", Qt::WindowFlags fl = 0 );
44
47
49 virtual void initializeWidget(MainControl& main_control);
50
52 virtual void checkMenu(MainControl& main_control);
53
55 virtual void onNotify(Message* message);
56
57 public Q_SLOTS:
58
60 void show();
61
64
67
70
71 protected:
72
73 QAction* action_;
75
77
78 };
79
80 }
81} // namespaces
82
83#endif
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition embeddable.h:31
void show()
Show and raise dialog.
virtual void initializeWidget(MainControl &main_control)
SnapshotManagerInterface snapshot_interface_
virtual void checkMenu(MainControl &main_control)
virtual void onNotify(Message *message)
Overrides message in order to intercept system changed events.
#define BALL_VIEW_EXPORT