KaliVeda
Toolkit for HIC analysis
KVTextDialog.h
1 
4 #ifndef __KVTEXTDIALOG_H
5 #define __KVTEXTDIALOG_H
6 
7 #include "RQ_OBJECT.h"
8 class TGTransientFrame;
9 class TString;
10 class TGTextEntry;
11 class TGTextButton;
12 class TGWindow;
13 
19 class KVTextDialog {
20  RQ_OBJECT("KVTextDialog")
21 
22 protected:
29 
30 public:
31  KVTextDialog(const TGWindow* main, const Char_t* question,
32  const Char_t* default_value,
33  TString* chosen, Bool_t* ok, const char* unit = "");
34  virtual ~KVTextDialog();
35 
36  void ReadAnswer();
37 
38  void DoClose();
39  void CloseWindow();
40 
41  ClassDef(KVTextDialog, 1) //
42 };
43 
44 #endif
#define RQ_OBJECT(sender_class)
bool Bool_t
char Char_t
#define ClassDef(name, id)
virtual ~KVTextDialog()
Destructor.
TString * fAnswer
the answer to the question
Definition: KVTextDialog.h:24
TGTransientFrame * fMain
Definition: KVTextDialog.h:23
KVTextDialog(const TGWindow *main, const Char_t *question, const Char_t *default_value, TString *chosen, Bool_t *ok, const char *unit="")
void CloseWindow()
Bool_t * fOK
set to kTRUE if OK button is pressed
Definition: KVTextDialog.h:28
TGTextButton * fOKBut
OK button.
Definition: KVTextDialog.h:26
TGTextButton * fCancelBut
Cancel button.
Definition: KVTextDialog.h:27
TGTextEntry * fTextEntry
drop down list
Definition: KVTextDialog.h:25
int main(int argc, char **argv)