aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Fabio Bas2014-03-25 07:07:29 +0000
committerGravatar Fabio Bas2014-03-25 07:07:29 +0000
commite9fc8df11758a4d90edebb4f1884ea8259fe9e86 (patch)
tree90331e51486f3c79ed30b558ea37989cf4c4697c /src/modules
parent- bump to QT 4.7 (we have no QT 4.8 specific code) (diff)
downloadKVIrc-e9fc8df11758a4d90edebb4f1884ea8259fe9e86.tar.gz
KVIrc-e9fc8df11758a4d90edebb4f1884ea8259fe9e86.tar.bz2
KVIrc-e9fc8df11758a4d90edebb4f1884ea8259fe9e86.zip
Doc updates for label class; kudos to OmegaPhil
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6372 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/objects/KvsObject_label.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/objects/KvsObject_label.cpp b/src/modules/objects/KvsObject_label.cpp
index f463c2c83..5e988cbcc 100644
--- a/src/modules/objects/KvsObject_label.cpp
+++ b/src/modules/objects/KvsObject_label.cpp
@@ -138,9 +138,9 @@ const int frame_cod[] = {
Center - Equals HCenter + VCenter[br]
WordBreak - Enables automatic word breaking[br]
[/pre]
- It is obvious that you can not set for example [i]Right[/i]
+ It is obvious that you can not set [i]Right[/i]
and [i]Left[/i] simoultaneously - this will [b]NOT[/b]
- result in an error message - this will simply not work :)
+ result in an error message - it will simply not work :)
!fn: $clear()
Clears the label. Equal to calling [classfnc]$setText[/classfnc]("")
!fn: <string> $frameStyle()
@@ -149,10 +149,10 @@ const int frame_cod[] = {
this:
[pre]Panel, Raised[/pre]
See [classfnc]$setFrameStyle[/classfnc]() for a list of all
- frame-style flags and their explenation.
+ frame-style flags and their explanation.
!fn: $setFrameStyle(<flag1>, <flag2>, ...)
Sets the frame-style flags to the ones passed as arguments.
- The flags can either decide of the shape or shadow of the
+ The flags determine the shape or shadow of the
label's frame. Valid shape flags are:[br]
[pre]
NoFrame - draw no frame. You shouldn't specify a shadow when
@@ -175,7 +175,7 @@ const int frame_cod[] = {
[/pre]
!fn: $setImage(<image_id>)
Sets the image to be displayed on this label.
- Giving empty argument clears the pixmap[br]
+ Giving empty argument clears the pixmap.[br]
See the [doc:image_id]image identifier[/doc] documentation for
the explaination of the <image_id> parameter.