GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
qt4
Go4GUI
TGo4PrintWidget.cpp
Go to the documentation of this file.
1
// $Id: TGo4PrintWidget.cpp 478 2009-10-29 12:26:09Z linev $
2
//-----------------------------------------------------------------------
3
// The GSI Online Offline Object Oriented (Go4) Project
4
// Experiment Data Processing at EE department, GSI
5
//-----------------------------------------------------------------------
6
// Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7
// Planckstr. 1, 64291 Darmstadt, Germany
8
// Contact: http://go4.gsi.de
9
//-----------------------------------------------------------------------
10
// This software can be used under the license agreements as stated
11
// in Go4License.txt file which is part of the distribution.
12
//-----------------------------------------------------------------------
13
14
#include "
TGo4PrintWidget.h
"
15
#include "
TGo4QSettings.h
"
16
17
TGo4PrintWidget::TGo4PrintWidget
( QWidget* parent )
18
: QDialog( parent )
19
{
20
setObjectName(
"Go4PrintWidget"
);
21
setupUi(
this
);
22
QString PdefName,PdefProg;
23
go4sett
->
getPrinterSett
(PdefName,PdefProg);
24
PrinterName->setText(PdefName);
25
PrintProg->setText(PdefProg);
26
}
27
28
QString
TGo4PrintWidget::GetPrinter
()
29
{
30
return
PrinterName->text();
31
}
32
33
QString
TGo4PrintWidget::GetPrintProg
()
34
{
35
return
PrintProg->text();
36
}
TGo4PrintWidget::GetPrintProg
QString GetPrintProg()
Definition:
TGo4PrintWidget.cpp:33
TGo4QSettings.h
TGo4PrintWidget::TGo4PrintWidget
TGo4PrintWidget(QWidget *parent=0)
Definition:
TGo4PrintWidget.cpp:17
TGo4PrintWidget.h
go4sett
TGo4QSettings * go4sett
Definition:
TGo4QSettings.cpp:38
TGo4PrintWidget::GetPrinter
QString GetPrinter()
Definition:
TGo4PrintWidget.cpp:28
TGo4QSettings::getPrinterSett
void getPrinterSett(QString &name, QString &cmd)
Definition:
TGo4QSettings.cpp:869
Generated on Fri Oct 26 2018 08:34:54 for GSI Object Oriented Online Offline (Go4) by
1.8.8