Revision 67b502021c47d95a161307bd8f930746f6be115f authored by Philippe Canal on 23 February 2016, 22:56:19 UTC, committed by Philippe Canal on 26 February 2016, 01:28:03 UTC
1 parent ab60d60
Raw File
XSElementDlg.h
/*
 * $Header$
 * $Log$
 */

#ifndef __XSELEMENT_DLG_H
#define __XSELEMENT_DLG_H

#include <TGTab.h>
#include <TGFrame.h>
#include <TGButton.h>
#include <TGLayout.h>

#include "XSElementList.h"
#include "XSPeriodicTable.h"

/* =========== XSElementDlg ============== */
class XSElementDlg : public TGTransientFrame
{
private:
   UInt_t         *selectedZ;

   XSPeriodicTable      *pTable;
   TGTab         *tabMenu;
   TGButton      *okButton,
            *closeButton;
   TGCompositeFrame   *buttonFrame,
            *nameFrame,
            *mnemonicFrame,
            *zFrame;
   XSElementList      *nameListBox,
            *mnemonicListBox,
            *zListBox;
   TGLayoutHints      *buttonLayoutHints,
            *frameLayoutHints,
            *lHints,
            *lHints2;

public:
   XSElementDlg(const TGWindow *p, const TGWindow *main,
         UInt_t *retZ, UInt_t w=600, UInt_t h=350);
   ~XSElementDlg();

   virtual void   CloseWindow();
   virtual Bool_t   ProcessButton(Long_t param);
   virtual Bool_t   ProcessMessage(Long_t msg,
            Long_t param1, Long_t param2);

   //ClassDef(XSElementDlg,1)
}; // XSElementDlg

#endif
back to top