hiro/qt/widget/combo-button-item.hpp
raw| 1 | #if defined(Hiro_ComboButton) |
| 2 | |
| 3 | namespace hiro { |
| 4 | |
| 5 | struct pComboButtonItem : pObject { |
| 6 | Declare(ComboButtonItem, Object) |
| 7 | |
| 8 | auto setIcon(const image& icon) -> void; |
| 9 | auto setSelected() -> void; |
| 10 | auto setText(const string& text) -> void; |
| 11 | |
| 12 | auto _parent() -> maybe<pComboButton&>; |
| 13 | auto _setState() -> void; |
| 14 | }; |
| 15 | |
| 16 | } |
| 17 | |
| 18 | #endif |