Belle II Software
release-08-02-06
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
e
f
g
n
p
s
v
z
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
MultilineWidget.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
11
//STL
12
#include <vector>
13
14
//Root
15
#include <TGFrame.h>
16
17
class
TGLabel;
18
19
namespace
Belle2
{
30
class
MultilineWidget
:
public
TGGroupFrame {
31
private
:
33
std::vector<TGLabel*>
lines
;
34
35
public
:
39
MultilineWidget
(
const
TGWindow* p = 0,
const
char
* title = 0,
int
line_count = 0);
40
virtual
~
MultilineWidget
();
41
45
int
getLineCount
();
51
void
setLineCount
(
int
count);
55
void
removeLine
(
int
line_id);
59
void
removeLastLine
();
63
void
setLine
(
int
line_id,
const
char
* text);
67
void
addLine
(
const
char
* text = 0);
68
};
70
}
Belle2::MultilineWidget
Widget which contains the dynamic amount of TGLabel objects.
Definition:
MultilineWidget.h:30
Belle2::MultilineWidget::setLine
void setLine(int line_id, const char *text)
Set content of the specified line to 'text'.
Definition:
MultilineWidget.cc:66
Belle2::MultilineWidget::removeLine
void removeLine(int line_id)
Remove line with specified id.
Definition:
MultilineWidget.cc:52
Belle2::MultilineWidget::removeLastLine
void removeLastLine()
Removes last line from multiline widget and reduces line count.
Definition:
MultilineWidget.cc:62
Belle2::MultilineWidget::getLineCount
int getLineCount()
Return number of lines in widget.
Definition:
MultilineWidget.cc:34
Belle2::MultilineWidget::lines
std::vector< TGLabel * > lines
Content of multiline widget.
Definition:
MultilineWidget.h:33
Belle2::MultilineWidget::MultilineWidget
MultilineWidget(const TGWindow *p=0, const char *title=0, int line_count=0)
Create multiline widget with parent window p.
Definition:
MultilineWidget.cc:16
Belle2::MultilineWidget::addLine
void addLine(const char *text=0)
Append line to multiline widget.
Definition:
MultilineWidget.cc:75
Belle2::MultilineWidget::setLineCount
void setLineCount(int count)
Add or remove lines depending on current line count.
Definition:
MultilineWidget.cc:39
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
ecl
modules
eclDisplay
include
MultilineWidget.h
Generated on Tue Jan 28 2025 01:54:03 for Belle II Software by
1.9.1