| 1 |
#if defined(Hiro_TextEdit) |
| 2 |
|
| 3 |
namespace hiro { |
| 4 |
|
| 5 |
struct pTextEdit : pWidget { |
| 6 |
Declare(TextEdit, Widget) |
| 7 |
|
| 8 |
auto setBackgroundColor(Color color) -> void; |
| 9 |
auto setEditable(bool editable) -> void; |
| 10 |
auto setForegroundColor(Color color) -> void; |
| 11 |
auto setText(const string& text) -> void; |
| 12 |
auto setTextCursor(TextCursor cursor) -> void; |
| 13 |
auto setWordWrap(bool wordWrap) -> void; |
| 14 |
auto text() const -> string; |
| 15 |
auto textCursor() const -> TextCursor; |
| 16 |
|
| 17 |
auto _setState() -> void; |
| 18 |
|
| 19 |
QtTextEdit* qtTextEdit = nullptr; |
| 20 |
}; |
| 21 |
|
| 22 |
} |
| 23 |
|
| 24 |
#endif |