KVIrc  4.9.2
DeveloperAPIs
Macros | Functions | Variables
KvsObject_tableWidget.cpp File Reference
#include "KvsObject_tableWidget.h"
#include "KvsObject_painter.h"
#include "KvsObject_pixmap.h"
#include "kvi_debug.h"
#include "KviApplication.h"
#include "KviLocale.h"
#include "KviError.h"
#include "KviIconManager.h"
#include "KviFile.h"
#include "KviKvsArrayCast.h"
#include <QTableWidget>
#include <QHeaderView>
#include <QPainter>
#include <QApplication>
#include <QPoint>
#include <QPaintEvent>
#include <QTableWidgetItem>
#include <QRect>

Macros

#define itemflags_num   (sizeof(itemflags_tbl) / sizeof(itemflags_tbl[0]))
 

Functions

 KVSO_CLASS_FUNCTION (tableWidget, clear)
 
 KVSO_CLASS_FUNCTION (tableWidget, resizeRowsToContents)
 
 KVSO_CLASS_FUNCTION (tableWidget, resizeColumnsToContents)
 
 KVSO_CLASS_FUNCTION (tableWidget, setForeground)
 
 KVSO_CLASS_FUNCTION (tableWidget, setText)
 
 KVSO_CLASS_FUNCTION (tableWidget, setNumber)
 
 KVSO_CLASS_FUNCTION (tableWidget, insertRow)
 
 KVSO_CLASS_FUNCTION (tableWidget, insertColumn)
 
 KVSO_CLASS_FUNCTION (tableWidget, removeRow)
 
 KVSO_CLASS_FUNCTION (tableWidget, removeColumn)
 
 KVSO_CLASS_FUNCTION (tableWidget, setIcon)
 
 KVSO_CLASS_FUNCTION (tableWidget, text)
 
 KVSO_CLASS_FUNCTION (tableWidget, setRowCount)
 
 KVSO_CLASS_FUNCTION (tableWidget, rowCount)
 
 KVSO_CLASS_FUNCTION (tableWidget, currentRow)
 
 KVSO_CLASS_FUNCTION (tableWidget, currentColumn)
 
 KVSO_CLASS_FUNCTION (tableWidget, columnCount)
 
 KVSO_CLASS_FUNCTION (tableWidget, itemRowColAt)
 
 KVSO_CLASS_FUNCTION (tableWidget, setToolTip)
 
 KVSO_CLASS_FUNCTION (tableWidget, setColumnCount)
 
 KVSO_CLASS_FUNCTION (tableWidget, hideColumn)
 
 KVSO_CLASS_FUNCTION (tableWidget, showColumn)
 
 KVSO_CLASS_FUNCTION (tableWidget, hideRow)
 
 KVSO_CLASS_FUNCTION (tableWidget, showRow)
 
 KVSO_CLASS_FUNCTION (tableWidget, setHorizontalHeaderLabels)
 
 KVSO_CLASS_FUNCTION (tableWidget, setVerticalHeaderLabels)
 
 KVSO_CLASS_FUNCTION (tableWidget, setCellWidget)
 
 KVSO_CLASS_FUNCTION (tableWidget, hideHorizontalHeader)
 
 KVSO_CLASS_FUNCTION (tableWidget, hideVerticalHeader)
 
 KVSO_CLASS_FUNCTION (tableWidget, showHorizontalHeader)
 
 KVSO_CLASS_FUNCTION (tableWidget, showVerticalHeader)
 
 KVSO_CLASS_FUNCTION (tableWidget, setItemFlags)
 
 KVSO_CLASS_FUNCTION (tableWidget, itemEnteredEvent)
 
 KVSO_CLASS_FUNCTION (tableWidget, cellActivatedEvent)
 
 KVSO_CLASS_FUNCTION (tableWidget, cellDoubleClickedEvent)
 
 KVSO_REGISTER_HANDLER (KvsObject_tableWidget,"itemEnteredEvent", itemEnteredEvent)
 
 KVSO_REGISTER_HANDLER (KvsObject_tableWidget,"cellActivatedEvent", cellActivatedEvent)
 
 KVSO_REGISTER_HANDLER (KvsObject_tableWidget,"cellDoubleClickedEvent", cellDoubleClickedEvent)
 
 KVSO_REGISTER_HANDLER_BY_NAME (KvsObject_tableWidget, setItemFlags)
 

Variables

const int item_flags []
 
const char *const itemflags_tbl []
 

Macro Definition Documentation

#define itemflags_num   (sizeof(itemflags_tbl) / sizeof(itemflags_tbl[0]))

Referenced by KVSO_CLASS_FUNCTION().

Function Documentation

KVSO_CLASS_FUNCTION ( tableWidget  ,
clear   
)

References CHECK_INTERNAL_POINTER, and clear().

KVSO_CLASS_FUNCTION ( tableWidget  ,
resizeRowsToContents   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
resizeColumnsToContents   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setForeground   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setText   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setNumber   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
insertRow   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
insertColumn   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
removeRow   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
removeColumn   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setIcon   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
text   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setRowCount   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
rowCount   
)

References c, and CHECK_INTERNAL_POINTER.

KVSO_CLASS_FUNCTION ( tableWidget  ,
currentRow   
)

References c, and CHECK_INTERNAL_POINTER.

KVSO_CLASS_FUNCTION ( tableWidget  ,
currentColumn   
)

References c, and CHECK_INTERNAL_POINTER.

KVSO_CLASS_FUNCTION ( tableWidget  ,
columnCount   
)

References c, and CHECK_INTERNAL_POINTER.

KVSO_CLASS_FUNCTION ( tableWidget  ,
itemRowColAt   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setToolTip   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setColumnCount   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
hideColumn   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
showColumn   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
hideRow   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
showRow   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setHorizontalHeaderLabels   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setVerticalHeaderLabels   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
setCellWidget   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
hideHorizontalHeader   
)

References c, and Q_UNUSED().

KVSO_CLASS_FUNCTION ( tableWidget  ,
hideVerticalHeader   
)

References c, and Q_UNUSED().

KVSO_CLASS_FUNCTION ( tableWidget  ,
showHorizontalHeader   
)

References c, and Q_UNUSED().

KVSO_CLASS_FUNCTION ( tableWidget  ,
showVerticalHeader   
)

References c, and Q_UNUSED().

KVSO_CLASS_FUNCTION ( tableWidget  ,
setItemFlags   
)
KVSO_CLASS_FUNCTION ( tableWidget  ,
itemEnteredEvent   
)

References c.

KVSO_CLASS_FUNCTION ( tableWidget  ,
cellActivatedEvent   
)

References c.

KVSO_CLASS_FUNCTION ( tableWidget  ,
cellDoubleClickedEvent   
)

References c.

KVSO_REGISTER_HANDLER ( KvsObject_tableWidget  ,
"itemEnteredEvent"  ,
itemEnteredEvent   
)
KVSO_REGISTER_HANDLER ( KvsObject_tableWidget  ,
"cellActivatedEvent"  ,
cellActivatedEvent   
)
KVSO_REGISTER_HANDLER ( KvsObject_tableWidget  ,
"cellDoubleClickedEvent"  ,
cellDoubleClickedEvent   
)
KVSO_REGISTER_HANDLER_BY_NAME ( KvsObject_tableWidget  ,
setItemFlags   
)

Variable Documentation

const int item_flags[]
Initial value:
= {
Qt::NoItemFlags,
Qt::ItemIsSelectable,
Qt::ItemIsEditable,
Qt::ItemIsDragEnabled,
Qt::ItemIsDropEnabled,
Qt::ItemIsUserCheckable,
Qt::ItemIsEnabled,
Qt::ItemIsTristate
}

Referenced by KVSO_CLASS_FUNCTION().

const char* const itemflags_tbl[]
Initial value:
= {
"noitemflag",
"selectable",
"editable",
"dragEnabled",
"dropEnabled",
"userCheckable",
"enabled",
"tristate"
}

Referenced by KVSO_CLASS_FUNCTION().