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

GUI for setting KVNameValueList parameters.

Created by KVClassFactory on Fri Feb 17 09:32:40 2017 Author: John Frankland,,,

Definition at line 20 of file KVNameValueListGUI.h.

Public Member Functions

 KVNameValueListGUI (const TGWindow *main, KVNameValueList *params, Bool_t *cancel_pressed, Bool_t wait_for_main=kTRUE)
 Constructor. More...
 
virtual ~KVNameValueListGUI ()
 Destructor. More...
 
void CloseWindow ()
 
void DoClose ()
 
void ReadData ()
 
void RestoreData ()
 return all values to original state More...
 

Protected Member Functions

virtual TObjectAddABool (Int_t i, TGHorizontalFrame *hf)
 
virtual TObjectAddADouble (Int_t i, TGHorizontalFrame *hf)
 
virtual TObjectAddAInt (Int_t i, TGHorizontalFrame *hf)
 
virtual TObjectAddAString (Int_t i, TGHorizontalFrame *hf)
 
TObjectGetDataWidget (int i) const
 
KVNameValueListGetList () const
 
TGTransientFrameGetMain () const
 

Private Attributes

Bool_tfCancel
 
TGTextButtonfCancelBut
 Cancel button. More...
 
TObjArray fData
 
TGTransientFramefMain
 
Bool_tfOK
 set to kTRUE if OK button is pressed More...
 
TGTextButtonfOKBut
 OK button. More...
 
KVNameValueList fOriginal
 
UInt_t max_width
 
KVNameValueListtheList
 

#include <KVNameValueListGUI.h>

Inheritance diagram for KVNameValueListGUI:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVNameValueListGUI()

KVNameValueListGUI::KVNameValueListGUI ( const TGWindow main,
KVNameValueList params,
Bool_t cancel_pressed,
Bool_t  wait_for_main = kTRUE 
)

Constructor.

Definition at line 111 of file KVNameValueListGUI.cpp.

◆ ~KVNameValueListGUI()

KVNameValueListGUI::~KVNameValueListGUI ( )
virtual

Destructor.

Definition at line 204 of file KVNameValueListGUI.cpp.

Member Function Documentation

◆ AddABool()

TObject * KVNameValueListGUI::AddABool ( Int_t  i,
TGHorizontalFrame hf 
)
protectedvirtual

Definition at line 30 of file KVNameValueListGUI.cpp.

◆ AddADouble()

TObject * KVNameValueListGUI::AddADouble ( Int_t  i,
TGHorizontalFrame hf 
)
protectedvirtual

Definition at line 43 of file KVNameValueListGUI.cpp.

◆ AddAInt()

TObject * KVNameValueListGUI::AddAInt ( Int_t  i,
TGHorizontalFrame hf 
)
protectedvirtual

Definition at line 59 of file KVNameValueListGUI.cpp.

◆ AddAString()

TObject * KVNameValueListGUI::AddAString ( Int_t  i,
TGHorizontalFrame hf 
)
protectedvirtual

Definition at line 17 of file KVNameValueListGUI.cpp.

◆ CloseWindow()

void KVNameValueListGUI::CloseWindow ( )

Definition at line 228 of file KVNameValueListGUI.cpp.

◆ DoClose()

void KVNameValueListGUI::DoClose ( )

Definition at line 218 of file KVNameValueListGUI.cpp.

◆ GetDataWidget()

TObject* KVNameValueListGUI::GetDataWidget ( int  i) const
inlineprotected

Definition at line 41 of file KVNameValueListGUI.h.

◆ GetList()

KVNameValueList* KVNameValueListGUI::GetList ( ) const
inlineprotected

Definition at line 45 of file KVNameValueListGUI.h.

◆ GetMain()

TGTransientFrame* KVNameValueListGUI::GetMain ( ) const
inlineprotected

Definition at line 49 of file KVNameValueListGUI.h.

◆ ReadData()

void KVNameValueListGUI::ReadData ( )

Definition at line 75 of file KVNameValueListGUI.cpp.

◆ RestoreData()

void KVNameValueListGUI::RestoreData ( )

return all values to original state

Definition at line 99 of file KVNameValueListGUI.cpp.

Member Data Documentation

◆ fCancel

Bool_t* KVNameValueListGUI::fCancel
private

Definition at line 33 of file KVNameValueListGUI.h.

◆ fCancelBut

TGTextButton* KVNameValueListGUI::fCancelBut
private

Cancel button.

Definition at line 28 of file KVNameValueListGUI.h.

◆ fData

TObjArray KVNameValueListGUI::fData
private

Definition at line 31 of file KVNameValueListGUI.h.

◆ fMain

TGTransientFrame* KVNameValueListGUI::fMain
private

Definition at line 26 of file KVNameValueListGUI.h.

◆ fOK

Bool_t* KVNameValueListGUI::fOK
private

set to kTRUE if OK button is pressed

Definition at line 29 of file KVNameValueListGUI.h.

◆ fOKBut

TGTextButton* KVNameValueListGUI::fOKBut
private

OK button.

Definition at line 27 of file KVNameValueListGUI.h.

◆ fOriginal

KVNameValueList KVNameValueListGUI::fOriginal
private

Definition at line 24 of file KVNameValueListGUI.h.

◆ max_width

UInt_t KVNameValueListGUI::max_width
private

Definition at line 30 of file KVNameValueListGUI.h.

◆ theList

KVNameValueList* KVNameValueListGUI::theList
private

Definition at line 23 of file KVNameValueListGUI.h.


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