KVIrc 5.2.6
Developer APIs
KvsObject_tableWidget Class Reference

#include <KvsObject_tableWidget.h>

+ Inheritance diagram for KvsObject_tableWidget:

Public Member Functions

bool paint (QPainter *pPainter, const QStyleOptionViewItem &option, const QModelIndex &index)
 
QWidget * widget ()
 
- Public Member Functions inherited from KvsObject_widget
QWidget * widget ()
 
- Public Member Functions inherited from KviKvsObject
bool callFunction (KviKvsObject *pCaller, const QString &fncName, const QString &classOverride, KviKvsRunTimeContext *pContext, KviKvsVariant *pRetVal, KviKvsVariantList *pParams)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariant *pRetVal, KviKvsVariantList *pParams=nullptr)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariantList *pParams=nullptr)
 
bool connectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
KviKvsHashdataContainer ()
 
bool die ()
 
bool dieNow ()
 
bool disconnectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
bool disconnectSignal (const QString &sigName, KviKvsObjectConnection *con)
 
int emitSignal (const QString &sigName, KviKvsObjectFunctionCall *pOuterCall, KviKvsVariantList *pParams=nullptr)
 
KviKvsObjectfindChild (const QString &szClass, const QString &szName)
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * functionHandlers ()
 
KviKvsObjectClassgetClass (const QString &classOverride=QString())
 
KviKvsObjectClassgetExactClass ()
 
const QString & getName () const
 
kvs_hobject_t handle ()
 
bool inheritsClass (const QString &szClass)
 
bool inheritsClass (KviKvsObjectClass *pClass)
 
void killAllChildrenWithClass (KviKvsObjectClass *cl)
 
 KviKvsObject (KviKvsObjectClass *pClass, KviKvsObject *pParent, const QString &szName)
 
KviKvsObjectFunctionHandlerlookupFunctionHandler (const QString &funcName, const QString &classOverride=QString())
 
QObject * object () const
 
KviKvsObjectparentObject ()
 
QWidget * parentScriptWidget ()
 
void registerPrivateImplementation (const QString &szFunctionName, const QString &szCode)
 
void setObject (QObject *o, bool bIsOwned=true)
 
void setSignalName (const QString &szSigName)
 
void setSignalSender (kvs_hobject_t hObject)
 
kvs_hobject_t signalSender ()
 
 ~KviKvsObject ()
 

Protected Slots

void cellActivated (int iRow, int iCol)
 
void cellDoubleClicked (int iRow, int iCol)
 
void slotItemEntered (QTableWidgetItem *)
 
- Protected Slots inherited from KviKvsObject
void delayedDie ()
 
void objectDestroyed ()
 

Protected Member Functions

bool cellActivatedEvent (KviKvsObjectFunctionCall *c)
 
bool cellDoubleClickedEvent (KviKvsObjectFunctionCall *c)
 
bool clear (KviKvsObjectFunctionCall *c)
 
bool columnCount (KviKvsObjectFunctionCall *c)
 
bool currentColumn (KviKvsObjectFunctionCall *c)
 
bool currentRow (KviKvsObjectFunctionCall *c)
 
bool hideColumn (KviKvsObjectFunctionCall *c)
 
bool hideHorizontalHeader (KviKvsObjectFunctionCall *c)
 
bool hideRow (KviKvsObjectFunctionCall *c)
 
bool hideVerticalHeader (KviKvsObjectFunctionCall *c)
 
bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams) override
 
bool insertColumn (KviKvsObjectFunctionCall *c)
 
bool insertRow (KviKvsObjectFunctionCall *c)
 
bool itemEnteredEvent (KviKvsObjectFunctionCall *c)
 
bool itemRowColAt (KviKvsObjectFunctionCall *c)
 
bool removeColumn (KviKvsObjectFunctionCall *c)
 
bool removeRow (KviKvsObjectFunctionCall *c)
 
bool resizeColumnsToContents (KviKvsObjectFunctionCall *c)
 
bool resizeRowsToContents (KviKvsObjectFunctionCall *c)
 
bool rowCount (KviKvsObjectFunctionCall *c)
 
bool setCellWidget (KviKvsObjectFunctionCall *c)
 
bool setColumnCount (KviKvsObjectFunctionCall *c)
 
bool setForeground (KviKvsObjectFunctionCall *c)
 
bool setHorizontalHeaderLabels (KviKvsObjectFunctionCall *c)
 
bool setIcon (KviKvsObjectFunctionCall *c)
 
bool setItemFlags (KviKvsObjectFunctionCall *c)
 
bool setNumber (KviKvsObjectFunctionCall *c)
 
bool setRowCount (KviKvsObjectFunctionCall *c)
 
bool setText (KviKvsObjectFunctionCall *c)
 
bool setToolTip (KviKvsObjectFunctionCall *c)
 
bool setVerticalHeaderLabels (KviKvsObjectFunctionCall *c)
 
bool showColumn (KviKvsObjectFunctionCall *c)
 
bool showHorizontalHeader (KviKvsObjectFunctionCall *c)
 
bool showRow (KviKvsObjectFunctionCall *c)
 
bool showVerticalHeader (KviKvsObjectFunctionCall *c)
 
bool text (KviKvsObjectFunctionCall *c)
 
- Protected Member Functions inherited from KvsObject_widget
bool addWidgetToWrappedLayout (KviKvsObjectFunctionCall *c)
 
bool backgroundColor (KviKvsObjectFunctionCall *c)
 
bool centerToScreen (KviKvsObjectFunctionCall *c)
 
bool colorPalette (KviKvsObjectFunctionCall *c)
 
bool eventFilter (QObject *o, QEvent *e) override
 
bool fontAscent (KviKvsObjectFunctionCall *c)
 
bool fontDescent (KviKvsObjectFunctionCall *c)
 
bool fontMetricsHeight (KviKvsObjectFunctionCall *c)
 
bool fontMetricsLineSpacing (KviKvsObjectFunctionCall *c)
 
bool fontMetricsWidth (KviKvsObjectFunctionCall *c)
 
bool foregroundColor (KviKvsObjectFunctionCall *c)
 
bool geometry (KviKvsObjectFunctionCall *c)
 
bool globalCursorX (KviKvsObjectFunctionCall *c)
 
bool globalCursorY (KviKvsObjectFunctionCall *c)
 
bool grab (KviKvsObjectFunctionCall *)
 
bool hasFocus (KviKvsObjectFunctionCall *c)
 
bool height (KviKvsObjectFunctionCall *)
 
bool hide (KviKvsObjectFunctionCall *)
 
bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams) override
 
bool insertIntoStatusBar (KviKvsObjectFunctionCall *c)
 
bool isEnabled (KviKvsObjectFunctionCall *c)
 
bool isTopLevel (KviKvsObjectFunctionCall *c)
 
bool isVisible (KviKvsObjectFunctionCall *c)
 
bool loadInterface (KviKvsObjectFunctionCall *c)
 
bool lower (KviKvsObjectFunctionCall *)
 
bool mapFromGlobal (KviKvsObjectFunctionCall *c)
 
bool mapToGlobal (KviKvsObjectFunctionCall *c)
 
bool move (KviKvsObjectFunctionCall *c)
 
bool parentWidget (KviKvsObjectFunctionCall *c)
 
bool raise (KviKvsObjectFunctionCall *)
 
bool removeFromStatusBar (KviKvsObjectFunctionCall *c)
 
bool repaint (KviKvsObjectFunctionCall *c)
 
bool resize (KviKvsObjectFunctionCall *c)
 
bool screenResolution (KviKvsObjectFunctionCall *c)
 
bool setAttribute (KviKvsObjectFunctionCall *c)
 
bool setBackgroundColor (KviKvsObjectFunctionCall *c)
 
bool setBackgroundImage (KviKvsObjectFunctionCall *c)
 
bool setEnabled (KviKvsObjectFunctionCall *c)
 
bool setFixedHeight (KviKvsObjectFunctionCall *c)
 
bool setFixedSize (KviKvsObjectFunctionCall *c)
 
bool setFixedWidth (KviKvsObjectFunctionCall *c)
 
bool setFocus (KviKvsObjectFunctionCall *c)
 
bool setFocusPolicy (KviKvsObjectFunctionCall *c)
 
bool setFont (KviKvsObjectFunctionCall *c)
 
bool setForegroundColor (KviKvsObjectFunctionCall *c)
 
bool setGeometry (KviKvsObjectFunctionCall *c)
 
bool setKeyShortcut (KviKvsObjectFunctionCall *c)
 
bool setMask (KviKvsObjectFunctionCall *c)
 
bool setMaximumHeight (KviKvsObjectFunctionCall *c)
 
bool setMaximumWidth (KviKvsObjectFunctionCall *c)
 
bool setMinimumHeight (KviKvsObjectFunctionCall *c)
 
bool setMinimumWidth (KviKvsObjectFunctionCall *c)
 
bool setMouseTracking (KviKvsObjectFunctionCall *c)
 
bool setParent (KviKvsObjectFunctionCall *c)
 
bool setSizePolicy (KviKvsObjectFunctionCall *c)
 
bool setStyleSheet (KviKvsObjectFunctionCall *c)
 
bool setToolTip (KviKvsObjectFunctionCall *)
 
bool setWFlags (KviKvsObjectFunctionCall *c)
 
bool setWindowIcon (KviKvsObjectFunctionCall *c)
 
bool setWindowTitle (KviKvsObjectFunctionCall *c)
 
bool show (KviKvsObjectFunctionCall *c)
 
bool sizeHint (KviKvsObjectFunctionCall *c)
 
bool update (KviKvsObjectFunctionCall *c)
 
bool width (KviKvsObjectFunctionCall *)
 
bool windowTitle (KviKvsObjectFunctionCall *c)
 
bool x (KviKvsObjectFunctionCall *)
 
bool y (KviKvsObjectFunctionCall *)
 
- Protected Member Functions inherited from KviKvsObject
bool eventFilter (QObject *o, QEvent *e) override
 
bool function_childCount (KviKvsObjectFunctionCall *c)
 
bool function_children (KviKvsObjectFunctionCall *c)
 
bool function_className (KviKvsObjectFunctionCall *c)
 
bool function_destructor (KviKvsObjectFunctionCall *c)
 
bool function_emit (KviKvsObjectFunctionCall *c)
 
bool function_findChild (KviKvsObjectFunctionCall *c)
 
bool function_killTimer (KviKvsObjectFunctionCall *c)
 
bool function_listProperties (KviKvsObjectFunctionCall *c)
 
bool function_name (KviKvsObjectFunctionCall *c)
 
bool function_parent (KviKvsObjectFunctionCall *c)
 
bool function_property (KviKvsObjectFunctionCall *c)
 
bool function_setProperty (KviKvsObjectFunctionCall *c)
 
bool function_signalName (KviKvsObjectFunctionCall *c)
 
bool function_signalSender (KviKvsObjectFunctionCall *c)
 
bool function_startTimer (KviKvsObjectFunctionCall *c)
 
void registerChild (KviKvsObject *c)
 
void registerConnection (KviKvsObjectConnection *con)
 
void timerEvent (QTimerEvent *e) override
 
void unregisterChild (KviKvsObject *c)
 
bool unregisterConnection (KviKvsObjectConnection *con)
 

Protected Attributes

KviCellItemDelegatem_pCellItemDelegate = nullptr
 
KviKvsRunTimeContextm_pContext = nullptr
 
- Protected Attributes inherited from KvsObject_widget
KviKvsRunTimeContextm_pContext = nullptr
 
QGraphicsDropShadowEffect * pGraphicsEffect = nullptr
 
- Protected Attributes inherited from KviKvsObject
bool m_bAboutToDie = false
 
bool m_bDestructorCalled = false
 
bool m_bInDelayedDeath = false
 
bool m_bObjectOwner = true
 
kvs_hobject_t m_hObject
 
kvs_hobject_t m_hSignalSender
 
KviPointerList< KviKvsObject > * m_pChildList = nullptr
 
KviKvsObjectClassm_pClass = nullptr
 
KviKvsObjectConnectionListm_pConnectionList = nullptr
 
KviKvsHashm_pDataContainer = nullptr
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * m_pFunctionHandlers = nullptr
 
QObject * m_pObject = nullptr
 
KviPointerHashTable< QString, KviKvsObjectConnectionList > * m_pSignalDict = nullptr
 
QString m_szName
 
QString m_szSignalName
 

Additional Inherited Members

- Signals inherited from KvsObject_widget
void aboutToDie ()
 

Member Function Documentation

◆ cellActivated

void KvsObject_tableWidget::cellActivated ( int iRow,
int iCol )
protectedslot

References KviKvsObject::callFunction().

Referenced by init().

◆ cellActivatedEvent()

bool KvsObject_tableWidget::cellActivatedEvent ( KviKvsObjectFunctionCall * c)
protected

◆ cellDoubleClicked

void KvsObject_tableWidget::cellDoubleClicked ( int iRow,
int iCol )
protectedslot

References KviKvsObject::callFunction().

Referenced by init().

◆ cellDoubleClickedEvent()

bool KvsObject_tableWidget::cellDoubleClickedEvent ( KviKvsObjectFunctionCall * c)
protected

◆ clear()

bool KvsObject_tableWidget::clear ( KviKvsObjectFunctionCall * c)
protected

◆ columnCount()

bool KvsObject_tableWidget::columnCount ( KviKvsObjectFunctionCall * c)
protected

◆ currentColumn()

bool KvsObject_tableWidget::currentColumn ( KviKvsObjectFunctionCall * c)
protected

◆ currentRow()

bool KvsObject_tableWidget::currentRow ( KviKvsObjectFunctionCall * c)
protected

◆ hideColumn()

bool KvsObject_tableWidget::hideColumn ( KviKvsObjectFunctionCall * c)
protected

◆ hideHorizontalHeader()

bool KvsObject_tableWidget::hideHorizontalHeader ( KviKvsObjectFunctionCall * c)
protected

◆ hideRow()

bool KvsObject_tableWidget::hideRow ( KviKvsObjectFunctionCall * c)
protected

◆ hideVerticalHeader()

bool KvsObject_tableWidget::hideVerticalHeader ( KviKvsObjectFunctionCall * c)
protected

◆ init()

bool KvsObject_tableWidget::init ( KviKvsRunTimeContext * pContext,
KviKvsVariantList * pParams )
overrideprotectedvirtual

◆ insertColumn()

bool KvsObject_tableWidget::insertColumn ( KviKvsObjectFunctionCall * c)
protected

◆ insertRow()

bool KvsObject_tableWidget::insertRow ( KviKvsObjectFunctionCall * c)
protected

◆ itemEnteredEvent()

bool KvsObject_tableWidget::itemEnteredEvent ( KviKvsObjectFunctionCall * c)
protected

◆ itemRowColAt()

bool KvsObject_tableWidget::itemRowColAt ( KviKvsObjectFunctionCall * c)
protected

◆ paint()

◆ removeColumn()

bool KvsObject_tableWidget::removeColumn ( KviKvsObjectFunctionCall * c)
protected

◆ removeRow()

bool KvsObject_tableWidget::removeRow ( KviKvsObjectFunctionCall * c)
protected

◆ resizeColumnsToContents()

bool KvsObject_tableWidget::resizeColumnsToContents ( KviKvsObjectFunctionCall * c)
protected

◆ resizeRowsToContents()

bool KvsObject_tableWidget::resizeRowsToContents ( KviKvsObjectFunctionCall * c)
protected

◆ rowCount()

bool KvsObject_tableWidget::rowCount ( KviKvsObjectFunctionCall * c)
protected

◆ setCellWidget()

bool KvsObject_tableWidget::setCellWidget ( KviKvsObjectFunctionCall * c)
protected

◆ setColumnCount()

bool KvsObject_tableWidget::setColumnCount ( KviKvsObjectFunctionCall * c)
protected

◆ setForeground()

bool KvsObject_tableWidget::setForeground ( KviKvsObjectFunctionCall * c)
protected

◆ setHorizontalHeaderLabels()

bool KvsObject_tableWidget::setHorizontalHeaderLabels ( KviKvsObjectFunctionCall * c)
protected

◆ setIcon()

bool KvsObject_tableWidget::setIcon ( KviKvsObjectFunctionCall * c)
protected

◆ setItemFlags()

bool KvsObject_tableWidget::setItemFlags ( KviKvsObjectFunctionCall * c)
protected

◆ setNumber()

bool KvsObject_tableWidget::setNumber ( KviKvsObjectFunctionCall * c)
protected

◆ setRowCount()

bool KvsObject_tableWidget::setRowCount ( KviKvsObjectFunctionCall * c)
protected

◆ setText()

bool KvsObject_tableWidget::setText ( KviKvsObjectFunctionCall * c)
protected

◆ setToolTip()

bool KvsObject_tableWidget::setToolTip ( KviKvsObjectFunctionCall * c)
protected

◆ setVerticalHeaderLabels()

bool KvsObject_tableWidget::setVerticalHeaderLabels ( KviKvsObjectFunctionCall * c)
protected

◆ showColumn()

bool KvsObject_tableWidget::showColumn ( KviKvsObjectFunctionCall * c)
protected

◆ showHorizontalHeader()

bool KvsObject_tableWidget::showHorizontalHeader ( KviKvsObjectFunctionCall * c)
protected

◆ showRow()

bool KvsObject_tableWidget::showRow ( KviKvsObjectFunctionCall * c)
protected

◆ showVerticalHeader()

bool KvsObject_tableWidget::showVerticalHeader ( KviKvsObjectFunctionCall * c)
protected

◆ slotItemEntered

void KvsObject_tableWidget::slotItemEntered ( QTableWidgetItem * i)
protectedslot

References KviKvsObject::callFunction(), and i.

Referenced by init().

◆ text()

bool KvsObject_tableWidget::text ( KviKvsObjectFunctionCall * c)
protected

◆ widget()

QWidget * KvsObject_tableWidget::widget ( )
inline

References KviKvsObject::object().

Referenced by init().

Member Data Documentation

◆ m_pCellItemDelegate

KviCellItemDelegate* KvsObject_tableWidget::m_pCellItemDelegate = nullptr
protected

Referenced by init().

◆ m_pContext

KviKvsRunTimeContext* KvsObject_tableWidget::m_pContext = nullptr
protected

Referenced by init(), and paint().


The documentation for this class was generated from the following files: