ROOT
v6-30
Reference Guide
Loading...
Searching...
No Matches
TSessionLogView.h
Go to the documentation of this file.
1
// @(#)root/sessionviewer:$Id$
2
// Author: Bertrand Bellenot, Gerri Ganis 15/09/2005
3
4
/*************************************************************************
5
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TSessionLogView
13
#define ROOT_TSessionLogView
14
15
#include "
TGFrame.h
"
16
17
#include "
TGButton.h
"
18
19
#include "
TGTextView.h
"
20
21
class
TSessionViewer
;
22
23
class
TSessionLogView
:
public
TGTransientFrame
{
24
25
private
:
26
TSessionViewer
*
fViewer
;
// pointer on main viewer
27
TGTextView
*
fTextView
;
// Text view widget
28
TGTextButton
*
fClose
;
// OK button
29
TGLayoutHints
*
fL1
;
// layout of TGTextEdit
30
TGLayoutHints
*
fL2
;
// layout of OK button
31
32
public
:
33
TSessionLogView
(
TSessionViewer
*viewer,
UInt_t
w
,
UInt_t
h
);
34
~TSessionLogView
()
override
;
35
36
void
AddBuffer
(
const
char
*buffer);
37
void
LoadBuffer
(
const
char
*buffer);
38
void
LoadFile
(
const
char
*
file
);
39
40
Bool_t
ProcessMessage
(
Longptr_t
msg,
Longptr_t
parm1,
Longptr_t
parm2)
override
;
41
42
void
CloseWindow
()
override
;
43
void
ClearLogView
();
44
void
Popup
();
45
void
SetTitle
();
46
47
ClassDefOverride
(
TSessionLogView
, 0)
// PROOF progress dialog
48
};
49
50
#endif
h
#define h(i)
Definition
RSha256.hxx:106
Longptr_t
long Longptr_t
Definition
RtypesCore.h:82
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:341
TGButton.h
TGFrame.h
TGTextView.h
w
winID w
Definition
TGWin32VirtualGLProxy.cxx:39
TGLayoutHints
This class describes layout hints used by the layout classes.
Definition
TGLayout.h:50
TGTextButton
Yield an action as soon as it is clicked.
Definition
TGButton.h:142
TGTextView
A TGTextView is a text viewer widget.
Definition
TGTextView.h:22
TGTransientFrame
Defines transient windows that typically are used for dialogs windows.
Definition
TGFrame.h:498
TSessionLogView
Dialog used to display session logs from the session viewer.
Definition
TSessionLogView.h:23
TSessionLogView::~TSessionLogView
~TSessionLogView() override
Definition
TSessionLogView.cxx:53
TSessionLogView::fL1
TGLayoutHints * fL1
Definition
TSessionLogView.h:29
TSessionLogView::ProcessMessage
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process OK button.
Definition
TSessionLogView.cxx:135
TSessionLogView::LoadFile
void LoadFile(const char *file)
Load a file in the editor.
Definition
TSessionLogView.cxx:108
TSessionLogView::fClose
TGTextButton * fClose
Definition
TSessionLogView.h:28
TSessionLogView::LoadBuffer
void LoadBuffer(const char *buffer)
Load a text buffer in the editor.
Definition
TSessionLogView.cxx:99
TSessionLogView::fViewer
TSessionViewer * fViewer
Definition
TSessionLogView.h:26
TSessionLogView::AddBuffer
void AddBuffer(const char *buffer)
Load a text buffer in the editor.
Definition
TSessionLogView.cxx:80
TSessionLogView::fTextView
TGTextView * fTextView
Definition
TSessionLogView.h:27
TSessionLogView::fL2
TGLayoutHints * fL2
Definition
TSessionLogView.h:30
TSessionLogView::Popup
void Popup()
Show editor.
Definition
TSessionLogView.cxx:72
TSessionLogView::SetTitle
void SetTitle()
Set title in editor window.
Definition
TSessionLogView.cxx:60
TSessionLogView::CloseWindow
void CloseWindow() override
Called when closed via window manager action.
Definition
TSessionLogView.cxx:117
TSessionLogView::ClearLogView
void ClearLogView()
Clear log window.
Definition
TSessionLogView.cxx:91
TSessionViewer
Widget used to manage PROOF or local sessions, PROOF connections, queries construction and results ha...
Definition
TSessionViewer.h:515
bool
unsigned int
file
Definition
file.py:1
gui
sessionviewer
inc
TSessionLogView.h
ROOT v6-30 - Reference Guide Generated on Tue Oct 29 2024 12:55:05 (GVA Time) using Doxygen 1.9.8