Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_PLOT_EDITABLELABEL_HH_
18 #define GAZEBO_GUI_PLOT_EDITABLELABEL_HH_
31 class EditableLabelPrivate;
43 QWidget *_parent =
nullptr);
50 public: std::string Text()
const;
54 protected:
virtual void mouseDoubleClickEvent(QMouseEvent *_event);
58 protected:
virtual void keyPressEvent(QKeyEvent *_event);
61 private slots:
void OnEditingFinished();
65 private: std::unique_ptr<EditableLabelPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
virtual void mouseDoubleClickEvent(QMouseEvent *_event)
Qt mouse double click event.
EditableLabel(const std::string &_label, QWidget *_parent=nullptr)
Constructor.
~EditableLabel()
Destructor.
Editable Label.
Definition: EditableLabel.hh:35
virtual void keyPressEvent(QKeyEvent *_event)
Qt key press event.
gui
Definition: KeyEventHandler.hh:29
std::string Text() const
Get the string of this label.