GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
qt4
Go4QtRoot
QRootApplication.h
Go to the documentation of this file.
1
// $Id$
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 fuer 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
42
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
{
nullptr
};
69
73
static
bool
fRootCanvasMenusEnabled
;
74
};
75
76
#endif
QRootApplication::IsRootCanvasMenuEnabled
static bool IsRootCanvasMenuEnabled()
Definition
QRootApplication.cpp:154
QRootApplication::quit
void quit()
Definition
QRootApplication.cpp:149
QRootApplication::timer
QTimer * timer
Definition
QRootApplication.h:68
QRootApplication::execute
void execute()
Definition
QRootApplication.cpp:139
QRootApplication::fWarning
static bool fWarning
Definition
QRootApplication.h:58
QRootApplication::setWarningOn
void setWarningOn()
Definition
QRootApplication.h:55
QRootApplication::QRootApplication
QRootApplication(int &argc, char **argv, int poll=0)
Definition
QRootApplication.cpp:96
QRootApplication::~QRootApplication
virtual ~QRootApplication()
Definition
QRootApplication.cpp:135
QRootApplication::setDebugOn
void setDebugOn()
Definition
QRootApplication.h:54
QRootApplication::fRootCanvasMenusEnabled
static bool fRootCanvasMenusEnabled
Variable defines if menu methods, which creating new canvas, are enabled.
Definition
QRootApplication.h:73
QRootApplication::fDebug
static bool fDebug
Definition
QRootApplication.h:57
Generated by
1.13.2