|
|
This class represents one widget inside the one KContainerLayout.
See also: KContainerLayout
KContainerLayoutItem (QWidget *w,bool e=FALSE,bool f=FALSE,int p=0)
| KContainerLayoutItem |
Creates one KContIem
Parameters:
w | The widget associated with this KContainerLayoutItem |
e | Expand will make the widget to use all space alocated to it |
f | Fill will make the widget be sized to ocupy all the space allocated to it. Only makes sense with expand = TRUE |
p | Padding is the size the widget will use as borders on both sides of the space allocated to it. |
void setExpand (bool b)
| setExpand |
void setFill (bool b)
| setFill |
void setPadding (int i)
| setPadding |
QWidget * widget ()
| widget |
const bool expand ()
| expand |
[const]
const bool fill ()
| fill |
[const]
const int padding ()
| padding |
[const]
QWidget * _widget | _widget |
[ protected: ]
bool _expand | _expand |
[ protected: ]
bool _fill | _fill |
[ protected: ]
int _padding | _padding |
[ protected: ]