XSElementDlg Class Reference

#include <XSElementDlg.h>

Inheritance diagram for XSElementDlg:

TGTransientFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

Public Member Functions

 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)

Private Attributes

UInt_tselectedZ
XSPeriodicTablepTable
TGTabtabMenu
TGButtonokButton
TGButtoncloseButton
TGCompositeFramebuttonFrame
TGCompositeFramenameFrame
TGCompositeFramemnemonicFrame
TGCompositeFramezFrame
XSElementListnameListBox
XSElementListmnemonicListBox
XSElementListzListBox
TGLayoutHintsbuttonLayoutHints
TGLayoutHintsframeLayoutHints
TGLayoutHintslHints
TGLayoutHintslHints2

Detailed Description

Definition at line 18 of file XSElementDlg.h.


Constructor & Destructor Documentation

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

Definition at line 33 of file XSElementDlg.cxx.

References activeTab, TGCompositeFrame::AddFrame(), TGTab::AddTab(), TGWidget::Associate(), buttonFrame, buttonLayoutHints, closeButton, ELEM_CANCEL, ELEM_OK, TGObject::fClient, TGFrame::fHeight, frameLayoutHints, TGFrame::fWidth, TGCompositeFrame::GetDefaultSize(), TGFrame::GetHeight(), TGObject::GetId(), TGWindow::GetParent(), gVirtualX, kFixedWidth, kLHintsBottom, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kVerticalFrame, LastWinX, LastWinY, lHints, lHints2, main(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), mnemonicFrame, mnemonicListBox, TGFrame::Move(), nameFrame, nameListBox, okButton, pTable, TGFrame::Resize(), selectedZ, XSElementList::SelectZ(), XSPeriodicTable::SelectZ(), TGTab::SetTab(), TGMainFrame::SetWindowName(), TGMainFrame::SetWMPosition(), tabMenu, TGCompositeFrame::TGCompositeFrame(), TGClient::WaitFor(), XSEL_SORTBY_MNEMONIC, XSEL_SORTBY_NAME, XSEL_SORTBY_Z, zFrame, and zListBox.

XSElementDlg::~XSElementDlg (  ) 

Definition at line 130 of file XSElementDlg.cxx.

References activeTab, buttonFrame, buttonLayoutHints, closeButton, frameLayoutHints, TGTab::GetCurrent(), lHints, lHints2, mnemonicFrame, mnemonicListBox, nameFrame, nameListBox, pTable, tabMenu, zFrame, and zListBox.


Member Function Documentation

void XSElementDlg::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 152 of file XSElementDlg.cxx.

References TGObject::GetId(), TGWindow::GetParent(), gVirtualX, LastWinX, and LastWinY.

Referenced by ProcessButton().

Bool_t XSElementDlg::ProcessButton ( Long_t  param  )  [virtual]

Definition at line 164 of file XSElementDlg.cxx.

References activeTab, CloseWindow(), XSElementList::CurrentZ(), ELEM_CANCEL, ELEM_OK, TGObject::fClient, TGTab::GetCurrent(), TGClient::GetRoot(), kFALSE, kMBIconAsterisk, kMBOk, kTRUE, mnemonicListBox, nameListBox, retval, selectedZ, tabMenu, and zListBox.

Referenced by ProcessMessage().

Bool_t XSElementDlg::ProcessMessage ( Long_t  msg,
Long_t  param1,
Long_t  param2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 215 of file XSElementDlg.cxx.

References GET_MSG(), GET_SUBMSG(), kC_COMMAND, kCM_BUTTON, kTRUE, and ProcessButton().


Member Data Documentation

UInt_t* XSElementDlg::selectedZ [private]

Definition at line 21 of file XSElementDlg.h.

Referenced by ProcessButton(), and XSElementDlg().

XSPeriodicTable* XSElementDlg::pTable [private]

Definition at line 23 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGTab* XSElementDlg::tabMenu [private]

Definition at line 24 of file XSElementDlg.h.

Referenced by ProcessButton(), XSElementDlg(), and ~XSElementDlg().

TGButton* XSElementDlg::okButton [private]

Definition at line 25 of file XSElementDlg.h.

Referenced by XSElementDlg().

TGButton * XSElementDlg::closeButton [private]

Definition at line 25 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGCompositeFrame* XSElementDlg::buttonFrame [private]

Definition at line 27 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGCompositeFrame * XSElementDlg::nameFrame [private]

Definition at line 27 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGCompositeFrame * XSElementDlg::mnemonicFrame [private]

Definition at line 27 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGCompositeFrame * XSElementDlg::zFrame [private]

Definition at line 27 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

XSElementList* XSElementDlg::nameListBox [private]

Definition at line 31 of file XSElementDlg.h.

Referenced by ProcessButton(), XSElementDlg(), and ~XSElementDlg().

XSElementList * XSElementDlg::mnemonicListBox [private]

Definition at line 31 of file XSElementDlg.h.

Referenced by ProcessButton(), XSElementDlg(), and ~XSElementDlg().

XSElementList * XSElementDlg::zListBox [private]

Definition at line 31 of file XSElementDlg.h.

Referenced by ProcessButton(), XSElementDlg(), and ~XSElementDlg().

TGLayoutHints* XSElementDlg::buttonLayoutHints [private]

Definition at line 34 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGLayoutHints * XSElementDlg::frameLayoutHints [private]

Definition at line 34 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGLayoutHints * XSElementDlg::lHints [private]

Definition at line 34 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().

TGLayoutHints * XSElementDlg::lHints2 [private]

Definition at line 34 of file XSElementDlg.h.

Referenced by XSElementDlg(), and ~XSElementDlg().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:52 2011 for ROOT_528-00b_version by  doxygen 1.5.1