KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
ID Grid Manager dialog for choice of ID telescope(s)
Created by KVClassFactory on Mon Nov 17 14:41:53 2008 Author: franklan
This dialog box presents the user with a drop-down list of ID telescope types, and a box containing the list of all ID telescopes in a given multidetector array of the selected type. The user selects the type of ID telescope, then selects one or more telescopes in the list, and presses "OK" in order to validate the choice.
Definition at line 116 of file KVIDGUITelescopeChooserDialog.h.
Public Member Functions | |
KVIDGUITelescopeChooserDialog (KVMultiDetArray *MDA, TList *selection, Bool_t *, const TGWindow *p, const TGWindow *main, Bool_t disable_type_select=false, UInt_t w=1, UInt_t h=1) | |
virtual | ~KVIDGUITelescopeChooserDialog () |
void | CloseWindow () |
void | DoClose () |
void | FillTelescopeListWithType (const char *) |
fill TGListBox with names of all ID telescopes of given type More... | |
void | GetSelection () |
void | HighlightSelectedTelescopes () |
Private Attributes | |
Bool_t * | fCancelPress |
TGComboBox * | fComboBox994 |
combo box with list of ID telescope types More... | |
TGListBox * | fListBox980 |
list of telescopes of selected type More... | |
TGTransientFrame * | fMainFrame1428 |
main frame More... | |
KVMultiDetArray * | fMultiDet |
multidetector array geometry More... | |
TList * | fSelection |
list of selected telescopes More... | |
#include <KVIDGUITelescopeChooserDialog.h>
KVIDGUITelescopeChooserDialog::KVIDGUITelescopeChooserDialog | ( | KVMultiDetArray * | MDA, |
TList * | selection, | ||
Bool_t * | cancel_pressed, | ||
const TGWindow * | p, | ||
const TGWindow * | main, | ||
Bool_t | disable_type_select = false , |
||
UInt_t | w = 1 , |
||
UInt_t | h = 1 |
||
) |
Create and display dialog for choosing ID telescopes cancel_pressed = kTRUE if cancel button is pressed
Definition at line 22 of file KVIDGUITelescopeChooserDialog.cpp.
|
virtual |
Destructor Delete all widgets
Definition at line 149 of file KVIDGUITelescopeChooserDialog.cpp.
void KVIDGUITelescopeChooserDialog::CloseWindow | ( | ) |
Definition at line 174 of file KVIDGUITelescopeChooserDialog.cpp.
void KVIDGUITelescopeChooserDialog::DoClose | ( | ) |
Definition at line 164 of file KVIDGUITelescopeChooserDialog.cpp.
void KVIDGUITelescopeChooserDialog::FillTelescopeListWithType | ( | const char * | type | ) |
fill TGListBox with names of all ID telescopes of given type
Definition at line 184 of file KVIDGUITelescopeChooserDialog.cpp.
void KVIDGUITelescopeChooserDialog::GetSelection | ( | ) |
fill fSelection list with telescopes selected by user set cancel_pressed to kFALSE
Definition at line 208 of file KVIDGUITelescopeChooserDialog.cpp.
void KVIDGUITelescopeChooserDialog::HighlightSelectedTelescopes | ( | ) |
Modify widgets to reflect the ID telescopes selected in the list fSelection Get 'type' of first telescope
Definition at line 230 of file KVIDGUITelescopeChooserDialog.cpp.
|
private |
Definition at line 125 of file KVIDGUITelescopeChooserDialog.h.
|
private |
combo box with list of ID telescope types
Definition at line 123 of file KVIDGUITelescopeChooserDialog.h.
|
private |
list of telescopes of selected type
Definition at line 124 of file KVIDGUITelescopeChooserDialog.h.
|
private |
main frame
Definition at line 122 of file KVIDGUITelescopeChooserDialog.h.
|
private |
multidetector array geometry
Definition at line 121 of file KVIDGUITelescopeChooserDialog.h.
|
private |
list of selected telescopes
Definition at line 120 of file KVIDGUITelescopeChooserDialog.h.