KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
kaliveda.doxygen
KVMultiDet
gui
KVInputDialog.h
Go to the documentation of this file.
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
"
12
class
TGTransientFrame
;
13
class
TString
;
14
class
KVTextEntry
;
15
class
TGTextButton
;
16
class
TGWindow
;
17
23
class
KVInputDialog
{
24
25
RQ_OBJECT
(
"KVInputDialog"
)
26
27
protected
:
28
TGTransientFrame
*
fMain
;
29
TString
*
fAnswer
;
30
KVTextEntry
*
fTextEntry
;
31
TGTextButton
*
fOKBut
;
32
TGTextButton
*
fCancelBut
;
33
Bool_t
*
fOK
;
34
35
public
:
36
37
KVInputDialog
(
const
TGWindow
*
main
,
const
Char_t
* question,
38
TString
* answer,
Bool_t
* ok,
const
Char_t
* tooltip =
39
""
);
40
virtual
~ KVInputDialog
();
41
42
void
ReadAnswer
();
43
44
void
DoClose
();
45
void
CloseWindow
();
46
47
ClassDef
(
KVInputDialog
, 0)
//General purpose dialog asking for a string value
48
};
49
50
#endif
RQ_OBJECT.h
RQ_OBJECT
#define RQ_OBJECT(sender_class)
Char_t
char Char_t
Bool_t
bool Bool_t
ClassDef
#define ClassDef(name, id)
KVInputDialog
General purpose dialog box asking for some input in the form of a string.
Definition:
KVInputDialog.h:23
KVInputDialog::CloseWindow
void CloseWindow()
Definition:
KVInputDialog.cpp:149
KVInputDialog::DoClose
void DoClose()
Definition:
KVInputDialog.cpp:139
KVInputDialog::KVInputDialog
KVInputDialog(const TGWindow *main, const Char_t *question, TString *answer, Bool_t *ok, const Char_t *tooltip="")
Definition:
KVInputDialog.cpp:25
KVInputDialog::ReadAnswer
void ReadAnswer()
Definition:
KVInputDialog.cpp:160
KVInputDialog::fTextEntry
KVTextEntry * fTextEntry
text entry for answer
Definition:
KVInputDialog.h:30
KVInputDialog::fOKBut
TGTextButton * fOKBut
OK button.
Definition:
KVInputDialog.h:31
KVInputDialog::fAnswer
TString * fAnswer
the answer to the question
Definition:
KVInputDialog.h:29
KVInputDialog::fOK
Bool_t * fOK
set to kTRUE if OK button is pressed
Definition:
KVInputDialog.h:33
KVInputDialog::fMain
TGTransientFrame * fMain
Definition:
KVInputDialog.h:28
KVInputDialog::~ KVInputDialog
virtual ~ KVInputDialog()
KVInputDialog::fCancelBut
TGTextButton * fCancelBut
Cancel button.
Definition:
KVInputDialog.h:32
KVTextEntry
TGTextEntry without any limit on the length of the text.
Definition:
KVTextEntry.h:20
TGTextButton
TGTransientFrame
TGWindow
main
int main(int argc, char **argv)
TString
Generated on Thu Nov 10 2022 10:53:10 for KaliVeda by
1.9.1