]>
Commit | Line | Data |
---|---|---|
58744dc7 | 1 | #ifndef ALILOGINFRAME_H |
2 | #define ALILOGINFRAME_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 AliLoginFrame | |
10 | // AliPackageFrame class that describes the login frame of the GUI | |
11 | // | |
12 | // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch | |
13 | //------------------------------------------------------------------------- | |
14 | ||
15 | ||
16 | ||
17 | ////////////////////////////////////////////////////////////////////////// | |
18 | // // | |
19 | // AliLoginFrame // | |
20 | // // | |
21 | // Login frame of the GUI. // | |
22 | // // | |
23 | ////////////////////////////////////////////////////////////////////////// | |
24 | ||
25 | #include <TGFrame.h> | |
26 | ||
27 | class TGLabel; | |
28 | class TGButton; | |
29 | class TGTextEntry; | |
30 | class TGVerticalFrame; | |
31 | class TGHorizontalFrame; | |
32 | ||
33 | //___________________________________________________________________________ | |
34 | class AliLoginFrame : public TGTransientFrame { | |
35 | ||
36 | public: | |
37 | AliLoginFrame(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame); | |
38 | ~AliLoginFrame(); | |
39 | ||
40 | void DoLogIn(); | |
41 | void DoCancel(); | |
42 | ||
43 | //___________________________________________________________________________ | |
44 | private: | |
45 | AliLoginFrame(const AliLoginFrame&); // cp ctor | |
46 | AliLoginFrame& operator= (const AliLoginFrame&); // op= | |
47 | ||
48 | TGLabel *fLabel1, *fLabel2; //labels | |
49 | TGTextEntry *fTextServer, *fTextUsername; //server - username text box | |
50 | TGButton *fButtonLogIn, *fButtonCancel; //login & cancel buttons | |
51 | TGVerticalFrame *fVFrame1; //vertical frame | |
52 | TGHorizontalFrame *fHFrame1, *fHFrame2, *fHFrame3; //horizontal frames | |
53 | ||
54 | ClassDef(AliLoginFrame, 0); // LogIn Frame | |
55 | }; | |
56 | ||
57 | #endif |