summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_layout.cpp')
-rw-r--r--src/modules/objects/class_layout.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/class_layout.cpp b/src/modules/objects/class_layout.cpp
index 3cc6a0e..b2842a8 100644
--- a/src/modules/objects/class_layout.cpp
+++ b/src/modules/objects/class_layout.cpp
@@ -55,7 +55,7 @@
The tqlayout is a tqgeometry management tool for child widgets.
You create a tqlayout , give it some widgets to manage and it will tqlayout them
automatically.[br]
- The tqparent of the tqlayout must be the widget for which child widget geometries have to be managed.
+ The parent of the tqlayout must be the widget for which child widget geometries have to be managed.
A tqlayout is a grid of NxM cells in which you insert child widgets with [classfnc:tqlayout]$addWidget[/classfnc]().[br]
Widgets that must span multiple cells can be added to the tqlayout with [classfnc:tqlayout]$addMultiCellWidget[/classfnc]().[br]
@functions:
@@ -80,12 +80,12 @@
!fn: $setMargin(<margin:uint>)
Sets the dimension of the tqlayout margin : the distance from the border to the outermost child widget edges.
!fn: $setResizeMode(<resize_mode:string>)
- Sets the resize mode of the tqparent widget in relation to this tqlayout.
+ Sets the resize mode of the parent widget in relation to this tqlayout.
<mode> can be one of:[br]
-Auto: this is the default[br]
- -Fixed: the tqparent widget of this tqlayout is resized to the "tqsizeHint" value and it cannot be resized by the user.[br]
- -Minimum: the minimum size of the tqparent widget of this tqlayout is set to tqminimumSize() and it cannot be smaller[br]
- -FreeResize: the tqparent widget of this tqlayout is not constrained at all[br]
+ -Fixed: the parent widget of this tqlayout is resized to the "tqsizeHint" value and it cannot be resized by the user.[br]
+ -Minimum: the minimum size of the parent widget of this tqlayout is set to tqminimumSize() and it cannot be smaller[br]
+ -FreeResize: the parent widget of this tqlayout is not constrained at all[br]
*/
@@ -116,7 +116,7 @@ bool KviKvsObject_layout::init(KviKvsRunTimeContext * pContext,KviKvsVariantList
if(!w)
{
- pContext->warning(__tr2qs("The tqparent of a tqlayout must be a widget!"));
+ pContext->warning(__tr2qs("The parent of a tqlayout must be a widget!"));
return false;
}
setObject(TQT_TQOBJECT(new TQGridLayout(w)));