| 253 | } |
| 254 | |
| 255 | void MainWindow::contextMem(const QPoint &posa) { |
| 256 | HexWidget *p = qobject_cast<HexWidget*>(sender()); |
| 257 | contextMemWidget(p->mapToGlobal(posa), static_cast<uint32_t>(p->getOffset() + p->getBase())); |
| 258 | } |
| 259 | |
| 260 | void MainWindow::contextMemWidget(const QPoint &pos, uint32_t address) { |
| 261 | QString addr = int2hex(address, 6); |