18 #ifndef _LINK_INSPECTOR_HH_
19 #define _LINK_INSPECTOR_HH_
31 class CollisionConfig;
46 public:
void SetName(
const std::string &_name);
50 public: std::string
GetName()
const;
66 protected:
virtual void enterEvent(QEvent *_event);
80 private slots:
void OnCancel();
83 private slots:
void OnApply();
86 private slots:
void OnOK();
89 private: QTabWidget *tabWidget;
92 private: QLabel* linkNameLabel;
Definition: LinkInspector.hh:33
VisualConfig * GetVisualConfig() const
Get visual configurations of the link.
LinkConfig * GetLinkConfig() const
Get configurations of the link.
void Applied()
Set the item name.
LinkInspector(QWidget *_parent=0)
Constructor.
virtual void enterEvent(QEvent *_event)
Qt event emiited when the mouse enters this widget.
void SetName(const std::string &_name)
Set the name of the link.
A tab for configuring visual properties of a link.
Definition: VisualConfig.hh:63
std::string GetName() const
Get the name of the link.
void Accepted()
Qt signal emitted to indicate that changes should be applied and the inspector closed.
CollisionConfig * GetCollisionConfig() const
Get collision configurations of the link.
A tab for configuring properties of a link.
Definition: LinkConfig.hh:39
~LinkInspector()
Destructor.
A tab for configuring collision properties of a link.
Definition: CollisionConfig.hh:63