4#ifndef __KVNAMEVALUELISTGUI_H
5#define __KVNAMEVALUELISTGUI_H
9#include "KVNameValueList.h"
95 if (
index < 0)
return nullptr;
112 void DisplayDialog();
#define RQ_OBJECT(sender_class)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
GUI for setting KVNameValueList parameters.
TObject * GetDataWidget(int i) const
TGTransientFrame * GetMain() const
ClassDef(KVNameValueListGUI, 1) void DisplayDialog()
virtual TObject * AddABool(Int_t i, TGHorizontalFrame *hf)
TObject * GetDataWidget(const TString &parname) const
virtual TObject * AddAString(Int_t i, TGHorizontalFrame *hf)
virtual TObject * AddAInt(Int_t i, TGHorizontalFrame *hf)
KVNameValueList * GetList() const
bool EnableDependingOnBool(const TString &value_to_enable, const TString &bool_parameter)
virtual TObject * AddADouble(Int_t i, TGHorizontalFrame *hf)
virtual ~KVNameValueListGUI()
Destructor.
TGTextButton * fCancelBut
Cancel button.
void RestoreData()
return all values to original state
TGTextButton * fOKBut
OK button.
KVNameValueList * theList
KVNameValueList fOriginal
Bool_t * fOK
set to kTRUE if OK button is pressed
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Int_t GetNameIndex(const Char_t *name) const