KaliVeda
Toolkit for HIC analysis
KVInputDialog Class Reference

Detailed Description

General purpose dialog box asking for some input in the form of a string.

Definition at line 24 of file KVInputDialog.h.

#include <KVInputDialog.h>

Public Member Functions

 KVInputDialog (const TGWindow *main, const Char_t *question, TString *answer, Bool_t *ok, const Char_t *tooltip="")
 
virtual ~ KVInputDialog ()
 
void CloseWindow ()
 
void DoClose ()
 
void ReadAnswer ()
 

Constructor & Destructor Documentation

◆ KVInputDialog()

KVInputDialog::KVInputDialog ( const TGWindow *  main,
const Char_t *  question,
TString *  answer,
Bool_t *  ok,
const Char_t *  tooltip = "" 
)

Create the dialog box asking a "question" and receiving the "answer" If you want a default value to appear, put it in 'answer' before opening dialogue The Bool_t variable will be set to kTRUE if "OK" is pressed (kFALSE otherwise) Optional argument 'tooltip' will be displayed when mouse held over text entry widget

Definition at line 26 of file KVInputDialog.cpp.

◆ ~ KVInputDialog()

virtual KVInputDialog::~ KVInputDialog ( )
virtual

Member Function Documentation

◆ CloseWindow()

void KVInputDialog::CloseWindow ( )

Definition at line 150 of file KVInputDialog.cpp.

◆ DoClose()

void KVInputDialog::DoClose ( )

Definition at line 140 of file KVInputDialog.cpp.

◆ ReadAnswer()

void KVInputDialog::ReadAnswer ( )

Read text from text entry widget and store in "answer" TString. Set "ok" Bool_t flag to kTRUE

Definition at line 161 of file KVInputDialog.cpp.