1#ifndef CUSTOMTREEWIDGETITEM_H
2#define CUSTOMTREEWIDGETITEM_H
7#include <QTreeWidgetItem>
9#define _MAIN_WINDOW_SHOW_CAN_ADDRESS_IN_ADDRESS_COLUMN
11#if defined(_MAIN_WINDOW_SHOW_CAN_ADDRESS_IN_ADDRESS_COLUMN)
15#define ETH_TREE_NODE QTreeWidgetItem::UserType + 1
16#define CAN_TREE_NODE QTreeWidgetItem::UserType + 2
18#define ETH_TREE_ROOT_NODE QTreeWidgetItem::UserType + 3
19#define CAN_TREE_ROOT_NODE QTreeWidgetItem::UserType + 4
42 bool getDeviceID(QString devicefullstring, QString &idstr, QString &devicestr);
65 void onSelectedChanged(
bool);