iCub-main
Public Member Functions | List of all members
EthTreeWidgetItem Class Reference

#include <customtreewidgetitem.h>

+ Inheritance diagram for EthTreeWidgetItem:

Public Member Functions

 EthTreeWidgetItem (QTreeWidgetItem *parent, FirmwareUpdaterCore *core, int indexOfBoard)
 
void setSelectedBoard (bool, int)
 
void refresh ()
 
- Public Member Functions inherited from CustomTreeWidgetItem
 CustomTreeWidgetItem (QTreeWidgetItem *parent, QStringList fields, int indexOfBoard, FirmwareUpdaterCore *core, int type)
 
int getIndexOfBoard ()
 
void setCheckEnabled (bool enable)
 
bool checkIsEnabled ()
 
void setCheckSelected (bool selected)
 
bool isCheckSelected ()
 
QTreeWidgetItem * getParentNode ()
 
void setCanBoards (QList< sBoard > boards)
 
QString getBoardType ()
 
QString getBoardProcess ()
 
void replaceCanBoard (int, sBoard)
 
bool getDeviceID (QString devicefullstring, QString &idstr, QString &devicestr)
 
QString retrieveCanBoards (bool force=true)
 
EthBoard getBoard ()
 
QList< sBoardgetCanBoards ()
 
sBoard getCanBoard (int index)
 

Additional Inherited Members

- Signals inherited from CustomTreeWidgetItem
void selectedChanged (bool)
 
void needLoading (bool, bool)
 
void selectionCheckDestroy (QObject *)
 
- Protected Attributes inherited from CustomTreeWidgetItem
int m_indexOfBoard
 
FirmwareUpdaterCorecore
 
SelectionCheckBoxcheck
 
QTreeWidgetItem * parentNode
 
QList< sBoardcanBoards
 

Detailed Description

Definition at line 69 of file customtreewidgetitem.h.

Constructor & Destructor Documentation

◆ EthTreeWidgetItem()

EthTreeWidgetItem::EthTreeWidgetItem ( QTreeWidgetItem *  parent,
FirmwareUpdaterCore core,
int  indexOfBoard 
)

Definition at line 146 of file customtreewidgetitem.cpp.

Member Function Documentation

◆ refresh()

void EthTreeWidgetItem::refresh ( )
virtual

Reimplemented from CustomTreeWidgetItem.

Definition at line 165 of file customtreewidgetitem.cpp.

◆ setSelectedBoard()

void EthTreeWidgetItem::setSelectedBoard ( bool  selected,
int  index 
)

Definition at line 155 of file customtreewidgetitem.cpp.


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