SettingsDlg.h

Go to the documentation of this file.
00001 // Author: Bertrand Bellenot   22/08/02
00002 
00003 /*************************************************************************
00004  * Copyright (C) 1995-2002, Bertrand Bellenot.                           *
00005  * All rights reserved.                                                  *
00006  *                                                                       *
00007  * For the licensing terms see the LICENSE file.                         *
00008  *************************************************************************/
00009 
00010 //////////////////////////////////////////////////////////////////////////
00011 //                                                                      //
00012 // Definition of a dialog box used to access the main shower parameters //
00013 //                                                                      //
00014 //////////////////////////////////////////////////////////////////////////
00015 
00016 #ifndef SETTINGSDIALOG_H
00017 #define SETTINGSDIALOG_H
00018 
00019 #ifndef ROOT_TGFrame
00020 #include "TGFrame.h"
00021 #endif
00022 
00023 #ifndef ROOT_TGButton
00024 #include "TGButton.h"
00025 #endif
00026 
00027 #ifndef ROOT_TGTextEntry
00028 #include "TGTextEntry.h"
00029 #endif
00030 
00031 #ifndef ROOT_TGListBox
00032 #include <TGListBox.h>
00033 #endif
00034 
00035 #ifndef ROOT_TGTab
00036 #include <TGTab.h>
00037 #endif
00038 
00039 class SettingsDialog : public TGTransientFrame {
00040 
00041 private:
00042     TGCompositeFrame    *fFrame1;
00043     TGGroupFrame        *fF1, *fF3, *fF4;
00044     TGButton            *fOkButton, *fCancelButton, *fHelpButton;
00045     TGCheckButton       *fCheck1;
00046     TGListBox           *fListBox;
00047     TGTab               *fTab;
00048     TGTextEntry         *fTxt4, *fTxt5;
00049     TGLayoutHints       *fL1, *fL2, *fL3;
00050     Int_t                fFirstEntry;
00051     Int_t                fLastEntry;
00052 
00053 public:
00054     SettingsDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
00055                          UInt_t options = kVerticalFrame);
00056     virtual ~SettingsDialog();
00057 
00058     // slots
00059     virtual void     CloseWindow();
00060     virtual Bool_t   ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
00061 };
00062 
00063 #endif

Generated on Tue Jul 5 15:15:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1