/home/ann2.ext/paccaulf/projsem2/ContourActif/interface.h

Aller à la documentation de ce fichier.
00001 
00011 #ifndef INTERFACE_H
00012 #define INTERFACE_H
00013 
00014 #include <q3mainwindow.h>
00015 #include <qpixmap.h>
00016 //Added by qt3to4:
00017 #include <Q3HBoxLayout>
00018 #include <Q3PopupMenu>
00019 #include "viewer.h"
00020 
00021 #define MAX_FILE_NAME_LENGTH 256
00022 
00023 class QAction;
00024 class Q3PopupMenu;
00025 
00035 class interface : public Q3MainWindow
00036 {
00037         Q_OBJECT
00038         
00039 public:
00040         interface( QWidget* parent = 0, const char* name = 0, Qt::WFlags fl = 0 );
00041         ~interface(){};
00042         
00043         Viewer*      viewer;
00044         QMenuBar *menubar;
00045         Q3PopupMenu *fileMenu;
00046         Q3PopupMenu *displayMenu;
00047         Q3PopupMenu *helpMenu;
00048         Q3PopupMenu *computeMenu;
00049     
00050         QAction* fileOpenAction;
00051         QAction* fileSave_scene_asAction;
00052         QAction* fileExitAction;
00053         QAction* displayRepAction;
00054         QAction* displayEdgesAction;
00055         QAction* displaySmoothAction;
00056         QAction* displayInvertNormalsAction;
00057         QAction* displayWorld_axisAction;
00058         QAction* displayXy_gridAction;
00059         QAction* displayFull_screenAction;
00060         QAction* displaySnapshotAction;
00061         QAction* helpContentsAction;
00062         QAction* helpAboutAction;
00063         QAction* computeAction;
00064         QAction* switch2d3dAction;
00065         
00066         public slots:
00067                 virtual void fileOpen();
00068         virtual void fileSave();
00069         virtual void toggleDrawEdges();
00070         virtual void toggleDisplayRep();
00071         virtual void toggleSmoothShading();
00072         virtual void toggleInvertNormals();
00073         virtual void computeDetection();
00074         virtual void switch2d3d();
00075     
00076 protected:
00077                 Q3HBoxLayout* Form1Layout;
00078         
00079         protected slots:
00080                 virtual void languageChange();
00081         
00082 private:
00083                 QPixmap image0;
00084         QPixmap image1;
00085         QPixmap image2;
00086         QPixmap image3;
00087         QPixmap image4;
00088         QPixmap image5;
00089         QPixmap image6;
00090         QPixmap image7;
00091         QPixmap image8;
00092         char current_filename[MAX_FILE_NAME_LENGTH];
00093     
00094 };
00095 
00096 #endif // INTERFACE_H

Généré le Thu Jun 15 18:48:51 2006 pour Projet Image 2006 - Vincent Vidal, Florent Paccault - par  doxygen 1.4.7