BALL 1.5.0
Loading...
Searching...
No Matches
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
10#endif
11
12#ifndef BALL_VIEW_WIDGETS_SCENE_H
14#endif
15
16#include <QtWidgets/QWidget>
17
18namespace BALL
19{
20 using namespace BALL::VIEW;
21
22 class Mainframe
24 {
25 Q_OBJECT
26
27 public:
28
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);
57
61 };
62
63} // namespace BALL
64
65#endif // BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition embeddable.h:31
QAction * qload_action_
Definition mainframe.h:60
void setupPluginHandlers_()
Definition mainframe.C:393
bool eventFilter(QObject *, QEvent *e)
Catch key events.
Definition mainframe.C:209
virtual ~Mainframe()
Definition mainframe.C:201
Scene * scene_
Definition mainframe.h:58
void changeEvent(QEvent *evt)
Definition mainframe.C:373
QAction * save_project_action_
Definition mainframe.h:59
void checkMenus()
Definition mainframe.C:272
void reset()
remove all loaded Molecules and Representations, reset Coloring options
Definition mainframe.C:256
QAction * qsave_action_
Definition mainframe.h:60