5 #ifndef CNOID_BASE_COMBO_BOX_H
6 #define CNOID_BASE_COMBO_BOX_H
8 #include <cnoid/Signal>
10 #include "exportdecl.h"
22 void enableI18n(
const char* domainname);
23 void addI18nItem(
const char* text);
24 void addI18nItem(
const QIcon & icon,
const char* text);
25 QString currentOrgText()
const;
26 int findOrgText(
const std::string& text,
bool setFoundItemCurrent =
false);
27 virtual void showPopup()
override;
31 SignalProxy<void(
const QString&)> sigEditTextChanged();
36 void onActivated(
int index);
37 void onCurrentIndexChanged(
int index);
38 void onEditTextChanged(
const QString& text);
39 void onHighlighted(
int index);