Skip to content

Commit b64bd8f

Browse files
style(pre-commit): autofix
1 parent c61b2be commit b64bd8f

12 files changed

+36
-36
lines changed

common/tier4_state_rviz_plugin/CMakeLists.txt

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ ament_auto_add_library(${PROJECT_NAME} SHARED
2121
src/custom_segmented_button.cpp
2222
src/custom_segmented_button_item.cpp
2323
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
3333
include/velocity_steering_factors_panel.hpp
3434
)
3535

common/tier4_state_rviz_plugin/include/custom_button.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CUSTOM_ELEVATED_BUTTON_HPP
2-
#define CUSTOM_ELEVATED_BUTTON_HPP
1+
#ifndef CUSTOM_BUTTON_HPP_
2+
#define CUSTOM_BUTTON_HPP_
33

44
#include <QColor>
55
#include <QFontMetrics>
@@ -35,4 +35,4 @@ class CustomElevatedButton : public QPushButton
3535
bool isHovered = false;
3636
};
3737

38-
#endif // CUSTOM_ELEVATED_BUTTON_HPP
38+
#endif // CUSTOM_BUTTON_HPP_

common/tier4_state_rviz_plugin/include/custom_container.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CUSTOM_CONTAINER_HPP
2-
#define CUSTOM_CONTAINER_HPP
1+
#ifndef CUSTOM_CONTAINER_HPP_
2+
#define CUSTOM_CONTAINER_HPP_
33

44
#include <QFrame>
55
#include <QGridLayout>
@@ -34,4 +34,4 @@ class CustomContainer : public QFrame
3434
int cornerRadius;
3535
};
3636

37-
#endif // CUSTOM_CONTAINER_HPP
37+
#endif // CUSTOM_CONTAINER_HPP_

common/tier4_state_rviz_plugin/include/custom_icon_label.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CUSTOMICONLABEL_HPP
2-
#define CUSTOMICONLABEL_HPP
1+
#ifndef CUSTOM_ICON_LABEL_HPP_
2+
#define CUSTOM_ICON_LABEL_HPP_
33

44
#include <QColor>
55
#include <QLabel>
@@ -32,4 +32,4 @@ class CustomIconLabel : public QLabel
3232
QMap<IconState, QPixmap> iconMap;
3333
};
3434

35-
#endif // CUSTOMICONLABEL_HPP
35+
#endif // CUSTOM_ICON_LABEL_HPP_

common/tier4_state_rviz_plugin/include/custom_label.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CUSTOMLABEL_HPP
2-
#define CUSTOMLABEL_HPP
1+
#ifndef CUSTOM_LABEL_HPP_
2+
#define CUSTOM_LABEL_HPP_
33

44
#include <QLabel>
55
#include <QWidget>
@@ -24,4 +24,4 @@ class CustomLabel : public QLabel
2424
QColor textColor = QColor("#FFFFFF");
2525
};
2626

27-
#endif // CUSTOMLABEL_HPP
27+
#endif // CUSTOM_LABEL_HPP_

common/tier4_state_rviz_plugin/include/custom_segmented_button.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CUSTOMSEGMENTEDBUTTON_HPP
2-
#define CUSTOMSEGMENTEDBUTTON_HPP
1+
#ifndef CUSTOM_SEGMENTED_BUTTON_HPP_
2+
#define CUSTOM_SEGMENTED_BUTTON_HPP_
33

44
#include "custom_segmented_button_item.hpp"
55

@@ -38,4 +38,4 @@ class CustomSegmentedButton : public QWidget
3838
QHBoxLayout * layout;
3939
};
4040

41-
#endif // CUSTOMSEGMENTEDBUTTON_HPP
41+
#endif // CUSTOM_SEGMENTED_BUTTON_HPP_

common/tier4_state_rviz_plugin/include/custom_segmented_button_item.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CUSTOMSEGMENTEDBUTTONITEM_HPP
2-
#define CUSTOMSEGMENTEDBUTTONITEM_HPP
1+
#ifndef CUSTOM_SEGMENTED_BUTTON_ITEM_HPP_
2+
#define CUSTOM_SEGMENTED_BUTTON_ITEM_HPP_
33

44
#include <QColor>
55
#include <QHBoxLayout>
@@ -33,4 +33,4 @@ class CustomSegmentedButtonItem : public QPushButton
3333
bool isHovered = false;
3434
};
3535

36-
#endif // CUSTOMSEGMENTEDBUTTONITEM_HPP
36+
#endif // CUSTOM_SEGMENTED_BUTTON_ITEM_HPP_

common/tier4_state_rviz_plugin/include/custom_slider.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CUSTOM_SLIDER_HPP
2-
#define CUSTOM_SLIDER_HPP
1+
#ifndef CUSTOM_SLIDER_HPP_
2+
#define CUSTOM_SLIDER_HPP_
33

44
#include <QPaintEvent>
55
#include <QPainter>
@@ -19,4 +19,4 @@ class CustomSlider : public QSlider
1919
void paintEvent(QPaintEvent * event) override;
2020
};
2121

22-
#endif // CUSTOM_SLIDER_HPP
22+
#endif // CUSTOM_SLIDER_HPP_

common/tier4_state_rviz_plugin/include/custom_toggle_switch.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// CustomToggleSwitch.h
2-
#ifndef CUSTOMTOGGLESWITCH_H
3-
#define CUSTOMTOGGLESWITCH_H
2+
#ifndef CUSTOM_TOGGLE_SWITCH_HPP_
3+
#define CUSTOM_TOGGLE_SWITCH_HPP_
44

55
#include <QCheckBox>
66
#include <QColor>
@@ -26,4 +26,4 @@ class CustomToggleSwitch : public QCheckBox
2626
QPoint dragStartPoint;
2727
};
2828

29-
#endif // CUSTOMTOGGLESWITCH_H
29+
#endif // CUSTOM_TOGGLE_SWITCH_HPP_

common/tier4_state_rviz_plugin/src/custom_button.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ void CustomElevatedButton::leaveEvent(QEvent * event)
8383
isHovered = false;
8484
update();
8585
QPushButton::leaveEvent(event);
86-
}
86+
}

common/tier4_state_rviz_plugin/src/custom_label.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ void CustomLabel::updateStyle(
6363
backgroundColor = bg_color;
6464
textColor = text_color;
6565
update(); // Force repaint
66-
}
66+
}

common/tier4_state_rviz_plugin/src/custom_segmented_button_item.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ void CustomSegmentedButtonItem::leaveEvent(QEvent * event)
9696
isHovered = false;
9797
update();
9898
QPushButton::leaveEvent(event);
99-
}
99+
}

0 commit comments

Comments
 (0)