#ifndef ROOT_TSessionDialogs
#define ROOT_TSessionDialogs
#ifndef ROOT_TSessionViewer
#include "TSessionViewer.h"
#endif
class TList;
class TSeqCollection;
class TChain;
class TDSet;
class TGTextEntry;
class TGTextButton;
class TGTextBuffer;
class TGCheckButton;
class TGLabel;
class TGListView;
class TGPicture;
class TGFileContainer;
class TNewChainDlg : public TGTransientFrame {
private:
TGFileContainer *fContents;
TGListView *fListView;
TGLVContainer *fLVContainer;
TGTextBuffer *fNameBuf;
TGTextEntry *fName;
TGTextButton *fOkButton;
TGTextButton *fCancelButton;
TSeqCollection *fChains;
TObject *fChain;
public:
TNewChainDlg(const TGWindow *p=0, const TGWindow *main=0);
virtual ~TNewChainDlg();
void UpdateList();
virtual void OnDoubleClick(TGLVEntry*,Int_t);
virtual void DisplayDirectory(const TString &fname);
void OnElementClicked(TGLVEntry* entry, Int_t btn);
void OnElementSelected(TObject *obj);
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
virtual void CloseWindow();
ClassDef(TNewChainDlg, 0)
};
class TNewQueryDlg : public TGTransientFrame {
private:
Bool_t fEditMode;
Bool_t fModified;
TGCompositeFrame *fFrmNewQuery;
TGCompositeFrame *fFrmMore;
TGTextButton *fBtnMore;
TGTextButton *fBtnClose;
TGTextButton *fBtnSave;
TGTextButton *fBtnSubmit;
TGTextEntry *fTxtQueryName;
TGTextEntry *fTxtChain;
TGTextEntry *fTxtSelector;
TGTextEntry *fTxtOptions;
TGNumberEntry *fNumEntries;
TGNumberEntry *fNumFirstEntry;
TGTextEntry *fTxtEventList;
TSessionViewer *fViewer;
TQueryDescription *fQuery;
TObject *fChain;
public:
TNewQueryDlg(TSessionViewer *gui, Int_t Width, Int_t Height,
TQueryDescription *query = 0, Bool_t editmode = kFALSE);
virtual ~TNewQueryDlg();
void Build(TSessionViewer *gui);
void OnNewQueryMore();
void OnBrowseChain();
void OnBrowseSelector();
void OnBrowseEventList();
void OnBtnSaveClicked();
void OnBtnCloseClicked();
void OnBtnSubmitClicked();
void OnElementSelected(TObject *obj);
void CloseWindow();
void Popup();
void SettingsChanged();
void UpdateFields(TQueryDescription *desc);
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
ClassDef(TNewQueryDlg, 0)
};
class TUploadDataSetDlg : public TGTransientFrame {
private:
Bool_t fUploading;
TList *fSkippedFiles;
TGTextEntry *fDSetName;
TGTextEntry *fDestinationURL;
TGTextEntry *fLocationURL;
TGListView *fListView;
TGLVContainer *fLVContainer;
TGTextButton *fAddButton;
TGTextButton *fBrowseButton;
TGTextButton *fRemoveButton;
TGTextButton *fClearButton;
TGCheckButton *fOverwriteDSet;
TGCheckButton *fOverwriteFiles;
TGCheckButton *fAppendFiles;
TGTextButton *fUploadButton;
TGTextButton *fCloseDlgButton;
TSessionViewer *fViewer;
public:
TUploadDataSetDlg(TSessionViewer *gui, Int_t w, Int_t h);
virtual ~TUploadDataSetDlg();
virtual void CloseWindow();
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
void AddFiles(const char *fileName);
void AddFiles(TList *fileList);
void BrowseFiles();
void ClearFiles();
void RemoveFile();
void UploadDataSet();
void OnOverwriteDataset(Bool_t on);
void OnOverwriteFiles(Bool_t on);
void OnAppendFiles(Bool_t on);
ClassDef(TUploadDataSetDlg, 0)
};
#endif
Last change: Wed Jun 25 08:54:36 2008
Last generated: 2008-06-25 08:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.