LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PrintDialog.h
Go to the documentation of this file.
1 #ifndef EVDB_PRINTDIALOG_H
9 #define EVDB_PRINTDIALOG_H
10 #include <string>
11 #include "TQObject.h"
12 #include "RQ_OBJECT.h"
13 #include "TGFrame.h"
14 class TGCompositeFrame;
15 class TGLayoutHints;
16 class TGCheckButton;
17 class TGTextEntry;
18 class TGTextButton;
19 namespace evdb { class Printable; }
20 
21 namespace evdb {
22  class PrintDialog : public TGTransientFrame {
23  RQ_OBJECT("evdb::PrintDialog")
24 
25  public:
26  PrintDialog();
27  ~PrintDialog();
28 
29  void CloseWindow();
30  void PrintToFile();
31  void Cancel();
32 
33  private:
34  TGCompositeFrame* fPrintFrame[10];
35  TGCheckButton* fPrintableCB[10];
36  TGTextEntry* fFilename[10];
37  TGCheckButton* fDoEPS[10];
38  TGCheckButton* fDoPDF[10];
39  TGCheckButton* fDoGIF[10];
40  TGCheckButton* fDoPNG[10];
41 
42  TGCompositeFrame* fButtonFrame;
43  TGTextButton* fPrintButton;
44  TGTextButton* fCancelButton;
45 
46  TGLayoutHints* fL1;
47  TGLayoutHints* fL2;
48 
49  int fNprintable; // Number of printable objects
50  std::string fPrintTag[10]; // Tag names of printables
51  Printable* fPrintable[10]; // Pointers to printables. Not owner!
52 
54  };
55 }
56 #endif
TGCheckButton * fDoGIF[10]
Definition: PrintDialog.h:39
Base class for printable objects.
Definition: Printable.h:15
TGCheckButton * fDoEPS[10]
Definition: PrintDialog.h:37
TGTextEntry * fFilename[10]
Definition: PrintDialog.h:36
TGLayoutHints * fL2
Definition: PrintDialog.h:47
Manage all things related to colors for the event display.
std::string fPrintTag[10]
Definition: PrintDialog.h:50
TGCheckButton * fDoPDF[10]
Definition: PrintDialog.h:38
TGCheckButton * fPrintableCB[10]
Definition: PrintDialog.h:35
ClassDef(PrintDialog, 0)
TGCheckButton * fDoPNG[10]
Definition: PrintDialog.h:40
TGTextButton * fCancelButton
Definition: PrintDialog.h:44
TGLayoutHints * fL1
Definition: PrintDialog.h:46
TGCompositeFrame * fButtonFrame
Definition: PrintDialog.h:42
TGCompositeFrame * fPrintFrame[10]
Definition: PrintDialog.h:34
TGTextButton * fPrintButton
Definition: PrintDialog.h:43
Printable * fPrintable[10]
Definition: PrintDialog.h:51