KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Private Attributes | List of all members
KVIDGUITelescopeChooserDialog Class Reference

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_tfCancelPress
 
TGComboBoxfComboBox994
 combo box with list of ID telescope types More...
 
TGListBoxfListBox980
 list of telescopes of selected type More...
 
TGTransientFramefMainFrame1428
 main frame More...
 
KVMultiDetArrayfMultiDet
 multidetector array geometry More...
 
TListfSelection
 list of selected telescopes More...
 

#include <KVIDGUITelescopeChooserDialog.h>

Constructor & Destructor Documentation

◆ KVIDGUITelescopeChooserDialog()

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.

◆ ~KVIDGUITelescopeChooserDialog()

KVIDGUITelescopeChooserDialog::~KVIDGUITelescopeChooserDialog ( )
virtual

Destructor Delete all widgets

Definition at line 149 of file KVIDGUITelescopeChooserDialog.cpp.

Member Function Documentation

◆ CloseWindow()

void KVIDGUITelescopeChooserDialog::CloseWindow ( )

Definition at line 174 of file KVIDGUITelescopeChooserDialog.cpp.

◆ DoClose()

void KVIDGUITelescopeChooserDialog::DoClose ( )

Definition at line 164 of file KVIDGUITelescopeChooserDialog.cpp.

◆ FillTelescopeListWithType()

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.

◆ GetSelection()

void KVIDGUITelescopeChooserDialog::GetSelection ( )

fill fSelection list with telescopes selected by user set cancel_pressed to kFALSE

Definition at line 208 of file KVIDGUITelescopeChooserDialog.cpp.

◆ HighlightSelectedTelescopes()

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.

Member Data Documentation

◆ fCancelPress

Bool_t* KVIDGUITelescopeChooserDialog::fCancelPress
private

Definition at line 125 of file KVIDGUITelescopeChooserDialog.h.

◆ fComboBox994

TGComboBox* KVIDGUITelescopeChooserDialog::fComboBox994
private

combo box with list of ID telescope types

Definition at line 123 of file KVIDGUITelescopeChooserDialog.h.

◆ fListBox980

TGListBox* KVIDGUITelescopeChooserDialog::fListBox980
private

list of telescopes of selected type

Definition at line 124 of file KVIDGUITelescopeChooserDialog.h.

◆ fMainFrame1428

TGTransientFrame* KVIDGUITelescopeChooserDialog::fMainFrame1428
private

main frame

Definition at line 122 of file KVIDGUITelescopeChooserDialog.h.

◆ fMultiDet

KVMultiDetArray* KVIDGUITelescopeChooserDialog::fMultiDet
private

multidetector array geometry

Definition at line 121 of file KVIDGUITelescopeChooserDialog.h.

◆ fSelection

TList* KVIDGUITelescopeChooserDialog::fSelection
private

list of selected telescopes

Definition at line 120 of file KVIDGUITelescopeChooserDialog.h.


The documentation for this class was generated from the following files: