iCub-main
Loading...
Searching...
No Matches
Signals | Public Member Functions | Protected Attributes | List of all members
CustomTreeWidgetItem Class Reference

#include <customtreewidgetitem.h>

+ Inheritance diagram for CustomTreeWidgetItem:

Signals

void selectedChanged (bool)
 
void needLoading (bool, bool)
 
void selectionCheckDestroy (QObject *)
 

Public Member Functions

 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)
 
virtual void refresh ()
 
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)
 

Protected Attributes

int m_indexOfBoard
 
FirmwareUpdaterCorecore
 
SelectionCheckBoxcheck
 
QTreeWidgetItem * parentNode
 
QList< sBoardcanBoards
 

Detailed Description

Definition at line 23 of file customtreewidgetitem.h.

Constructor & Destructor Documentation

◆ CustomTreeWidgetItem()

CustomTreeWidgetItem::CustomTreeWidgetItem ( QTreeWidgetItem *  parent,
QStringList  fields,
int  indexOfBoard,
FirmwareUpdaterCore core,
int  type 
)

Definition at line 3 of file customtreewidgetitem.cpp.

Member Function Documentation

◆ checkIsEnabled()

bool CustomTreeWidgetItem::checkIsEnabled ( )

Definition at line 40 of file customtreewidgetitem.cpp.

◆ getBoard()

EthBoard CustomTreeWidgetItem::getBoard ( )

Definition at line 96 of file customtreewidgetitem.cpp.

◆ getBoardProcess()

QString CustomTreeWidgetItem::getBoardProcess ( )

Definition at line 91 of file customtreewidgetitem.cpp.

◆ getBoardType()

QString CustomTreeWidgetItem::getBoardType ( )

Definition at line 86 of file customtreewidgetitem.cpp.

◆ getCanBoard()

sBoard CustomTreeWidgetItem::getCanBoard ( int  index)

Definition at line 106 of file customtreewidgetitem.cpp.

◆ getCanBoards()

QList< sBoard > CustomTreeWidgetItem::getCanBoards ( )

Definition at line 101 of file customtreewidgetitem.cpp.

◆ getDeviceID()

bool CustomTreeWidgetItem::getDeviceID ( QString  devicefullstring,
QString &  idstr,
QString &  devicestr 
)

Definition at line 391 of file customtreewidgetitem.cpp.

◆ getIndexOfBoard()

int CustomTreeWidgetItem::getIndexOfBoard ( )

Definition at line 30 of file customtreewidgetitem.cpp.

◆ getParentNode()

QTreeWidgetItem * CustomTreeWidgetItem::getParentNode ( )

Definition at line 25 of file customtreewidgetitem.cpp.

◆ isCheckSelected()

bool CustomTreeWidgetItem::isCheckSelected ( )

Definition at line 78 of file customtreewidgetitem.cpp.

◆ needLoading

void CustomTreeWidgetItem::needLoading ( bool  ,
bool   
)
signal

◆ refresh()

void CustomTreeWidgetItem::refresh ( )
virtual

Reimplemented in EthTreeWidgetItem, and CanTreeWidgetItem.

Definition at line 55 of file customtreewidgetitem.cpp.

◆ replaceCanBoard()

void CustomTreeWidgetItem::replaceCanBoard ( int  index,
sBoard  board 
)

Definition at line 139 of file customtreewidgetitem.cpp.

◆ retrieveCanBoards()

QString CustomTreeWidgetItem::retrieveCanBoards ( bool  force = true)

Definition at line 116 of file customtreewidgetitem.cpp.

◆ selectedChanged

void CustomTreeWidgetItem::selectedChanged ( bool  )
signal

◆ selectionCheckDestroy

void CustomTreeWidgetItem::selectionCheckDestroy ( QObject *  )
signal

◆ setCanBoards()

void CustomTreeWidgetItem::setCanBoards ( QList< sBoard boards)

Definition at line 134 of file customtreewidgetitem.cpp.

◆ setCheckEnabled()

void CustomTreeWidgetItem::setCheckEnabled ( bool  enable)

Definition at line 35 of file customtreewidgetitem.cpp.

◆ setCheckSelected()

void CustomTreeWidgetItem::setCheckSelected ( bool  selected)

Definition at line 48 of file customtreewidgetitem.cpp.

Member Data Documentation

◆ canBoards

QList<sBoard> CustomTreeWidgetItem::canBoards
protected

Definition at line 57 of file customtreewidgetitem.h.

◆ check

SelectionCheckBox* CustomTreeWidgetItem::check
protected

Definition at line 55 of file customtreewidgetitem.h.

◆ core

FirmwareUpdaterCore* CustomTreeWidgetItem::core
protected

Definition at line 54 of file customtreewidgetitem.h.

◆ m_indexOfBoard

int CustomTreeWidgetItem::m_indexOfBoard
protected

Definition at line 53 of file customtreewidgetitem.h.

◆ parentNode

QTreeWidgetItem* CustomTreeWidgetItem::parentNode
protected

Definition at line 56 of file customtreewidgetitem.h.


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