12 #ifndef ROOT_TProofProgressLog
13 #define ROOT_TProofProgressLog
30 class TProofProgressDialog;
36 class TGVerticalFrame;
40 class TProofProgressLog :
public TGTransientFrame {
43 enum ETextType { kRaw = 0, kStd = 1, kGrep = 2 };
51 TGTextButton *fLogNew;
52 TProofProgressDialog *fDialog;
54 TGNumberEntry *fLinesFrom;
55 TGNumberEntry *fLinesTo;
56 TGTextEntry *fGrepText;
57 TGTextEntry *fUrlText;
58 TGNumberEntry *fSessNum;
59 TGTextEntry *fFileName;
61 TGTextButton *fGrepButton;
62 TGTextButton *fUrlButton;
63 TGCheckButton *fAllLines;
64 TGCheckButton *fRawLines;
65 TGSplitButton *fAllWorkers;
66 TGVerticalFrame *fVworkers;
68 TGCheckButton *fGrepCheckCmd;
69 TGCheckButton *fGrepCheckInv;
74 void Init(Int_t w = 700, Int_t h = 600);
77 TProofProgressLog(TProofProgressDialog *d, Int_t w = 700, Int_t h = 600);
78 TProofProgressLog(
const char *url = 0, Int_t sessionidx = 0, Int_t w = 700, Int_t h = 600);
79 virtual ~TProofProgressLog();
81 void BuildLogList(Bool_t create = kFALSE);
82 void DoLog(Bool_t grep=kFALSE);
83 void LogMessage(
const char *msg, Bool_t all);
86 void LoadBuffer(
const char *buffer);
87 void AddBuffer(
const char *buffer);
89 void LoadFile(
const char *file);
91 void Clear(Option_t * = 0);
96 void Select(Int_t
id, Bool_t all = kTRUE);
98 void SetUrl(
const char *url) { fSessionUrl = url; }
102 ClassDef(TProofProgressLog,0)