5 #ifndef CNOID_BASE_INFO_BAR_H
6 #define CNOID_BASE_INFO_BAR_H
11 #include "exportdecl.h"
15 class CNOID_EXPORT
InfoBar :
public QStatusBar
20 void notify(
const std::string& message);
21 void notify(
const char* message);
22 void notify(
const QString& message);
25 QWidget* indicatorBase;
26 QHBoxLayout* indicatorLayout;
27 QWidget* currentIndicator;
28 QMetaObject::Connection indicatorConnection;
29 std::string plainTextMessage;
33 void setIndicator(QWidget* indicator);
34 void removeCurrentIndicator();
35 void onFocusChanged(QWidget* old, QWidget* now);
36 void onIndicatorDestroyed(QObject* obj);