hiro/qt/widget/button.hpp
raw| 1 | #if defined(Hiro_Button) |
| 2 | |
| 3 | namespace hiro { |
| 4 | |
| 5 | struct pButton : pWidget { |
| 6 | Declare(Button, Widget) |
| 7 | |
| 8 | auto minimumSize() const -> Size override; |
| 9 | auto setBordered(bool bordered) -> void; |
| 10 | auto setIcon(const image& icon) -> void; |
| 11 | auto setOrientation(Orientation orientation) -> void; |
| 12 | auto setText(const string& text) -> void; |
| 13 | |
| 14 | QtButton* qtButton = nullptr; |
| 15 | }; |
| 16 | |
| 17 | } |
| 18 | |
| 19 | #endif |