aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects')
-rw-r--r--src/modules/objects/KvsObject_tableWidget.cpp6
-rw-r--r--src/modules/objects/KvsObject_treeWidgeteItem.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/objects/KvsObject_tableWidget.cpp b/src/modules/objects/KvsObject_tableWidget.cpp
index 74cd1187d..17c12fd66 100644
--- a/src/modules/objects/KvsObject_tableWidget.cpp
+++ b/src/modules/objects/KvsObject_tableWidget.cpp
@@ -135,8 +135,8 @@ const char * const itemflags_tbl[] = {
Sets the flags for the cell pointed by row and col to the given flags.
These determine whether the cell can be selected or modified.
Supported flags are:
- [pre]
- - noitemflag : no flag sets;
+ [example]
+ - noitemflag : no flag sets;[br]
- selectable : cell is selectable;[br]
- editable : cell is editable;[br]
- dragEnabled : cell can dragged;[br]
@@ -144,7 +144,7 @@ const char * const itemflags_tbl[] = {
- userCheckable : cell is checkable;[br]
- enabled :cell is enabled;[br]
- tristate : cell is checkable with three separate states.
- [/pre]
+ [/example]
!fn: $setCellWidget(<row:uint>,<column:uint>,<widget:hobject>)
Sets the given widget to be displayed in the cell in the given row and column, passing the ownership of the widget to the table.
!fn: $setIcon(<row:uint>,<column:uint>,<icon:imageid or hobject>)
diff --git a/src/modules/objects/KvsObject_treeWidgeteItem.cpp b/src/modules/objects/KvsObject_treeWidgeteItem.cpp
index 508b1cf01..ebf10f19c 100644
--- a/src/modules/objects/KvsObject_treeWidgeteItem.cpp
+++ b/src/modules/objects/KvsObject_treeWidgeteItem.cpp
@@ -113,7 +113,7 @@ const char * const itemflags_tbl[] = {
Sets the flags for the item to the given flags. These determine whether the item can be selected or modified.[br]
This is often used to disable an item.
Supported flags are:
- [pre]
+ [example]
- noitemflag : no flag sets;[br]
- selectable : item is selectable;[br]
- editable : item is editable;[br]
@@ -122,7 +122,7 @@ const char * const itemflags_tbl[] = {
- userCheckable : item is checkable;[br]
- enabled :item is enabled;[br]
- tristate : item is checkable with three separate states.
- [/pre]
+ [/example]
*/
KVSO_BEGIN_REGISTERCLASS(KvsObject_treeWidgetItem, "listviewitem", "object")