aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects')
-rw-r--r--src/modules/objects/KvsObject_lineEdit.cpp4
-rw-r--r--src/modules/objects/KvsObject_multiLineEdit.cpp2
-rw-r--r--src/modules/objects/KvsObject_wrapper.cpp18
3 files changed, 12 insertions, 12 deletions
diff --git a/src/modules/objects/KvsObject_lineEdit.cpp b/src/modules/objects/KvsObject_lineEdit.cpp
index db302cc8c..8af1498ce 100644
--- a/src/modules/objects/KvsObject_lineEdit.cpp
+++ b/src/modules/objects/KvsObject_lineEdit.cpp
@@ -133,14 +133,14 @@ static const int mode_cod[] = {
Sets the lineedit to read-only mode.
!fn: $setInputMask(<mask:string>)
Sets the validation input mask to inputMask.[br]
- [b]Example:[/b][br]
+ [b]Example:[/b]
[example]
%ledit_example->$setInputMask( "+99 99 99 99 99;_" );[br]
%ledit_example->$setInputMask( "000.000.000.000;_" );[br]
%ledit_example->IP Number Mask.[br]
%ledit_example->setInputMask( ">AAAAA-AAAAA-AAAAA-AAAAA-AAAAA;#" );
[/example]
- The mask format understands these mask characters:[br]
+ The mask format understands these mask characters:
[example]
[b][comment]Character Meaning[/comment][/b][br]
A - ASCII alphabetic character required. A-Z, a-z.[br]
diff --git a/src/modules/objects/KvsObject_multiLineEdit.cpp b/src/modules/objects/KvsObject_multiLineEdit.cpp
index 955091b6d..19ddb0f84 100644
--- a/src/modules/objects/KvsObject_multiLineEdit.cpp
+++ b/src/modules/objects/KvsObject_multiLineEdit.cpp
@@ -70,7 +70,7 @@
Returns [b]1[/b] (true) if the cursor is placed at the end of the text; otherwise returns [b]0[/b] (false).
!fn: $setWordWrap(<wrap_mode:string>)
Sets the word wrap mode to mode.[br]
- Valid Values are:[br]
+ Valid Values are:
[example]
- NoWrap - Do not wrap the text.[br]
- WidgetWidth - Wrap the text at the current width of the widget.[br]
diff --git a/src/modules/objects/KvsObject_wrapper.cpp b/src/modules/objects/KvsObject_wrapper.cpp
index 147ca7d4e..1131aa4c2 100644
--- a/src/modules/objects/KvsObject_wrapper.cpp
+++ b/src/modules/objects/KvsObject_wrapper.cpp
@@ -80,7 +80,7 @@
As you can see the objects are identified by their names (for example "mdi_manager") and
by their class names (for example KviChannelWindow).[br]
To wrap a specific widget you must provide a path in the tree composed of search specifiers.[br]
- Each search specifier can have one of the following forms:[br]
+ Each search specifier can have one of the following forms:
[example]
(1) <class>
(2) <class>::<name>
@@ -91,17 +91,17 @@
The first three forms may be preceded by the prefix [b]*[/b] which will tell KVS to perform
a recursive search from this point. Let's see some examples.[br]
The form (1) matches the first widget with the specified class name.[br]
- For instance:[br]
+ For instance:
[example]
%Frame = $new(wrapper,0,test,KviMainWindow)
[/example]
This will wrap the first top level object with class KviMainWindow. Now you can use
- any [class]widget[/class] or [class]object[/class] methods on it.[br]
+ any [class]widget[/class] or [class]object[/class] methods on it.
[example]
%Frame = $new(wrapper,0,test,KviMainWindow)
%Frame->$setGeometry(20,20,400,400);
[/example]
- If you want to wrap the KVIrc status bar you can use a composite path:[br]
+ If you want to wrap the KVIrc status bar you can use a composite path:
[example]
%StatusBar = $new(wrapper,0,test,KviMainWindow,KviStatusBar)
%StatusBar->$setProperty(autoFillBackground,1)
@@ -109,7 +109,7 @@
[/example]
The form (2) matches both the class and the widget name. In this way you can differentiate
between children that have the same class.[br]
- For instance:[br]
+ For instance:
[example]
%VerticalScrollBar = $new(wrapper,0,test,KviMainWindow,QSplitter,KviWindowStack,QWidget::qt_scrollarea_vcontainer,QScrollBar)
%VerticalScrollBar->$setProperty(invertedAppearance,1);
@@ -124,24 +124,24 @@
[/example]
If you don't want to specify the full path to the widget you can try to use a recursive search which may skip some levels.
Keep in mind that the recursive search is breadth-first and will return the first widget that matches.[br]
- In our sample tree the following would match the first widget with class KviChannelWindow.[br]
+ In our sample tree the following would match the first widget with class KviChannelWindow.
[example]
%Chan = $new(wrapper,0,test,*KviChannelWindow)
%Chan->$setBackgroundColor(80,0,0);
[/example]
- The following would match the first widget with name #kvirc[br]
+ The following would match the first widget with name #kvirc
[example]
%Chan = $new(wrapper,0,test,*::#kvirc)
%Chan->$setBackgroundColor(80,0,0);
[/example]
The recursive search can start at any level, so if starting from the root does not work properly you might try
- specifying a part of the path and then searching recursively.[br]
+ specifying a part of the path and then searching recursively.
[example]
%Chan = $new(wrapper,0,test,KviMainWindow,*::#kvirc)
%Chan->$setBackgroundColor(80,0,0);
[/example]
The form (4) allows you to jump directly to a specific KVIrc channel/query/console window,
- without the need of looking it up in the tree.[br]
+ without the need of looking it up in the tree.
[example]
%Win = $new(wrapper,0,test,!Window::$window)
%Win->$setBackgroundColor(80,0,0);