00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file 'MainFrame.ui' 00003 ** 00004 ** Created: Mon Oct 4 19:00:57 2004 00005 ** by: The User Interface Compiler ($Id: mainframe.h,v 1.1 2004-10-04 18:01:36 ganovelli Exp $) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 ****************************************************************************/ 00009 00010 #ifndef MAINFRAME_H 00011 #define MAINFRAME_H 00012 00013 #include <qvariant.h> 00014 #include <qpixmap.h> 00015 #include <qmainwindow.h> 00016 00017 class QVBoxLayout; 00018 class QHBoxLayout; 00019 class QGridLayout; 00020 class QSpacerItem; 00021 class QAction; 00022 class QActionGroup; 00023 class QToolBar; 00024 class QPopupMenu; 00025 class MyGLWidget; 00026 class QGroupBox; 00027 class QPushButton; 00028 class QButtonGroup; 00029 00030 class MainFrame : public QMainWindow 00031 { 00032 Q_OBJECT 00033 00034 public: 00035 MainFrame( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel ); 00036 ~MainFrame(); 00037 00038 QGroupBox* file; 00039 QPushButton* OpenButton; 00040 QButtonGroup* buttonGroup1; 00041 QPushButton* BoxButton; 00042 QPushButton* WireButton; 00043 QPushButton* HiddenButton; 00044 QPushButton* FlatWireButton; 00045 QPushButton* SmoothButton; 00046 QPushButton* SmallTetraButton; 00047 QPushButton* FlatButton; 00048 MyGLWidget* myGLWidget; 00049 QButtonGroup* buttonGroup2; 00050 QPushButton* TrackButton; 00051 QPushButton* SectionButton; 00052 QMenuBar *MenuBar; 00053 QPopupMenu *File; 00054 QPopupMenu *Help; 00055 QPopupMenu *Info_2; 00056 QAction* fileNewAction; 00057 QAction* fileOpenAction; 00058 QAction* fileSaveAction; 00059 QAction* fileSaveAsAction; 00060 QAction* filePrintAction; 00061 QAction* fileExitAction; 00062 QAction* helpContentsAction; 00063 QAction* helpIndexAction; 00064 QAction* helpAboutAction; 00065 QAction* new_menunew_itemAction; 00066 QAction* infonew_itemAction; 00067 QAction* infoSimplexAction; 00068 QAction* infoQualityAction; 00069 QAction* infoPhysicsAction; 00070 00071 public slots: 00072 virtual void fileNew(); 00073 virtual void fileOpen(); 00074 virtual void fileSave(); 00075 virtual void fileSaveAs(); 00076 virtual void fileExit(); 00077 virtual void helpIndex(); 00078 virtual void helpContents(); 00079 virtual void helpAbout(); 00080 void setWire(); 00081 00082 protected: 00083 00084 protected slots: 00085 virtual void languageChange(); 00086 00087 private: 00088 QPixmap image0; 00089 00090 }; 00091 00092 #endif // MAINFRAME_H