aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_tableWidget.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2015-12-09 11:58:53 +0000
committerGravatar un1versal2015-12-19 02:40:22 +0000
commit7d4516afc4cd194f9224dcd5e07e0f234c162fdf (patch)
treea1a165c897339fcbd35a27108fe16c999a3041e2 /src/modules/objects/KvsObject_tableWidget.cpp
parentMerge pull request #1776 from TheReign/issue_1754_2 (diff)
downloadKVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.gz
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.bz2
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.zip
src/modules typos: capitalize, formatting, consistency and syntax fixes
Diffstat (limited to 'src/modules/objects/KvsObject_tableWidget.cpp')
-rw-r--r--src/modules/objects/KvsObject_tableWidget.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/objects/KvsObject_tableWidget.cpp b/src/modules/objects/KvsObject_tableWidget.cpp
index 9e1e12b76..3289d3e99 100644
--- a/src/modules/objects/KvsObject_tableWidget.cpp
+++ b/src/modules/objects/KvsObject_tableWidget.cpp
@@ -102,7 +102,7 @@ const char * const itemflags_tbl[] = {
!fn: $hideVerticalHeader()
Hides the vertical header.
!fn: $setRowCount(<integer>)
- Sets the number of rows in the table.
+ Sets the number of rows in the table.
!fn: <integer> $rowCount()
Returns the number of rows in the table.
!fn: <integer> $currentRow()
@@ -117,9 +117,9 @@ const char * const itemflags_tbl[] = {
!fn: $removeColumn(<column:uinteger>)
Remove the column at <column> and all its items from the table.
!fn: $setColumnCount(<uinteger>)
- Sets the number of columns in the table.
+ Sets the number of columns in the table.
!fn: <integer> $columnCount()
- Returns the number of columns in the table.
+ Returns the number of columns in the table.
!fn: <integer> $currentRow()
Returns the current column.
Useful in the [classfnc]customContextMenuRequestedEvent[/classfnc]
@@ -135,6 +135,7 @@ 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]
[br]- noitemflag : no flag sets;
[br]- selectable : cell is selecatble;
[br]- editable : cell is editable;
@@ -143,6 +144,7 @@ const char * const itemflags_tbl[] = {
[br]- userCheckable : cell is checkable;
[br]- enabled :cell is enabled;
[br]- tristate : cell is checkable with three separate states.
+ [/pre]
!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>)