Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PrintDialog.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef EVDB_PRINTDIALOG_H
00009 #define EVDB_PRINTDIALOG_H
00010 #include <string>
00011 #include "TQObject.h"
00012 #include "RQ_OBJECT.h"
00013 #include "TGFrame.h"
00014 class TGCompositeFrame;
00015 class TGLayoutHints;
00016 class TGCheckButton;
00017 class TGTextEntry;
00018 class TGTextButton;
00019 namespace evdb { class Printable; }
00020 
00021 namespace evdb {
00022   class PrintDialog : public TGTransientFrame {
00023     RQ_OBJECT("evdb::PrintDialog")
00024     
00025   public:
00026     PrintDialog();
00027     ~PrintDialog();
00028     
00029     void CloseWindow();
00030     void Print();
00031     void Cancel();
00032     
00033   private:
00034     TGCompositeFrame* fPrintFrame[10];  
00035     TGCheckButton*    fPrintableCB[10];
00036     TGTextEntry*      fFilename[10];
00037     TGCheckButton*    fDoEPS[10];
00038     TGCheckButton*    fDoPS[10];
00039     TGCheckButton*    fDoGIF[10];
00040     TGCheckButton*    fDoJPG[10];
00041     
00042     TGCompositeFrame* fButtonFrame;
00043     TGTextButton*     fPrintButton;
00044     TGTextButton*     fCancelButton;
00045     
00046     TGLayoutHints*    fL1;
00047     TGLayoutHints*    fL2;
00048     
00049     int         fNprintable;    // Number of printable objects
00050     std::string fPrintTag[10];  // Tag names of printables
00051     Printable*  fPrintable[10]; // Pointers to printables. Not owner!
00052     
00053     ClassDef(evdb::PrintDialog,0)
00054   };
00055 }
00056 #endif

Generated on Thu Sep 4 02:05:28 2008 for NOvA Offline by doxygen 1.3.5