31 void removeChildren(QTreeWidgetItem *);
33 void checkConnectionButton(QTreeWidgetItem*);
34 void checkSelButton(QTreeWidgetItem*);
35 void emptyNode(QTreeWidgetItem *it);
36 void populateInfo(
int boardNum);
37 void populateCANinfo(
sBoard canboard);
38 void getCanBoards(QTreeWidgetItem *it,
bool refresh =
false);
39 void checkEnableButtons();
40 void setEthBoardInfo(
int index,QString info, QTreeWidgetItem *refreshNode = NULL);
41 void setCanBoardInfo (QPair<int, int> canData, QString info, QString address =
"",
int deviceId = -1, QTreeWidgetItem *refreshNode = NULL);
42 void setCanBoardAddress(QPair<int, int> canData,
int canType, QPair<QString,QString>addr,
int deviceId = -1, QTreeWidgetItem *refreshNode = NULL);
43 void setEthBoardAddress(
int index,QString address, QTreeWidgetItem *refreshNode = NULL);
46 void setNodeRestartNeed(QTreeWidgetItem *refreshNode,
bool need =
true);
47 void uploadEthApplication(QString);
48 void uploadCanApplication(QString filename, QString address =
"",
int deviceId = -1,
CustomTreeWidgetItem *node = NULL);
49 void uploadLoader(QString);
50 void uploadUpdater(QString);
58 QProgressBar *progress;
62 QList<CustomTreeWidgetItem *> selectedNodes;
64 QTreeWidget *infoTreeWidget;
66 QFutureWatcher<bool> watcher;
67 icubCanProto_boardType_t sgboardtype;
85 void onFutureFinished();
86 void loading(
bool,
bool disableAll =
false, QString msg =
"",
bool infiniteLoad =
true);
87 void onNeedSetRestartOnSelected();
88 void onUpdateProgressBar(
float fraction);
89 void onUploadApplication(
bool);
90 void onUploadLoader(
bool);
91 void onUploadUpdater(
bool);
92 void onBootUpdater(
bool);
93 void onJumpToUpdater(
bool click);
94 void onGoToMaintenance(
bool click);
95 void onGoToApplication(
bool click);
96 void onEraseEprom(
bool click);
97 void onStrainCalib(
bool click);
98 void onBootApplication(
bool);
99 void onCalibrate(
bool);
100 void populateEthBoardsNode(QTreeWidgetItem*,
bool refreshSingleNode =
false,
bool refreshAll =
false);
101 void onDeviceSelectionChanged();
105 void onAppendInfo(
sBoard);
106 void onAppendInfo(QString);
108 void onSelectionChanged(
bool selected);
109 void onDeviceExpanded(QTreeWidgetItem*);
110 void onCanBoardsRetrieved(QTreeWidgetItem *it,
bool refresh);
111 void onBlinkPressed(
bool);
112 void onChangeInfo(
bool);
113 void onSelectionCheckDestroy(QObject*);
114 void onChangeAddress(
bool);
115 void onEraseApplication(
bool);
116 void onRestartBoards(
bool click);
119 void onSetInfoRes(QString);
120 bool getCANaddress(
CustomTreeWidgetItem *child,
int &cbus,
int &adr, QString &cbustr, QString &cadrstr);
121 bool getDeviceID(QTreeWidgetItem *child, QString &idstr, QString &devicestr);
122 bool getDeviceID(QString devicefullstring, QString &idstr, QString &devicestr);
void appendInfo(sBoard canboard)
void needSetRestartOnSelected()
void refreshCanBoardsFromEth(QTreeWidgetItem *)
void deviceSelectionChanged()
void appendInfo(QString="")
void needLoading(bool, bool, QString="", bool=true)
void canBoardsRetrieved(QTreeWidgetItem *it, bool refresh)
void appendInfo(boardInfo2_t, eOipv4addr_t)
void refreshEthBoardsNode(QTreeWidgetItem *, bool refresh=false, bool refreshAll=false)