00001 /**************************************************************************** 00002 ** ui.h extension file, included from the uic-generated form implementation. 00003 ** 00004 ** If you want to add, delete, or rename functions or slots, use 00005 ** Qt Designer to update this file, preserving your code. 00006 ** 00007 ** You should not define a constructor or destructor in this file. 00008 ** Instead, write your code in functions called init() and destroy(). 00009 ** These will automatically be called by the form's constructor and 00010 ** destructor. 00011 *****************************************************************************/ 00012 00013 00014 #include <qfiledialog.h> 00015 #include <qdir.h> 00016 #include <qmessagebox.h> 00017 00018 extern void openTetraMesh(const char *); 00019 00020 void MainFrame::fileNew() 00021 { 00022 00023 } 00024 00025 00026 void MainFrame::fileOpen() 00027 { 00028 QString filename = QFileDialog::getOpenFileName( 00029 "", 00030 "Tetrahedral Meshes File (*.ts *.ply)", 00031 this, 00032 "open file dialog" 00033 "Choose a TS Tetrahedral mesh file" ); 00034 if (filename!=NULL) 00035 { 00036 const char *path=filename.ascii(); 00037 openTetraMesh(path); 00038 } 00039 } 00040 00041 00042 void MainFrame::fileSave() 00043 { 00044 00045 } 00046 00047 00048 void MainFrame::fileSaveAs() 00049 { 00050 00051 } 00052 00053 00054 00055 void MainFrame::fileExit() 00056 { 00057 00058 } 00059 00060 00061 void MainFrame::helpIndex() 00062 { 00063 00064 } 00065 00066 00067 void MainFrame::helpContents() 00068 { 00069 00070 } 00071 00072 00073 void MainFrame::helpAbout() 00074 { 00075 00076 } 00077 00078 00079 void MainFrame::setWire() 00080 { 00081 00082 }