UltraScan III
Namespaces
Classes
Files
File List
File Members
gui
us_editor.h
Go to the documentation of this file.
1
#ifndef US_EDITOR_H
2
#define US_EDITOR_H
3
4
#include <QtGui>
5
#include "
us_extern.h
"
6
13
class
US_GUI_EXTERN
US_Editor
:
public
QMainWindow
14
{
15
Q_OBJECT
16
17
public
:
25
US_Editor
(
int
,
bool
=
false
,
const
QString& =
"Data Files (*.dat)"
,
26
QWidget* = 0, Qt::WindowFlags = 0 );
27
28
enum
{
LOAD
, DEFAULT };
29
30
QTextEdit*
e
;
31
32
signals:
34
void
US_EditorLoadComplete( QString );
35
36
private
:
37
38
QFont
currentFont
;
39
QString
filename
;
40
QString
file_extension
;
41
QString
file_directory
;
42
QMenuBar*
edMenuBar
;
43
44
void
saveFile (
void
);
45
46
private
slots:
47
void
load (
void
);
48
void
save (
void
);
49
void
saveAs (
void
);
50
void
print (
void
);
51
void
clear
(
void
) { e->clear(); };
52
void
update_font(
void
);
53
};
54
#endif
Generated on Sun Jun 21 2015 11:40:41 for UltraScan III by
1.8.3.1-20130324