KVIrc 5.2.4
Developer APIs
Public Member Functions | Protected Slots | Protected Member Functions | List of all members
KvsObject_treeWidget Class Reference

#include <KvsObject_treeWidget.h>

+ Inheritance diagram for KvsObject_treeWidget:

Public Member Functions

void fileDropped (QString &, QTreeWidgetItem *)
 
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 slotClicked (QTreeWidgetItem *, int)
 
void slotCurrentChanged (QTreeWidgetItem *, QTreeWidgetItem *)
 
void slotItemActivated (QTreeWidgetItem *, int col)
 
void slotItemChanged (QTreeWidgetItem *, int)
 
void slotItemCollapsed (QTreeWidgetItem *)
 
void slotItemExpanded (QTreeWidgetItem *)
 
void slotOnItemEntered (QTreeWidgetItem *, int col)
 
void slotSelectionChanged ()
 
- Protected Slots inherited from KviKvsObject
void delayedDie ()
 
void objectDestroyed ()
 

Protected Member Functions

bool addColumn (KviKvsObjectFunctionCall *c)
 
bool clear (KviKvsObjectFunctionCall *c)
 
bool currentChangedEvent (KviKvsObjectFunctionCall *c)
 
bool currentItem (KviKvsObjectFunctionCall *c)
 
bool firstChild (KviKvsObjectFunctionCall *c)
 
bool hideListViewHeader (KviKvsObjectFunctionCall *c)
 
bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams) override
 
bool itemActivatedEvent (KviKvsObjectFunctionCall *c)
 
bool itemAt (KviKvsObjectFunctionCall *c)
 
bool itemChangedEvent (KviKvsObjectFunctionCall *c)
 
bool itemClickedEvent (KviKvsObjectFunctionCall *c)
 
bool itemCollapsedEvent (KviKvsObjectFunctionCall *c)
 
bool itemExpandedEvent (KviKvsObjectFunctionCall *c)
 
bool listViewHeaderIsVisible (KviKvsObjectFunctionCall *c)
 
bool onItemEvent (KviKvsObjectFunctionCall *c)
 
bool selectedItems (KviKvsObjectFunctionCall *c)
 
bool selectionChangedEvent (KviKvsObjectFunctionCall *c)
 
bool setAcceptDrops (KviKvsObjectFunctionCall *c)
 
bool setAllColumnsShowFocus (KviKvsObjectFunctionCall *c)
 
bool setBackgroundImage (KviKvsObjectFunctionCall *c)
 
bool setColumnCount (KviKvsObjectFunctionCall *c)
 
bool setColumnText (KviKvsObjectFunctionCall *c)
 
bool setHeaderLabels (KviKvsObjectFunctionCall *c)
 
bool setRootIsDecorated (KviKvsObjectFunctionCall *c)
 
bool setSelectionMode (KviKvsObjectFunctionCall *c)
 
bool setSorting (KviKvsObjectFunctionCall *c)
 
bool setSortingEnabled (KviKvsObjectFunctionCall *c)
 
bool showListViewHeader (KviKvsObjectFunctionCall *c)
 
bool takeItem (KviKvsObjectFunctionCall *c)
 
bool topLevelItem (KviKvsObjectFunctionCall *c)
 
bool topLevelItemCount (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)
 

Additional Inherited Members

- Signals inherited from KvsObject_widget
void aboutToDie ()
 
- 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
 

Member Function Documentation

◆ addColumn()

bool KvsObject_treeWidget::addColumn ( KviKvsObjectFunctionCall c)
protected

◆ clear()

bool KvsObject_treeWidget::clear ( KviKvsObjectFunctionCall c)
protected

◆ currentChangedEvent()

bool KvsObject_treeWidget::currentChangedEvent ( KviKvsObjectFunctionCall c)
protected

◆ currentItem()

bool KvsObject_treeWidget::currentItem ( KviKvsObjectFunctionCall c)
protected

Referenced by slotSelectionChanged().

◆ fileDropped()

void KvsObject_treeWidget::fileDropped ( QString &  szFile,
QTreeWidgetItem *  item 
)

◆ firstChild()

bool KvsObject_treeWidget::firstChild ( KviKvsObjectFunctionCall c)
protected

◆ hideListViewHeader()

bool KvsObject_treeWidget::hideListViewHeader ( KviKvsObjectFunctionCall c)
protected

◆ init()

bool KvsObject_treeWidget::init ( KviKvsRunTimeContext pContext,
KviKvsVariantList pParams 
)
overrideprotectedvirtual

Reimplemented from KviKvsObject.

References connect().

◆ itemActivatedEvent()

bool KvsObject_treeWidget::itemActivatedEvent ( KviKvsObjectFunctionCall c)
protected

◆ itemAt()

bool KvsObject_treeWidget::itemAt ( KviKvsObjectFunctionCall c)
protected

◆ itemChangedEvent()

bool KvsObject_treeWidget::itemChangedEvent ( KviKvsObjectFunctionCall c)
protected

◆ itemClickedEvent()

bool KvsObject_treeWidget::itemClickedEvent ( KviKvsObjectFunctionCall c)
protected

◆ itemCollapsedEvent()

bool KvsObject_treeWidget::itemCollapsedEvent ( KviKvsObjectFunctionCall c)
protected

◆ itemExpandedEvent()

bool KvsObject_treeWidget::itemExpandedEvent ( KviKvsObjectFunctionCall c)
protected

◆ listViewHeaderIsVisible()

bool KvsObject_treeWidget::listViewHeaderIsVisible ( KviKvsObjectFunctionCall c)
protected

◆ onItemEvent()

bool KvsObject_treeWidget::onItemEvent ( KviKvsObjectFunctionCall c)
protected

◆ selectedItems()

bool KvsObject_treeWidget::selectedItems ( KviKvsObjectFunctionCall c)
protected

◆ selectionChangedEvent()

bool KvsObject_treeWidget::selectionChangedEvent ( KviKvsObjectFunctionCall c)
protected

◆ setAcceptDrops()

bool KvsObject_treeWidget::setAcceptDrops ( KviKvsObjectFunctionCall c)
protected

◆ setAllColumnsShowFocus()

bool KvsObject_treeWidget::setAllColumnsShowFocus ( KviKvsObjectFunctionCall c)
protected

◆ setBackgroundImage()

bool KvsObject_treeWidget::setBackgroundImage ( KviKvsObjectFunctionCall c)
protected

◆ setColumnCount()

bool KvsObject_treeWidget::setColumnCount ( KviKvsObjectFunctionCall c)
protected

◆ setColumnText()

bool KvsObject_treeWidget::setColumnText ( KviKvsObjectFunctionCall c)
protected

◆ setHeaderLabels()

bool KvsObject_treeWidget::setHeaderLabels ( KviKvsObjectFunctionCall c)
protected

◆ setRootIsDecorated()

bool KvsObject_treeWidget::setRootIsDecorated ( KviKvsObjectFunctionCall c)
protected

◆ setSelectionMode()

bool KvsObject_treeWidget::setSelectionMode ( KviKvsObjectFunctionCall c)
protected

◆ setSorting()

bool KvsObject_treeWidget::setSorting ( KviKvsObjectFunctionCall c)
protected

◆ setSortingEnabled()

bool KvsObject_treeWidget::setSortingEnabled ( KviKvsObjectFunctionCall c)
protected

◆ showListViewHeader()

bool KvsObject_treeWidget::showListViewHeader ( KviKvsObjectFunctionCall c)
protected

◆ slotClicked

void KvsObject_treeWidget::slotClicked ( QTreeWidgetItem *  i,
int  col 
)
protectedslot

◆ slotCurrentChanged

void KvsObject_treeWidget::slotCurrentChanged ( QTreeWidgetItem *  i,
QTreeWidgetItem *  prev 
)
protectedslot

◆ slotItemActivated

void KvsObject_treeWidget::slotItemActivated ( QTreeWidgetItem *  i,
int  col 
)
protectedslot

◆ slotItemChanged

void KvsObject_treeWidget::slotItemChanged ( QTreeWidgetItem *  item,
int  col 
)
protectedslot

◆ slotItemCollapsed

void KvsObject_treeWidget::slotItemCollapsed ( QTreeWidgetItem *  i)
protectedslot

◆ slotItemExpanded

void KvsObject_treeWidget::slotItemExpanded ( QTreeWidgetItem *  i)
protectedslot

◆ slotOnItemEntered

void KvsObject_treeWidget::slotOnItemEntered ( QTreeWidgetItem *  i,
int  col 
)
protectedslot

◆ slotSelectionChanged

void KvsObject_treeWidget::slotSelectionChanged ( )
protectedslot

◆ takeItem()

bool KvsObject_treeWidget::takeItem ( KviKvsObjectFunctionCall c)
protected

◆ topLevelItem()

bool KvsObject_treeWidget::topLevelItem ( KviKvsObjectFunctionCall c)
protected

◆ topLevelItemCount()

bool KvsObject_treeWidget::topLevelItemCount ( KviKvsObjectFunctionCall c)
protected

◆ widget()

QWidget * KvsObject_treeWidget::widget ( )
inline

References KviKvsObject::object().

Referenced by slotSelectionChanged().


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