Line data Source code
1 : #ifndef Object_H
2 : #define Object_H
3 :
4 : #include "lane.h"
5 : #include <string>
6 : #include <vector>
7 :
8 : class Object : public QWidget {
9 : Q_OBJECT
10 :
11 : private:
12 : QWidget *popup = nullptr;
13 : int object;
14 : QString speed50_path;
15 : QString speed80_path;
16 :
17 : public:
18 : Object(QWidget *parent = nullptr);
19 : ~Object();
20 : int get_object();
21 1 : QString get_speed50_path() const { return speed50_path; }
22 1 : QString get_speed80_path() const { return speed80_path; }
23 : void set_object(int i, const QString &topicName);
24 :
25 : protected:
26 : void paintEvent(QPaintEvent *) override;
27 :
28 : signals:
29 : };
30 :
31 : #endif
|