vcglib/apps/tetraviewer/mainframe.ui.h

83 lines
1.3 KiB
C
Raw Normal View History

2004-10-04 20:01:36 +02:00
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you want to add, delete, or rename functions or slots, use
** Qt Designer to update this file, preserving your code.
**
** You should not define a constructor or destructor in this file.
** Instead, write your code in functions called init() and destroy().
** These will automatically be called by the form's constructor and
** destructor.
*****************************************************************************/
#include <qfiledialog.h>
#include <qdir.h>
#include <qmessagebox.h>
extern void openTetraMesh(const char *);
void MainFrame::fileNew()
{
}
void MainFrame::fileOpen()
{
QString filename = QFileDialog::getOpenFileName(
"",
"Tetrahedral Meshes File (*.ts *.ply)",
this,
"open file dialog"
"Choose a TS Tetrahedral mesh file" );
2004-10-06 18:23:14 +02:00
if (filename!=NULL)
{
const char *path=filename.ascii();
openTetraMesh(path);
}
2004-10-04 20:01:36 +02:00
}
void MainFrame::fileSave()
{
}
void MainFrame::fileSaveAs()
{
}
void MainFrame::fileExit()
{
2004-10-06 18:23:14 +02:00
2004-10-04 20:01:36 +02:00
}
void MainFrame::helpIndex()
{
}
void MainFrame::helpContents()
{
}
void MainFrame::helpAbout()
{
}
void MainFrame::setWire()
{
}