1 #ifndef ALIFILELISTFRAME_H
2 #define ALIFILELISTFRAME_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Class AliFileListFrame
10 // AliFileListFrame class that describes the file list frame of the GUI
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
19 // AliFileListFrame //
21 // File list frame of the GUI. //
23 //////////////////////////////////////////////////////////////////////////
28 class TGHorizontalFrame;
29 class TGVerticalFrame;
30 class TGHorizontalFrame;
36 class TGCompositeFrame;
43 //___________________________________________________________________________
44 class AliFileListFrame : public TGCompositeFrame {
46 AliFileListFrame(const TGWindow *main, UInt_t w, UInt_t h);
49 void SetQueryPath(const char* path);
50 const char* GetQueryPath();
51 const char* GetQueryPattern();
54 void OnDoubleClick(TGLVEntry* entry, Int_t btn);
57 //___________________________________________________________________________
59 AliFileListFrame(const AliFileListFrame&); // cp ctor
60 AliFileListFrame& operator= (AliFileListFrame&); // op=
63 TGHorizontalFrame *fHFrame1; //horiz. frame
64 TGVerticalFrame *fVFrame1, *fVFrame2; //vertical frames
67 TGHorizontalFrame *fHFrame2; //vertical frame
68 TGLabel *fLabel1, *fLabel2, *fLabel3; //labels
69 TGTextEntry *fTextQueryPath; //text box
70 TGNumberEntry *fNumMaxResults; //results
71 TGTextEntry *fTextQueryPattern; //query pattern
72 TGButton *fButtonRun; //run button
73 TGCompositeFrame *fContents; //frame
74 TGCanvas *fCanvas; //canvas
75 TGTableLayout *fTableLayout; //layout
77 TObjArray *fTags; // File "detail" mode tags
79 void DisplayObject(const TString& fname,const TString& name) const;
80 void BuildQueryPathFrame();
82 AliFileListFrame & operator=(const AliFileListFrame & ) {return *this;}
84 ClassDef(AliFileListFrame, 0) // AliFileListFrame