KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVTextDialog.h
Go to the documentation of this file.
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 
18 class KVTextDialog {
19  RQ_OBJECT("KVTextDialog")
20 
21 protected:
28 
29 public:
30  KVTextDialog(const TGWindow* main, const Char_t* question,
31  const Char_t* default_value,
32  TString* chosen, Bool_t* ok, const char* unit = "");
33  virtual ~KVTextDialog();
34 
35  void ReadAnswer();
36 
37  void DoClose();
38  void CloseWindow();
39 
40  ClassDef(KVTextDialog, 1) //
41 };
42 
43 #endif
#define RQ_OBJECT(sender_class)
char Char_t
bool Bool_t
#define ClassDef(name, id)
virtual ~KVTextDialog()
Destructor.
TString * fAnswer
the answer to the question
Definition: KVTextDialog.h:23
TGTransientFrame * fMain
Definition: KVTextDialog.h:22
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:27
TGTextButton * fOKBut
OK button.
Definition: KVTextDialog.h:25
TGTextButton * fCancelBut
Cancel button.
Definition: KVTextDialog.h:26
TGTextEntry * fTextEntry
drop down list
Definition: KVTextDialog.h:24
int main(int argc, char **argv)