]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/Aliengui/AliFileListFrame.h
Adding includes now needed by ROOT
[u/mrichter/AliRoot.git] / ANALYSIS / Aliengui / AliFileListFrame.h
CommitLineData
c96ff0e6 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 */
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Class AliFileListFrame
10// AliFileListFrame class that describes the file list frame of the GUI
11//
12// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13//-------------------------------------------------------------------------
14
15
16
17//////////////////////////////////////////////////////////////////////////
18// //
19// AliFileListFrame //
20// //
21// File list frame of the GUI. //
22// //
23//////////////////////////////////////////////////////////////////////////
24
25#include <TGFrame.h>
26class TGCanvas;
27
28class TGHorizontalFrame;
29class TGVerticalFrame;
30class TGHorizontalFrame;
31class TGLabel;
32class TGTextEntry;
33class TGNumberEntry;
34class TGTextEntry;
35class TGButton;
36class TGCompositeFrame;
37class TGCanvas;
38class TGTableLayout;
39class TGLVEntry;
40
41class TObjArray;
42
43//___________________________________________________________________________
44class AliFileListFrame : public TGCompositeFrame {
45 public:
46 AliFileListFrame(const TGWindow *main, UInt_t w, UInt_t h);
47 ~AliFileListFrame();
48
49 void SetQueryPath(const char* path);
50 const char* GetQueryPath();
51 const char* GetQueryPattern();
52
53 // slots
54 void OnDoubleClick(TGLVEntry* entry, Int_t btn);
55 void RunQuery();
56
57 //___________________________________________________________________________
58 private:
59 AliFileListFrame(const AliFileListFrame&); // cp ctor
60 AliFileListFrame& operator= (AliFileListFrame&); // op=
61
62 // private methods
63 TGHorizontalFrame *fHFrame1; //horiz. frame
64 TGVerticalFrame *fVFrame1, *fVFrame2; //vertical frames
65
66 // VFrame1's widgets
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
76
77 TObjArray *fTags; // File "detail" mode tags
78
79 void DisplayObject(const TString& fname,const TString& name) const;
80 void BuildQueryPathFrame();
81
82 AliFileListFrame & operator=(const AliFileListFrame & ) {return *this;}
83
84 ClassDef(AliFileListFrame, 0) // AliFileListFrame
85};
86
87#endif