KaliVeda
Toolkit for HIC analysis
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 More...
 
void GetSelection ()
 
void HighlightSelectedTelescopes ()
 

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.