1 #ifndef CNOID_BASE_WIDGET_H
2 #define CNOID_BASE_WIDGET_H
4 #include <cnoid/Signal>
6 #include "exportdecl.h"
10 class CNOID_EXPORT
Widget :
public QWidget
15 Widget(QWidget* parent = 0);
18 return sigObjectNameChanged_;
21 return sigWindowTitleChanged_;
25 void onObjectNameChanged(
const QString& objectName);
26 void onWindowTitleChanged(
const QString& title);
29 Signal<void(std::string name)> sigObjectNameChanged_;
30 Signal<void(std::string title)> sigWindowTitleChanged_;