source: trunk/MagicSoft/Mars/mgui/MGDataCheckMain.h@ 672

Last change on this file since 672 was 669, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 2.1 KB
Line 
1#ifndef MGDATACHECKMAIN_H
2#define MGDATACHECKMAIN_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7
8#ifndef ROOT_TGFrame
9#include <TGFrame.h>
10#endif
11
12#ifndef MVIEWADCSPECTRA_H
13#include "MViewAdcSpectra.h"
14#endif
15
16class TGMenuBar;
17class TGPopupMenu;
18class TGTab;
19class TGTextButton;
20class TGListBox;
21class TGPictureButton;
22class TGFileContainer;
23class TGListView;
24
25class MGDataCheckMain : public TGTransientFrame {
26 private:
27
28 //
29 // Create a main frame with a number of different buttons.
30 //
31
32 // some member not connected with Gui
33
34 Char_t fInputFile[256] ;
35 MViewAdcSpectra fViewAdc ; //!
36
37 // the things for the menu bar
38
39 TGMenuBar *fMenuBar ;
40 TGPopupMenu *fFileMenu ;
41
42 // divide the Window in two different parts
43
44 TGCompositeFrame *fFrameTop ; // top part of the main window
45 TGCompositeFrame *fFrameLow ; // low part of the main window
46 TGTab *fTab ; // different tabs in the low window
47
48 // the horizontal frame in the top part
49
50 TGHorizontalFrame *fTop1, *fTop2, *fTop3 ;
51
52 // the buttons in the Top Part
53
54 TGTextButton *fButPedADC, *fButCrADC ;
55 TGTextButton *fButPedTDC, *fButCrTDC ;
56
57 // the things in the file selector
58
59 TGCompositeFrame *fTabF1 ; // first tab of low part
60 TGCompositeFrame *fTabF1a, *fTabF1b ; // subpart of the file selector in low window
61 TGListBox *fDir ;
62 TGPictureButton *fCdup, *fListMode, *fDetail ;
63 TGFileContainer *fFileCont ;
64 TGListView *fFileView ;
65
66 // Layout hints for different uses
67
68 TGLayoutHints *fLayMenuBar, *fLayMenuItem ;
69 TGLayoutHints *fLayTab ;
70
71 // some icons and pictures often used
72
73 const TGPicture *fPicCdup; //!
74 const TGPicture *fPicList; //!
75 const TGPicture *fPicDetail; //!
76
77 public:
78 MGDataCheckMain(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h) ;
79
80 ~MGDataCheckMain();
81
82 void CloseWindow() ;
83
84 Bool_t InputFileSelected() ;
85
86 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
87
88 ClassDef(MGDataCheckMain, 1)
89
90} ;
91
92#endif
93
94
Note: See TracBrowser for help on using the repository browser.