File: mainframe.ui.h

package info (click to toggle)
meshlab 1.3.2%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 20,900 kB
  • ctags: 33,325
  • sloc: cpp: 224,813; ansic: 8,170; xml: 119; makefile: 78
file content (82 lines) | stat: -rw-r--r-- 1,326 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/****************************************************************************
** 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" );
	if (filename!=NULL)
	{
		const char *path=filename.ascii();
		openTetraMesh(path);
	}
}


void MainFrame::fileSave()
{

}


void MainFrame::fileSaveAs()
{

}



void MainFrame::fileExit()
{
	
}


void MainFrame::helpIndex()
{

}


void MainFrame::helpContents()
{

}


void MainFrame::helpAbout()
{

}


void MainFrame::setWire()
{

}