SCV
4.2.1
Simple Components for Visual
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
GroupLayout.h
Go to the documentation of this file.
1
7
#ifndef __SCV_GROUP_LAYOUT_H__
8
#define __SCV_GROUP_LAYOUT_H__
9
10
#include "
Panel.h
"
11
12
#include "
ParallelGroup.h
"
13
#include "
SequentialGroup.h
"
14
15
namespace
scv {
16
17
class
Group;
18
19
class
GroupLayout
{
20
public
:
21
GroupLayout
(
Panel
*host);
22
virtual
~GroupLayout
(
void
) {}
23
24
static
ParallelGroup
*
createParallelGroup
(
void
);
25
static
ParallelGroup
*
createParallelGroup
(
Spring::Alignment
alignment);
26
static
ParallelGroup
*
createParallelGroup
(
Spring::Alignment
alignment,
bool
resizable);
27
28
static
SequentialGroup
*
createSequentialGroup
(
void
);
29
30
void
removeComponent
(
scv::Component
*
object
);
31
32
void
setHorizontalGroup
(
Group
*group);
33
Group
*
getHorizontalGroup
(
void
)
const
;
34
35
void
setVerticalGroup
(
Group
*group);
36
Group
*
getVerticalGroup
(
void
)
const
;
37
38
void
layoutContainer
(
void
);
39
40
int
getMinimumSize
(
Spring::Axis
axis);
41
int
getPreferredSize
(
Spring::Axis
axis);
42
int
getMaximumSize
(
Spring::Axis
axis);
43
44
protected
:
45
Panel
*
_host
;
46
Group
*
_horizontalGroup
, *
_verticalGroup
;
47
48
private
:
49
};
50
51
52
}
//namespace scv
53
54
#endif //__SCV_GROUP_LAYOUT_H__
include
SCV
GroupLayout.h
Generated on Fri Dec 14 2012 09:44:49 for SCV by
1.8.2