library: libTreeViewer
#include "TSessionDialogs.h"

TNewQueryDlg


class description - header file - source file - inheritance tree (.pdf)

class TNewQueryDlg : public TGTransientFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGMainFrame
<-
TGTransientFrame
<-
TNewQueryDlg

    public:
TNewQueryDlg(TSessionViewer* gui, Int_t Width, Int_t Height, TQueryDescription* query = 0, Bool_t editmode = kFALSE) TNewQueryDlg(const TNewQueryDlg&) virtual ~TNewQueryDlg() void Build(TSessionViewer* gui) static TClass* Class() virtual void CloseWindow() virtual TClass* IsA() const void OnBrowseChain() void OnBrowseEventList() void OnBrowseSelector() void OnBtnCloseClicked() void OnBtnSaveClicked() void OnBtnSubmitClicked() void OnElementSelected(TObject* obj) void OnNewQueryMore() void Popup() virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void UpdateFields(TQueryDescription* desc)

Data Members

    private:
Bool_t fEditMode kTRUE if used to edit existing query TGCompositeFrame* fFrmNewQuery top (main) frame TGCompositeFrame* fFrmMore options frame TGTextButton* fBtnMore "more >>" / "less <<" button TGTextButton* fBtnClose close button TGTextButton* fBtnSave save button TGTextButton* fBtnSubmit save & submit button TGTextEntry* fTxtQueryName query name text entry TGTextEntry* fTxtChain chain name text entry TGTextEntry* fTxtSelector selector name text entry TGTextEntry* fTxtOptions options text entry TGNumberEntry* fNumEntries number of entries selector TGNumberEntry* fNumFirstEntry first entry selector TGTextEntry* fTxtEventList event list text entry TSessionViewer* fViewer pointer on main viewer TQueryDescription* fQuery query description class TObject* fChain actual TChain

Class Description

                                                                      
 TSessionDialogs                                                      
                                                                      
 This file defines several dialogs that are used by TSessionViewer.   
 The following dialogs are available: TNewChainDlg and TNewQueryDlg.  
                                                                      

TNewQueryDlg(TSessionViewer *gui, Int_t Width, Int_t Height, TQueryDescription *query, Bool_t editmode)
 Create a new Query dialog, used by the Session Viewer, to Edit a Query if
 the editmode flag is set, or to create a new one if not set.
~TNewQueryDlg()
 Delete query dialog.
void Build(TSessionViewer *gui)
 Build the "new query" dialog.
void CloseWindow()
 Called when window is closed via the window manager.
void OnNewQueryMore()
 Show/hide options frame and update button text accordingly.
void OnBrowseChain()
 Call new chain dialog.
void OnElementSelected(TObject *obj)
 Handle OnElementSelected signal coming from new chain dialog.
void OnBrowseSelector()
 Open file browser to choose selector macro.
void OnBrowseEventList()
Browse event list
void OnBtnSaveClicked()
 Save current settings in main session viewer.
void OnBtnSubmitClicked()
 Save and submit query description.
void OnBtnCloseClicked()
 Close dialog.
void Popup()
 Display dialog and set focus to query name text entry.
void UpdateFields(TQueryDescription *desc)
 Update entry fields with query description values.
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
 Process messages for new query dialog.
 Essentially used to navigate between text entry fields.
TNewQueryDlg(TSessionViewer *gui, Int_t Width, Int_t Height, TQueryDescription *query = 0, Bool_t editmode = kFALSE)

Author: Marek Biskup, Jakub Madejczyk, Bertrand Bellenot 10/08/2005
Last update: root/treeviewer:$Name: $:$Id: TSessionDialogs.cxx,v 1.26 2006/07/04 23:45:50 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.