LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ButtonBar.h
Go to the documentation of this file.
1
// \version $Id: ButtonBar.h,v 1.4 2011-07-12 15:53:25 messier Exp $
7
#ifndef EVDB_BUTTONBAR_H
8
#define EVDB_BUTTONBAR_H
9
#include "TQObject.h"
10
#include "RQ_OBJECT.h"
11
#include "TGButton.h"
12
#include "TGTextEntry.h"
13
class
TGMainFrame;
14
class
TGCompositeFrame;
15
class
TGPictureButton;
16
class
TGLayoutHints;
17
class
TGLabel;
18
19
namespace
evdb
{
20
class
ButtonBar
:
public
TObject {
21
RQ_OBJECT(
"evdb::ButtonBar"
)
22
23
public
:
24
ButtonBar
(TGMainFrame* frame);
25
virtual
~ButtonBar
();
26
27
public
:
28
void
PrevEvt
();
29
void
NextEvt
();
30
void
ReloadEvt
();
31
void
AutoAdvance
();
32
void
FileList
();
33
void
GoTo
();
34
void
PrintToFile
();
35
int
NoImpl
(
const
char
* c);
36
37
void
SetRunEvent
(
int
run,
int
event
);
38
39
Bool_t
HandleTimer
(TTimer* t);
40
41
private
:
42
TTimer*
fTimer
;
43
44
private
:
45
TGCompositeFrame*
fButtonBar
;
46
TGLayoutHints*
fLayout
;
47
TGTextButton*
fPrevEvt
;
48
TGTextButton*
fNextEvt
;
49
TGTextButton*
fAutoAdvance
;
50
TGTextButton*
fReload
;
51
TGTextEntry*
fCurrentFile
;
52
TGPictureButton*
fFileList
;
53
54
TGLabel*
fRunEvtLabel
;
55
TGTextEntry*
fRunTextEntry
;
56
TGTextEntry*
fEventTextEntry
;
57
58
TGTextButton*
fGoTo
;
59
TGTextButton*
fPrint
;
60
61
ClassDef
(
ButtonBar
, 0);
62
};
63
}
64
65
#endif // EVDB_BUTTONBAR_H
66
evdb::ButtonBar::fNextEvt
TGTextButton * fNextEvt
Goto to next event.
Definition:
ButtonBar.h:48
evdb::ButtonBar::NextEvt
void NextEvt()
Definition:
ButtonBar.cxx:149
evdb::ButtonBar::PrintToFile
void PrintToFile()
Definition:
ButtonBar.cxx:215
evdb::ButtonBar::fFileList
TGPictureButton * fFileList
Access to the list of files attached.
Definition:
ButtonBar.h:52
evdb::ButtonBar::FileList
void FileList()
Definition:
ButtonBar.cxx:204
evdb::ButtonBar::fButtonBar
TGCompositeFrame * fButtonBar
The top button bar.
Definition:
ButtonBar.h:45
evdb::ButtonBar::PrevEvt
void PrevEvt()
Definition:
ButtonBar.cxx:142
evdb::ButtonBar::fPrint
TGTextButton * fPrint
Print button.
Definition:
ButtonBar.h:59
evdb::ButtonBar::fLayout
TGLayoutHints * fLayout
Layout for button bar.
Definition:
ButtonBar.h:46
evdb::ButtonBar::fPrevEvt
TGTextButton * fPrevEvt
Goto to previous event.
Definition:
ButtonBar.h:47
evdb::ButtonBar::GoTo
void GoTo()
Definition:
ButtonBar.cxx:219
evdb
Manage all things related to colors for the event display.
Definition:
Edge3DDrawer_tool.cc:14
evdb::ButtonBar::fAutoAdvance
TGTextButton * fAutoAdvance
Start to auto advance.
Definition:
ButtonBar.h:49
evdb::ButtonBar
Definition:
ButtonBar.h:20
evdb::ButtonBar::HandleTimer
Bool_t HandleTimer(TTimer *t)
Definition:
ButtonBar.cxx:159
evdb::ButtonBar::ReloadEvt
void ReloadEvt()
Definition:
ButtonBar.cxx:197
evdb::ButtonBar::fGoTo
TGTextButton * fGoTo
Go To event button.
Definition:
ButtonBar.h:58
evdb::ButtonBar::ClassDef
ClassDef(ButtonBar, 0)
evdb::ButtonBar::fTimer
TTimer * fTimer
Timer to handle auto advancing.
Definition:
ButtonBar.h:42
evdb::ButtonBar::fReload
TGTextButton * fReload
Reload current event.
Definition:
ButtonBar.h:50
evdb::ButtonBar::SetRunEvent
void SetRunEvent(int run, int event)
Definition:
ButtonBar.cxx:229
evdb::ButtonBar::NoImpl
int NoImpl(const char *c)
Definition:
ButtonBar.cxx:242
evdb::ButtonBar::fEventTextEntry
TGTextEntry * fEventTextEntry
Event number text entry.
Definition:
ButtonBar.h:56
evdb::ButtonBar::fRunTextEntry
TGTextEntry * fRunTextEntry
Run number text entry.
Definition:
ButtonBar.h:55
evdb::ButtonBar::ButtonBar
ButtonBar(TGMainFrame *frame)
Definition:
ButtonBar.cxx:32
evdb::ButtonBar::fRunEvtLabel
TGLabel * fRunEvtLabel
Run/Event number label.
Definition:
ButtonBar.h:54
evdb::ButtonBar::fCurrentFile
TGTextEntry * fCurrentFile
Currently loaded file.
Definition:
ButtonBar.h:51
evdb::ButtonBar::~ButtonBar
virtual ~ButtonBar()
Definition:
ButtonBar.cxx:122
event
Event finding and building.
Definition:
EventCheater_module.cc:32
evdb::ButtonBar::AutoAdvance
void AutoAdvance()
Definition:
ButtonBar.cxx:171
nuevdb
v1_09_08
source
nuevdb
EventDisplayBase
ButtonBar.h
Generated on Thu May 2 2024 20:59:52 for LArSoft by
1.8.11