KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVIDGUITelescopeChooserDialog Class Reference

Detailed Description

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 117 of file KVIDGUITelescopeChooserDialog.h.

#include <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
 
void GetSelection ()
 
void HighlightSelectedTelescopes ()
 

Private Attributes

Bool_tfCancelPress
 
TGComboBoxfComboBox994
 combo box with list of ID telescope types
 
TGListBoxfListBox980
 list of telescopes of selected type
 
TGTransientFramefMainFrame1428
 main frame
 
KVMultiDetArrayfMultiDet
 multidetector array geometry
 
TListfSelection
 list of selected telescopes
 

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 126 of file KVIDGUITelescopeChooserDialog.h.

◆ fComboBox994

TGComboBox* KVIDGUITelescopeChooserDialog::fComboBox994
private

combo box with list of ID telescope types

Definition at line 124 of file KVIDGUITelescopeChooserDialog.h.

◆ fListBox980

TGListBox* KVIDGUITelescopeChooserDialog::fListBox980
private

list of telescopes of selected type

Definition at line 125 of file KVIDGUITelescopeChooserDialog.h.

◆ fMainFrame1428

TGTransientFrame* KVIDGUITelescopeChooserDialog::fMainFrame1428
private

main frame

Definition at line 123 of file KVIDGUITelescopeChooserDialog.h.

◆ fMultiDet

KVMultiDetArray* KVIDGUITelescopeChooserDialog::fMultiDet
private

multidetector array geometry

Definition at line 122 of file KVIDGUITelescopeChooserDialog.h.

◆ fSelection

TList* KVIDGUITelescopeChooserDialog::fSelection
private

list of selected telescopes

Definition at line 121 of file KVIDGUITelescopeChooserDialog.h.