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

Detailed Description

Definition at line 19 of file KVTextDialog.h.

#include <KVTextDialog.h>

Public Member Functions

 KVTextDialog (const TGWindow *main, const Char_t *question, const Char_t *default_value, TString *chosen, Bool_t *ok, const char *unit="")
 
virtual ~KVTextDialog ()
 Destructor.
 
void CloseWindow ()
 
void DoClose ()
 
void ReadAnswer ()
 

Private Attributes

TStringfAnswer
 the answer to the question
 
TGTextButtonfCancelBut
 Cancel button.
 
TGTransientFramefMain
 
Bool_tfOK
 set to kTRUE if OK button is pressed
 
TGTextButtonfOKBut
 OK button.
 
TGTextEntryfTextEntry
 drop down list
 

Constructor & Destructor Documentation

◆ KVTextDialog()

KVTextDialog::KVTextDialog ( const TGWindow main,
const Char_t question,
const Char_t default_value,
TString chosen,
Bool_t ok,
const char *  unit = "" 
)

Definition at line 20 of file KVTextDialog.cpp.

◆ ~KVTextDialog()

KVTextDialog::~KVTextDialog ( )
virtual

Destructor.

Definition at line 116 of file KVTextDialog.cpp.

Member Function Documentation

◆ CloseWindow()

void KVTextDialog::CloseWindow ( )

Definition at line 140 of file KVTextDialog.cpp.

◆ DoClose()

void KVTextDialog::DoClose ( )

Definition at line 129 of file KVTextDialog.cpp.

◆ ReadAnswer()

void KVTextDialog::ReadAnswer ( )

Read text from drop down list and store in "answer" TString. Set "ok" Bool_t flag to kTRUE

Definition at line 151 of file KVTextDialog.cpp.

Member Data Documentation

◆ fAnswer

TString* KVTextDialog::fAnswer
private

the answer to the question

Definition at line 24 of file KVTextDialog.h.

◆ fCancelBut

TGTextButton* KVTextDialog::fCancelBut
private

Cancel button.

Definition at line 27 of file KVTextDialog.h.

◆ fMain

TGTransientFrame* KVTextDialog::fMain
private

Definition at line 23 of file KVTextDialog.h.

◆ fOK

Bool_t* KVTextDialog::fOK
private

set to kTRUE if OK button is pressed

Definition at line 28 of file KVTextDialog.h.

◆ fOKBut

TGTextButton* KVTextDialog::fOKBut
private

OK button.

Definition at line 26 of file KVTextDialog.h.

◆ fTextEntry

TGTextEntry* KVTextDialog::fTextEntry
private

drop down list

Definition at line 25 of file KVTextDialog.h.