hiro/qt/widget/line-edit.hpp
raw| 1 | #if defined(Hiro_LineEdit) |
| 2 | |
| 3 | namespace hiro { |
| 4 | |
| 5 | struct pLineEdit : pWidget { |
| 6 | Declare(LineEdit, Widget) |
| 7 | |
| 8 | auto minimumSize() const -> Size override; |
| 9 | auto setBackgroundColor(Color color) -> void; |
| 10 | auto setEditable(bool editable) -> void; |
| 11 | auto setForegroundColor(Color color) -> void; |
| 12 | auto setText(const string& text) -> void; |
| 13 | |
| 14 | QtLineEdit* qtLineEdit = nullptr; |
| 15 | }; |
| 16 | |
| 17 | } |
| 18 | |
| 19 | #endif |