BALL  1.4.1
mainframe.h
Go to the documentation of this file.
00001 // -*- Mode: C++; tab-width: 2; -*-
00002 // vi: set ts=2:
00003 //
00004 
00005 #ifndef BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
00006 #define BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
00007 
00008 #ifndef BALL_VIEW_KERNEL_MAINCONTROL_H
00009 # include <BALL/VIEW/KERNEL/mainControl.h>
00010 #endif
00011 
00012 #ifndef BALL_VIEW_WIDGETS_SCENE_H
00013 # include <BALL/VIEW/WIDGETS/scene.h>
00014 #endif
00015 
00016 #include <QtGui/QWidget>
00017 
00018 namespace BALL
00019 {
00020   using namespace BALL::VIEW;
00021 
00022   class Mainframe 
00023     : public BALL::VIEW::MainControl
00024   {
00025     Q_OBJECT
00026 
00027     public:
00028 
00030     BALL_EMBEDDABLE(Mainframe, MainControl)
00031 
00032     
00033     Mainframe(QWidget* parent = 0, const char* name = 0);
00034 
00036     virtual ~Mainframe();
00037 
00038     public slots:
00039 
00041     void show();
00042 
00044     bool eventFilter(QObject*, QEvent* e);
00045       
00047     void reset();
00048 
00049     // Help menu
00050     void about();
00051 
00053     void howToCite();
00054 
00055     protected:
00056       void changeEvent(QEvent* evt);
00057 
00058       Scene* scene_;
00059   };
00060 
00061 } // namespace BALL
00062 
00063 #endif // BALL_APPLICATIONS_BALLVIEW_MAINFRAME_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines