KaliVeda
1.15/6
Toolkit for HIC analysis
KVDropDownDialog.h
1
/*
2
$Id: KVDropDownDialog.h,v 1.2 2009/03/03 14:27:15 franklan Exp $
3
$Revision: 1.2 $
4
$Date: 2009/03/03 14:27:15 $
5
$Author: franklan $
6
*/
7
8
#ifndef __KVDropDownDialog_H
9
#define __KVDropDownDialog_H
10
11
#include "
RQ_OBJECT.h
"
12
class
TGTransientFrame
;
13
class
TString
;
14
class
TGComboBox
;
15
class
TGTextButton
;
16
class
TGWindow
;
17
24
class
KVDropDownDialog
{
25
26
RQ_OBJECT
(
"KVDropDownDialog"
)
27
28
protected
:
29
TGTransientFrame
* fMain;
30
TString
* fAnswer;
31
TGComboBox
* fDropDown;
32
TGTextButton
* fOKBut;
33
TGTextButton
* fCancelBut;
34
Bool_t
* fOK;
35
36
public
:
37
38
KVDropDownDialog
(
const
TGWindow
*
main
,
const
Char_t
* question,
39
const
Char_t
* choice_list,
const
Char_t
* default_choice,
40
TString
* chosen,
Bool_t
* ok);
41
virtual
~ KVDropDownDialog
();
42
43
void
ReadAnswer
();
44
45
void
DoClose
();
46
void
CloseWindow
();
47
48
ClassDef
(
KVDropDownDialog
, 0)
//General purpose dialog asking to choose from a drop down list
49
};
50
51
#endif
RQ_OBJECT.h
RQ_OBJECT
#define RQ_OBJECT(sender_class)
Bool_t
bool Bool_t
Char_t
char Char_t
ClassDef
#define ClassDef(name, id)
KVDropDownDialog
Ask user to choose between several options in a drop-down list.
Definition:
KVDropDownDialog.h:24
KVDropDownDialog::CloseWindow
void CloseWindow()
Definition:
KVDropDownDialog.cpp:167
KVDropDownDialog::DoClose
void DoClose()
Definition:
KVDropDownDialog.cpp:157
KVDropDownDialog::KVDropDownDialog
KVDropDownDialog(const TGWindow *main, const Char_t *question, const Char_t *choice_list, const Char_t *default_choice, TString *chosen, Bool_t *ok)
Definition:
KVDropDownDialog.cpp:28
KVDropDownDialog::~ KVDropDownDialog
virtual ~ KVDropDownDialog()
KVDropDownDialog::ReadAnswer
void ReadAnswer()
Definition:
KVDropDownDialog.cpp:178
TGComboBox
TGTextButton
TGTransientFrame
TGWindow
main
int main(int argc, char **argv)
TString
kaliveda.doxygen
src
core
gui
KVDropDownDialog.h
Generated on Wed Aug 5 2026 08:50:02 for KaliVeda by
1.9.1