00001
00002
00003
00004
00005
00006 #ifndef __XSELEMENT_DLG_H
00007 #define __XSELEMENT_DLG_H
00008
00009 #include <TGTab.h>
00010 #include <TGFrame.h>
00011 #include <TGButton.h>
00012 #include <TGLayout.h>
00013
00014 #include "XSElementList.h"
00015 #include "XSPeriodicTable.h"
00016
00017
00018 class XSElementDlg : public TGTransientFrame
00019 {
00020 private:
00021 UInt_t *selectedZ;
00022
00023 XSPeriodicTable *pTable;
00024 TGTab *tabMenu;
00025 TGButton *okButton,
00026 *closeButton;
00027 TGCompositeFrame *buttonFrame,
00028 *nameFrame,
00029 *mnemonicFrame,
00030 *zFrame;
00031 XSElementList *nameListBox,
00032 *mnemonicListBox,
00033 *zListBox;
00034 TGLayoutHints *buttonLayoutHints,
00035 *frameLayoutHints,
00036 *lHints,
00037 *lHints2;
00038
00039 public:
00040 XSElementDlg(const TGWindow *p, const TGWindow *main,
00041 UInt_t *retZ, UInt_t w=600, UInt_t h=350);
00042 ~XSElementDlg();
00043
00044 virtual void CloseWindow();
00045 virtual Bool_t ProcessButton(Long_t param);
00046 virtual Bool_t ProcessMessage(Long_t msg,
00047 Long_t param1, Long_t param2);
00048
00049
00050 };
00051
00052 #endif