BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
DIALOGS
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
13
# include <
BALL/VIEW/KERNEL/modularWidget.h
>
14
#endif
15
16
#ifndef BALL_VIEW_KERNEL_SNAPSHOT_MANAGER_INTERFACE_H
17
# include <
BALL/VIEW/KERNEL/snapshotManagerInterface.h
>
18
#endif
19
20
#include <QtGui/QDialog>
21
22
#include <BALL/VIEW/UIC/ui_undoManagerDialog.h>
23
24
namespace
BALL
25
{
26
namespace
VIEW
27
{
31
class
BALL_VIEW_EXPORT
UndoManagerDialog
32
:
public
QDialog
,
33
public
Ui_UndoManagerDialogData,
34
public
ModularWidget
35
{
36
Q_OBJECT
37
38
public
:
39
40
BALL_EMBEDDABLE
(
UndoManagerDialog
,
ModularWidget
)
41
42
43
UndoManagerDialog
(
QWidget
* parent = 0,
const
char
* name =
"UndoManagerDialog"
, Qt::WFlags fl = 0 );
44
46
~UndoManagerDialog
() {}
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
slots:
58
60
void
show();
61
63
void
close_pressed();
64
66
void
resetTo_pressed();
67
69
void
takeSnapshot_pressed();
70
71
protected
:
72
73
QAction*
action_
;
74
SnapshotManagerInterface
snapshot_interface_
;
75
76
bool
first_run
;
77
78
};
79
80
}
81
}
// namespaces
82
83
#endif
snapshotManagerInterface.h
BALL::VIEW::MainControl
Definition:
mainControl.h:114
BALL::VIEW::Message
Definition:
message.h:52
BALL::VIEW::UndoManagerDialog::snapshot_interface_
SnapshotManagerInterface snapshot_interface_
Definition:
undoManagerDialog.h:74
QDialog
BALL::VIEW::UndoManagerDialog
Definition:
undoManagerDialog.h:31
QWidget
modularWidget.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::SnapshotManagerInterface
Definition:
snapshotManagerInterface.h:15
BALL::VIEW::ModularWidget
Definition:
modularWidget.h:61
BALL_EMBEDDABLE
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition:
embeddable.h:31
BALL::VIEW::UndoManagerDialog::~UndoManagerDialog
~UndoManagerDialog()
Destructor.
Definition:
undoManagerDialog.h:46
BALL::VIEW::UndoManagerDialog::first_run
bool first_run
Definition:
undoManagerDialog.h:76
global.h
BALL::VIEW::UndoManagerDialog::action_
QAction * action_
Definition:
undoManagerDialog.h:73
Generated by
1.8.7