From 2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:06:29 -0600 Subject: Rename obsolete tq methods to standard names --- src/modules/objects/class_groupbox.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/modules/objects/class_groupbox.cpp') diff --git a/src/modules/objects/class_groupbox.cpp b/src/modules/objects/class_groupbox.cpp index a1f5c11f..7c011403 100644 --- a/src/modules/objects/class_groupbox.cpp +++ b/src/modules/objects/class_groupbox.cpp @@ -60,8 +60,8 @@ const int align_cod[] = { @description: This widget can be used to display a groupbox. It will be usually a parent for other child controls. - You can either use a child tqlayout to manage the children geometries - or use $setColumnLayout to manage the tqlayout automatically. + You can either use a child layout to manage the children geometries + or use $setColumnLayout to manage the layout automatically. @functions: !fn: $setTitle() Sets the group box title to . @@ -96,7 +96,7 @@ const int align_cod[] = { !fn: $setOrientation Sets the group box's orientation. Valid values are:Qt::Horizontal,Qt::Vertical. !fn: $setColumnLayout(,) - Enables the automatic tqlayout management. The children are arranged in n columns with the specified orientation.[br] + Enables the automatic layout management. The children are arranged in n columns with the specified orientation.[br] Valid values for are:Qt::Horizontal,Qt::Vertical. @examples: [example] @@ -120,16 +120,16 @@ const int align_cod[] = { %inputpass->$setechomode("password")[br] [br] #now lets' layouting the groupbox's element's.[br] - %layoutgb=$new(tqlayout,%gb)[br] + %layoutgb=$new(layout,%gb)[br] %layoutgb->$setmargin(20)[br] %layoutgb->$addwidget(%labeluser,0,0)[br] %layoutgb->$addwidget(%labelpass,1,0)[br] %layoutgb->$addwidget(%inputuser,0,1)[br] %layoutgb->$addwidget(%inputpass,1,1)[br] [br] - # now we create a fake widget and managing the two buttons tqlayout.[br] + # now we create a fake widget and managing the two buttons layout.[br] %fakewidget=$new(widget,%widget)[br] - %layoutbtn=$new(tqlayout,%fakewidget)[br] + %layoutbtn=$new(layout,%fakewidget)[br] %btnok=$new(button,%fakewidget)[br] %btnok->$settext("OK")[br] %btncancel=$new(button,%fakewidget)[br] @@ -137,13 +137,13 @@ const int align_cod[] = { %layoutbtn->$addwidget(%btnok,0,0)[br] %layoutbtn->$addwidget(%btncancel,0,1)[br] [br] - #And finally we create a main tqlayout with the groupbox (and its "children")[br] + #And finally we create a main layout with the groupbox (and its "children")[br] #and fakewiget (with its buttons children). - %maintqlayout=$new(tqlayout,%widget)[br] - %maintqlayout->$setspacing(10)[br] - %maintqlayout->$setmargin(10)[br] - %maintqlayout->$addwidget(%gb,0,0)[br] - %maintqlayout->$addwidget(%fakewidget,1,0)[br] + %mainlayout=$new(layout,%widget)[br] + %mainlayout->$setspacing(10)[br] + %mainlayout->$setmargin(10)[br] + %mainlayout->$addwidget(%gb,0,0)[br] + %mainlayout->$addwidget(%fakewidget,1,0)[br] [br] #Let's show our nice login request =D ! [br] %widget->$show()[br] -- cgit v1.2.1