diff options
Diffstat (limited to 'src/modules/objects')
| -rw-r--r-- | src/modules/objects/KvsObject_dockWindow.cpp | 2 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_groupBox.cpp | 4 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_painter.cpp | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/objects/KvsObject_dockWindow.cpp b/src/modules/objects/KvsObject_dockWindow.cpp index c90cfa27c..79cf0cada 100644 --- a/src/modules/objects/KvsObject_dockWindow.cpp +++ b/src/modules/objects/KvsObject_dockWindow.cpp @@ -52,7 +52,7 @@ !fn: $setAllowedDockAreas(<docks:string>) Sets the allowed main window dock areas for this dock window.[br] <docks> must be a combination of [i]l[/i], [i]r[/i], [i]t[/i], [i]b[/i], [b]f[/b] and [b]m[/b].[br] - [b]l[/b] stands for left dock area, [b]r[/b] stands for right dock area, [b]t[/b] stands for the top dock areas, [b]b[/b] stands for the bottom dock area, + [b]l[/b] stands for left dock area, [b]r[/b] stands for right dock area, [b]t[/b] stands for the top dock areas, [b]b[/b] stands for the bottom dock area, [b]f[/b] stands for [i]floating[/i] and [b]m[/b] for [i]minimized[/i].[br] If a flag is present then the related block area is enabled,otherwise it is disabled. !fn: $dock(<dockarea:string>) diff --git a/src/modules/objects/KvsObject_groupBox.cpp b/src/modules/objects/KvsObject_groupBox.cpp index 7ba81e693..2d6637c66 100644 --- a/src/modules/objects/KvsObject_groupBox.cpp +++ b/src/modules/objects/KvsObject_groupBox.cpp @@ -105,13 +105,13 @@ const int align_cod[] = { %gb->$setAlignment("Left") [comment]# Add the groupbox to the main layout[/comment] %layout->$addWidget(%gb,0,0) - [comment]# Now we create the user field + [comment]# Now we create the user field (labels + lineedit) in a horizontal box[/comment] %hbox=$new(hbox,%gb) %labeluser=$new(label,%hbox) %labeluser->$settext(User: ) %inputuser=$new(lineedit,%hbox) - [comment]# Now we create the password field + [comment]# Now we create the password field (labels + lineedit) in a horizontal box[/comment] %hbox=$new(hbox,%gb) %labelpass=$new(label,%hbox) diff --git a/src/modules/objects/KvsObject_painter.cpp b/src/modules/objects/KvsObject_painter.cpp index 79b9c002a..603181430 100644 --- a/src/modules/objects/KvsObject_painter.cpp +++ b/src/modules/objects/KvsObject_painter.cpp @@ -330,7 +330,7 @@ const char * const brushstyles_tbl[] = { !fn: $scale(<dh:real>,<dw:real>) Scales the coordinate system by <dh>, <dv>. !fn: $setBackgroundMode(<bgMode:enum>) - Sets the background mode of the painter to <bgMode>: + Sets the background mode of the painter to <bgMode>: Valid values are:[br] [pre] - Transparent (that is the default value);[br] @@ -472,7 +472,7 @@ const char * const brushstyles_tbl[] = { { $$->%degree=0; if ($$->%Zoomindex == 99) $$->%Noanim=1 - } + } if ($$->%Noanim != 1) return [comment]#sinusoid animation[/comment] if (($$->%xstart <1) && ($$->%xoffset == -4)) $$->%xoffset=4; @@ -495,11 +495,11 @@ const char * const brushstyles_tbl[] = { privateimpl(%Btn,mousepressevent) { - if ($$->$parent->%nextanim==0) + if ($$->$parent->%nextanim==0) { $$->$parent->%nextanim=1 $$->$settext(Prev) - } + } else { $$->$parent->%nextanim=0 @@ -515,7 +515,7 @@ const char * const brushstyles_tbl[] = { %Hello->$setmaximumheight(600) %Hello->$setminimumheight(600) %Hello->$move(10,10) - %Hello->$show(); + %Hello->$show(); [/example] */ |
