| 1 |
#if defined(Hiro_HexEdit) |
| 2 |
|
| 3 |
namespace hiro { |
| 4 |
|
| 5 |
struct pHexEdit : pWidget { |
| 6 |
Declare(HexEdit, Widget) |
| 7 |
|
| 8 |
auto setAddress(u32 address) -> void; |
| 9 |
auto setBackgroundColor(Color color) -> void; |
| 10 |
auto setColumns(u32 columns) -> void; |
| 11 |
auto setForegroundColor(Color color) -> void; |
| 12 |
auto setLength(u32 length) -> void; |
| 13 |
auto setRows(u32 rows) -> void; |
| 14 |
auto update() -> void; |
| 15 |
|
| 16 |
auto _keyPressEvent(QKeyEvent*) -> void; |
| 17 |
auto _rows() -> s32; |
| 18 |
auto _rowsScrollable() -> s32; |
| 19 |
auto _scrollTo(s32 position) -> void; |
| 20 |
auto _setState() -> void; |
| 21 |
|
| 22 |
QtHexEdit* qtHexEdit = nullptr; |
| 23 |
QHBoxLayout* qtLayout = nullptr; |
| 24 |
QtHexEditScrollBar* qtScrollBar = nullptr; |
| 25 |
}; |
| 26 |
|
| 27 |
} |
| 28 |
|
| 29 |
#endif |