00001
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef TGTABDIALOG_H
00019 #define TGTABDIALOG_H
00020
00021 #include <TGFrame.h>
00022 #include <TGTab.h>
00023 #include <TGButton.h>
00024 #include <TGTextEntry.h>
00025 #include <TList.h>
00026
00031 class TGTabDialog : public TGTransientFrame {
00032
00033 const TGWindow *fMain;
00034 TGCompositeFrame *fBottomFrame;
00035 TGLayoutHints *fL1,*fL2;
00036 TList *fListOfTabs;
00037 TGButton *fOkButton, *fCancelButton;
00038 TGTab *fTab;
00039
00040
00041
00042
00043 public:
00044
00045 TList *GetListOfTabs() { return fListOfTabs; };
00046
00047 TGTab *GetTab() { return fTab; };
00048
00049 TGTabDialog(const TGWindow *p,
00050 const TGWindow *main,
00051 UInt_t w=500, UInt_t h = 300,
00052 UInt_t options = kVerticalFrame);
00053
00054 virtual void DrawDialog();
00055 virtual ~TGTabDialog();
00056
00057
00058
00059 virtual void Ok();
00060 virtual void Apply();
00061 virtual void Cancel();
00062 virtual void CloseWindow();
00063 virtual void HandlePopup(Int_t);
00064
00065 ClassDef(TGTabDialog,0)
00066 };
00067
00068 #endif