UltraScan III
Namespaces
Classes
Files
File List
File Members
gui
us_editor_gui.cpp
Go to the documentation of this file.
1
#include "
us_editor_gui.h
"
2
#include "
us_gui_settings.h
"
3
4
US_EditorGui::US_EditorGui
() :
US_WidgetsDialog
( 0, 0 )
5
{
6
setWindowTitle( tr(
"Analyte Details"
) );
7
setPalette(
US_GuiSettings::frameColor
() );
8
setAttribute( Qt::WA_DeleteOnClose );
9
10
QHBoxLayout*
main
=
new
QHBoxLayout(
this
);
11
main->setSpacing ( 2 );
12
main->setContentsMargins ( 2, 2, 2, 2 );
13
14
editor
=
new
US_Editor
(
US_Editor::LOAD
,
true
);
15
editor
->
e
->setFont( QFont(
"monospace"
,
US_GuiSettings::fontSize
() ) );
16
17
resize( 400, 300 );
18
19
main->addWidget(
editor
);
20
}
21
22
Generated on Sun Jun 21 2015 11:40:41 for UltraScan III by
1.8.3.1-20130324