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
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 <QtGui/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
slots:
39
41
void
show();
42
44
bool
eventFilter(
QObject
*,
QEvent
* e);
45
47
void
reset();
48
49
// Help menu
50
void
about();
51
53
void
howToCite();
54
55
protected
:
56
void
changeEvent(
QEvent
* evt);
57
void
setupPluginHandlers_();
58
59
Scene
*
scene_
;
60
};
61
62
}
// namespace BALL
63
64
#endif // BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
BALL::VIEW::MainControl
Definition:
mainControl.h:114
QWidget
BALL::Mainframe
Definition:
mainframe.h:22
scene.h
QObject
BALL::Mainframe::scene_
Scene * scene_
Definition:
mainframe.h:59
BALL::VIEW::Scene
Definition:
scene.h:138
BALL_EMBEDDABLE
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition:
embeddable.h:31
mainControl.h
QEvent
Generated by
1.8.7