horizontal_display.hpp
Go to the documentation of this file.
1 #ifndef RADIAL_MENU_RVIZ_HORIZONTAL_DISPLAY_HPP
2 #define RADIAL_MENU_RVIZ_HORIZONTAL_DISPLAY_HPP
3 
8 
9 #include <QObject>
10 
11 namespace radial_menu_rviz {
12 
13 class HorizontalDisplay : public DisplayBase< HorizontalDrawingProperty, HorizontalPropertyControl,
14  HorizontalImageDrawer > {
15  Q_OBJECT
16 
17 private:
20 
21 public:
23 
24  virtual ~HorizontalDisplay() {}
25 
26 protected:
27  // called once on initialization
28  virtual void onInitialize() {
30 
31  // origin in the position property indicates top-left position
32  overlay_->setAlignment(Qt::AlignLeft | Qt::AlignTop);
33 
34  // slots on properties changed
43  }
44 
45 protected Q_SLOTS:
47 
49 
51 
53 };
54 } // namespace radial_menu_rviz
55 
56 #endif
void descriptionPropertyChanged(const DescriptionProperty &prop)
void drawingPropertyChanged(const HorizontalDrawingProperty &prop)
void updatePosition(const PositionProperty &prop)
void updateDescription(const DescriptionProperty &prop)
DisplayBase< HorizontalDrawingProperty, HorizontalPropertyControl, HorizontalImageDrawer > Base
void subscriptionPropertyChanged(const SubscriptionProperty &prop)
void updateImage(const HorizontalDrawingProperty &prop)
void updateSubscription(const SubscriptionProperty &prop)
void positionPropertyChanged(const PositionProperty &prop)


radial_menu_rviz
Author(s):
autogenerated on Mon Feb 28 2022 23:22:04