auto_bus/include/queryListItem.h

43 lines
676 B
C
Raw Normal View History

2022-06-26 11:02:21 +08:00
//
// Created by ricardo on 2022/6/25.
//
#ifndef AUTO_BUS_GUI_QUERY_LIST_ITEM_H
#define AUTO_BUS_GUI_QUERY_LIST_ITEM_H
#include "QWidget"
#include "QObject"
#include "QLabel"
#include "QHBoxLayout"
2022-06-26 17:21:24 +08:00
#include "define.h"
2022-06-26 11:02:21 +08:00
class QueryListItem : public QWidget
{
Q_OBJECT
public:
explicit QueryListItem(const int &type, const int &node_id);
void SetColumnName();
int query_type;
int target_node_id;
2022-06-26 11:02:21 +08:00
private:
/**
*
*/
QLabel type_text;
/**
*
*/
QLabel target_pos_text;
/**
*
*/
QHBoxLayout *layout;
};
#endif //AUTO_BUS_GUI_QUERY_LIST_ITEM_H