BALL
1.5.0
source
APPLICATIONS
BALLVIEW
mainframe.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
6
#define BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
7
8
#ifndef BALL_VIEW_KERNEL_MAINCONTROL_H
9
# include <
BALL/VIEW/KERNEL/mainControl.h
>
10
#endif
11
12
#ifndef BALL_VIEW_WIDGETS_SCENE_H
13
# include <
BALL/VIEW/WIDGETS/scene.h
>
14
#endif
15
16
#include <QtWidgets/QWidget>
17
18
namespace
BALL
19
{
20
using namespace
BALL::VIEW
;
21
22
class
Mainframe
23
:
public
BALL::VIEW::MainControl
24
{
25
Q_OBJECT
26
27
public
:
28
30
BALL_EMBEDDABLE
(
Mainframe
,
MainControl
)
31
32
33
Mainframe
(
QWidget
* parent = 0,
const
char
* name = 0);
34
36
virtual
~
Mainframe
();
37
38
public
Q_SLOTS:
39
41
void
show();
42
44
bool
eventFilter(
QObject
*,
QEvent
* e);
45
47
void
reset();
48
49
// Help menu
50
void
about();
51
52
void
checkMenus();
53
54
protected
:
55
void
changeEvent(
QEvent
* evt);
56
void
setupPluginHandlers_();
57
58
Scene
*
scene_
;
59
QAction*
save_project_action_
;
60
QAction* qload_action_, *
qsave_action_
;
61
};
62
63
}
// namespace BALL
64
65
#endif // BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
QObject
scene.h
QEvent
BALL_EMBEDDABLE
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition:
embeddable.h:31
BALL::VIEW::MainControl
Definition:
mainControl.h:114
BALL::VIEW::Scene
Definition:
scene.h:138
BALL
Definition:
constants.h:12
BALL::Mainframe::qsave_action_
QAction * qsave_action_
Definition:
mainframe.h:60
BALL::Mainframe
Definition:
mainframe.h:22
BALL::VIEW
Definition:
constraints.h:34
BALL::Mainframe::save_project_action_
QAction * save_project_action_
Definition:
mainframe.h:59
BALL::Mainframe::scene_
Scene * scene_
Definition:
mainframe.h:58
QWidget
mainControl.h
Generated by
1.8.17