File tree 12 files changed +36
-36
lines changed
common/tier4_state_rviz_plugin
12 files changed +36
-36
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ ament_auto_add_library(${PROJECT_NAME} SHARED
21
21
src/custom_segmented_button.cpp
22
22
src/custom_segmented_button_item.cpp
23
23
src/custom_label.cpp
24
- include /autoware_state_panel.hpp
25
- include /custom_button.hpp
26
- include /custom_container.hpp
27
- include /custom_icon_label.hpp
28
- include /custom_label.hpp
29
- include /custom_segmented_button_item.hpp
30
- include /custom_segmented_button.hpp
31
- include /custom_slider.hpp
32
- include /custom_toggle_switch.hpp
24
+ include /autoware_state_panel.hpp
25
+ include /custom_button.hpp
26
+ include /custom_container.hpp
27
+ include /custom_icon_label.hpp
28
+ include /custom_label.hpp
29
+ include /custom_segmented_button_item.hpp
30
+ include /custom_segmented_button.hpp
31
+ include /custom_slider.hpp
32
+ include /custom_toggle_switch.hpp
33
33
include /velocity_steering_factors_panel.hpp
34
34
)
35
35
Original file line number Diff line number Diff line change 1
- #ifndef CUSTOM_ELEVATED_BUTTON_HPP
2
- #define CUSTOM_ELEVATED_BUTTON_HPP
1
+ #ifndef CUSTOM_BUTTON_HPP_
2
+ #define CUSTOM_BUTTON_HPP_
3
3
4
4
#include < QColor>
5
5
#include < QFontMetrics>
@@ -35,4 +35,4 @@ class CustomElevatedButton : public QPushButton
35
35
bool isHovered = false ;
36
36
};
37
37
38
- #endif // CUSTOM_ELEVATED_BUTTON_HPP
38
+ #endif // CUSTOM_BUTTON_HPP_
Original file line number Diff line number Diff line change 1
- #ifndef CUSTOM_CONTAINER_HPP
2
- #define CUSTOM_CONTAINER_HPP
1
+ #ifndef CUSTOM_CONTAINER_HPP_
2
+ #define CUSTOM_CONTAINER_HPP_
3
3
4
4
#include < QFrame>
5
5
#include < QGridLayout>
@@ -34,4 +34,4 @@ class CustomContainer : public QFrame
34
34
int cornerRadius;
35
35
};
36
36
37
- #endif // CUSTOM_CONTAINER_HPP
37
+ #endif // CUSTOM_CONTAINER_HPP_
Original file line number Diff line number Diff line change 1
- #ifndef CUSTOMICONLABEL_HPP
2
- #define CUSTOMICONLABEL_HPP
1
+ #ifndef CUSTOM_ICON_LABEL_HPP_
2
+ #define CUSTOM_ICON_LABEL_HPP_
3
3
4
4
#include < QColor>
5
5
#include < QLabel>
@@ -32,4 +32,4 @@ class CustomIconLabel : public QLabel
32
32
QMap<IconState, QPixmap> iconMap;
33
33
};
34
34
35
- #endif // CUSTOMICONLABEL_HPP
35
+ #endif // CUSTOM_ICON_LABEL_HPP_
Original file line number Diff line number Diff line change 1
- #ifndef CUSTOMLABEL_HPP
2
- #define CUSTOMLABEL_HPP
1
+ #ifndef CUSTOM_LABEL_HPP_
2
+ #define CUSTOM_LABEL_HPP_
3
3
4
4
#include < QLabel>
5
5
#include < QWidget>
@@ -24,4 +24,4 @@ class CustomLabel : public QLabel
24
24
QColor textColor = QColor(" #FFFFFF" );
25
25
};
26
26
27
- #endif // CUSTOMLABEL_HPP
27
+ #endif // CUSTOM_LABEL_HPP_
Original file line number Diff line number Diff line change 1
- #ifndef CUSTOMSEGMENTEDBUTTON_HPP
2
- #define CUSTOMSEGMENTEDBUTTON_HPP
1
+ #ifndef CUSTOM_SEGMENTED_BUTTON_HPP_
2
+ #define CUSTOM_SEGMENTED_BUTTON_HPP_
3
3
4
4
#include " custom_segmented_button_item.hpp"
5
5
@@ -38,4 +38,4 @@ class CustomSegmentedButton : public QWidget
38
38
QHBoxLayout * layout;
39
39
};
40
40
41
- #endif // CUSTOMSEGMENTEDBUTTON_HPP
41
+ #endif // CUSTOM_SEGMENTED_BUTTON_HPP_
Original file line number Diff line number Diff line change 1
- #ifndef CUSTOMSEGMENTEDBUTTONITEM_HPP
2
- #define CUSTOMSEGMENTEDBUTTONITEM_HPP
1
+ #ifndef CUSTOM_SEGMENTED_BUTTON_ITEM_HPP_
2
+ #define CUSTOM_SEGMENTED_BUTTON_ITEM_HPP_
3
3
4
4
#include < QColor>
5
5
#include < QHBoxLayout>
@@ -33,4 +33,4 @@ class CustomSegmentedButtonItem : public QPushButton
33
33
bool isHovered = false ;
34
34
};
35
35
36
- #endif // CUSTOMSEGMENTEDBUTTONITEM_HPP
36
+ #endif // CUSTOM_SEGMENTED_BUTTON_ITEM_HPP_
Original file line number Diff line number Diff line change 1
- #ifndef CUSTOM_SLIDER_HPP
2
- #define CUSTOM_SLIDER_HPP
1
+ #ifndef CUSTOM_SLIDER_HPP_
2
+ #define CUSTOM_SLIDER_HPP_
3
3
4
4
#include < QPaintEvent>
5
5
#include < QPainter>
@@ -19,4 +19,4 @@ class CustomSlider : public QSlider
19
19
void paintEvent (QPaintEvent * event) override ;
20
20
};
21
21
22
- #endif // CUSTOM_SLIDER_HPP
22
+ #endif // CUSTOM_SLIDER_HPP_
Original file line number Diff line number Diff line change 1
1
// CustomToggleSwitch.h
2
- #ifndef CUSTOMTOGGLESWITCH_H
3
- #define CUSTOMTOGGLESWITCH_H
2
+ #ifndef CUSTOM_TOGGLE_SWITCH_HPP_
3
+ #define CUSTOM_TOGGLE_SWITCH_HPP_
4
4
5
5
#include < QCheckBox>
6
6
#include < QColor>
@@ -26,4 +26,4 @@ class CustomToggleSwitch : public QCheckBox
26
26
QPoint dragStartPoint;
27
27
};
28
28
29
- #endif // CUSTOMTOGGLESWITCH_H
29
+ #endif // CUSTOM_TOGGLE_SWITCH_HPP_
Original file line number Diff line number Diff line change @@ -83,4 +83,4 @@ void CustomElevatedButton::leaveEvent(QEvent * event)
83
83
isHovered = false ;
84
84
update ();
85
85
QPushButton::leaveEvent (event);
86
- }
86
+ }
Original file line number Diff line number Diff line change @@ -63,4 +63,4 @@ void CustomLabel::updateStyle(
63
63
backgroundColor = bg_color;
64
64
textColor = text_color;
65
65
update (); // Force repaint
66
- }
66
+ }
Original file line number Diff line number Diff line change @@ -96,4 +96,4 @@ void CustomSegmentedButtonItem::leaveEvent(QEvent * event)
96
96
isHovered = false ;
97
97
update ();
98
98
QPushButton::leaveEvent (event);
99
- }
99
+ }
You can’t perform that action at this time.
0 commit comments