KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVInputDialog.h
1/*
2$Id: KVInputDialog.h,v 1.4 2007/12/11 16:04:28 franklan Exp $
3$Revision: 1.4 $
4$Date: 2007/12/11 16:04:28 $
5$Author: franklan $
6*/
7
8#ifndef __KVINPUTDIALOG_H
9#define __KVINPUTDIALOG_H
10
11#include "RQ_OBJECT.h"
13class TString;
14class KVTextEntry;
15class TGTextButton;
16class TGWindow;
17
25
26 RQ_OBJECT("KVInputDialog")
27
28protected:
35
36public:
37
38 KVInputDialog(const TGWindow* main, const Char_t* question,
39 TString* answer, Bool_t* ok, const Char_t* tooltip =
40 "");
41 virtual ~ KVInputDialog();
42
43 void ReadAnswer();
44
45 void DoClose();
46 void CloseWindow();
47
48 ClassDef(KVInputDialog, 0) //General purpose dialog asking for a string value
49};
50
51#endif
#define RQ_OBJECT(sender_class)
bool Bool_t
char Char_t
#define ClassDef(name, id)
General purpose dialog box asking for some input in the form of a string.
KVTextEntry * fTextEntry
text entry for answer
TGTextButton * fOKBut
OK button.
TString * fAnswer
the answer to the question
Bool_t * fOK
set to kTRUE if OK button is pressed
TGTransientFrame * fMain
TGTextButton * fCancelBut
Cancel button.
TGTextEntry without any limit on the length of the text.
Definition KVTextEntry.h:22