KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
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"
13class TString;
14class TGComboBox;
15class TGTextButton;
16class TGWindow;
17
25
26 RQ_OBJECT("KVDropDownDialog")
27
28protected:
35
36public:
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
#define RQ_OBJECT(sender_class)
bool Bool_t
char Char_t
#define ClassDef(name, id)
Ask user to choose between several options in a drop-down list.
TGTransientFrame * fMain
TGTextButton * fCancelBut
Cancel button.
TString * fAnswer
the answer to the question
Bool_t * fOK
set to kTRUE if OK button is pressed
TGComboBox * fDropDown
drop down list
TGTextButton * fOKBut
OK button.