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
Go4QtRoot
QRootApplication.h
Go to the documentation of this file.
1
// $Id: QRootApplication.h 1459 2015-05-29 06:35:01Z 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
//Author : Denis Bertini 01.11.2000
15
16
/**************************************************************************
17
* Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI *
18
* Planckstr. 1, 64291 Darmstadt, Germany *
19
* All rights reserved. *
20
* Contact: http://go4.gsi.de *
21
* *
22
* This software can be used under the license agreements as stated in *
23
* Go4License.txt file which is part of the distribution. *
24
***************************************************************************/
25
26
#ifndef QROOTAPPLICATION_H
27
#define QROOTAPPLICATION_H
28
43
#include <QApplication>
44
45
class
QTimer;
46
47
class
QRootApplication
:
public
QApplication {
48
Q_OBJECT
49
50
public
:
51
QRootApplication
(
int
& argc,
char
**argv,
int
poll=0);
52
virtual
~QRootApplication
();
53
54
void
setDebugOn
() {
fDebug
=
true
; }
55
void
setWarningOn
() {
fWarning
=
true
; }
56
57
static
bool
fDebug
;
58
static
bool
fWarning
;
59
60
static
bool
IsRootCanvasMenuEnabled
();
61
62
public
slots:
63
64
void
execute
();
65
void
quit
();
66
67
protected
:
68
QTimer*
timer
;
69
73
static
bool
fRootCanvasMenusEnabled
;
74
};
75
76
#endif
QRootApplication::setDebugOn
void setDebugOn()
Definition:
QRootApplication.h:54
QRootApplication::fDebug
static bool fDebug
Definition:
QRootApplication.h:57
QRootApplication::~QRootApplication
virtual ~QRootApplication()
Definition:
QRootApplication.cpp:171
QRootApplication::timer
QTimer * timer
Definition:
QRootApplication.h:68
QRootApplication
Definition:
QRootApplication.h:47
QRootApplication::execute
void execute()
Definition:
QRootApplication.cpp:175
QRootApplication::quit
void quit()
Definition:
QRootApplication.cpp:185
QRootApplication::setWarningOn
void setWarningOn()
Definition:
QRootApplication.h:55
QRootApplication::QRootApplication
QRootApplication(int &argc, char **argv, int poll=0)
Definition:
QRootApplication.cpp:126
QRootApplication::IsRootCanvasMenuEnabled
static bool IsRootCanvasMenuEnabled()
Definition:
QRootApplication.cpp:191
QRootApplication::fWarning
static bool fWarning
Definition:
QRootApplication.h:58
QRootApplication::fRootCanvasMenusEnabled
static bool fRootCanvasMenusEnabled
Definition:
QRootApplication.h:73
Generated on Fri Oct 26 2018 08:34:55 for GSI Object Oriented Online Offline (Go4) by
1.8.8