QGPlotEditButtonsFrame.hh

Go to the documentation of this file.
00001 #ifndef _QG_PLOT_EDIT_BUTTONS_FRAME_HH_
00002 #define _QG_PLOT_EDIT_BUTTONS_FRAME_HH_
00003 
00011 #include <string>
00012 #include "TGFrame.h"
00013 
00014 class QGPlotEditWindow;
00015 class TGComboBox;
00016 class TGLabel;
00017 class TGPictureButton;
00018 class TGTextEntry;
00019 
00020 class QGPlotEditButtonsFrame : public TGCompositeFrame {
00021 public:
00023     QGPlotEditButtonsFrame(QGPlotEditWindow *p, UInt_t w = 100, UInt_t h = 100);
00024     
00026     virtual ~QGPlotEditButtonsFrame();
00027     
00029     void FillWindowDropDownBox();
00030     
00032     std::string GetCanvasWindowName();
00033     
00035     TGComboBox *GetWindowDropDownBox() {return fWindowDropDownBox;}
00036     
00038     void HandleDeleteButton();
00039     
00041     void HandleDrawButton();
00042     
00044     void HandleDuplicateButton();
00045     
00047     void HandleEraseButton();
00048     
00050     void HandleNameButton();
00051     
00053     void HandleNameEntryBox();
00054     
00056     void ShowDefaultDisplay();
00057     
00058 private:
00060     TGPictureButton *fDrawButton;
00061     
00063     TGHorizontalFrame *fDrawEraseFrame;
00064     
00066     TGPictureButton *fDeleteButton;
00067     
00069     TGPictureButton *fDuplicateButton;
00070     
00072     TGPictureButton *fEraseButton;
00073 
00075     TGPictureButton *fNameButton;
00076     
00078     TGHorizontalFrame *fNameDeleteDuplicateFrame;
00079     
00081     TGTextEntry *fNameEntryBox;
00082     
00084     QGPlotEditWindow *fPlotEditWindow;
00085     
00087     TGComboBox *fWindowDropDownBox;
00088     
00090     TGHorizontalFrame *fWindowFrame;
00091     
00093     TGLabel *fWindowLabel;
00094     
00095     ClassDef(QGPlotEditButtonsFrame, 0)
00096 };
00097 
00098 #endif

Generated on Tue Nov 16 10:49:56 2010 for CUORE Software by  doxygen 1.5.6