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:
23  TGTransientFrame* fMain;
24  TString* fAnswer;
25  TGTextEntry* fTextEntry;
26  TGTextButton* fOKBut;
27  TGTextButton* fCancelBut;
28  Bool_t* fOK;
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.
KVTextDialog(const TGWindow *main, const Char_t *question, const Char_t *default_value, TString *chosen, Bool_t *ok, const char *unit="")
void CloseWindow()
int main(int argc, char **argv)