1
0
Fork 0

Merge pull request #2557 from torusrxxx/patch000000b3

Add column titles for disassembly for use in CSV exports
This commit is contained in:
Duncan Ogilvie 2020-12-29 21:16:58 +01:00 committed by GitHub
commit 23c2ce68bf
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View File

@ -40,10 +40,10 @@ Disassembly::Disassembly(QWidget* parent, bool isMain)
setRowCount(mMemPage->getSize());
addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, "", false); //address
addColumnAt(getCharWidth() * 2 * 12 + 8, "", false); //bytes
addColumnAt(getCharWidth() * 40, "", false); //disassembly
addColumnAt(1000, "", false); //comments
addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, tr("Address"), false); //address
addColumnAt(getCharWidth() * 2 * 12 + 8, tr("Bytes"), false); //bytes
addColumnAt(getCharWidth() * 40, tr("Disassembly"), false); //disassembly
addColumnAt(1000, tr("Comments"), false); //comments
setShowHeader(false); //hide header

View File

@ -16,13 +16,13 @@
TraceBrowser::TraceBrowser(QWidget* parent) : AbstractTableView(parent)
{
mTraceFile = nullptr;
addColumnAt(getCharWidth() * 2 * 2 + 8, "", false); //index
addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, "", false); //address
addColumnAt(getCharWidth() * 2 * 12 + 8, "", false); //bytes
addColumnAt(getCharWidth() * 40, "", false); //disassembly
addColumnAt(getCharWidth() * 50, "", false); //registers
addColumnAt(getCharWidth() * 50, "", false); //memory
addColumnAt(1000, "", false); //comments
addColumnAt(getCharWidth() * 2 * 2 + 8, tr("Index"), false); //index
addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, tr("Address"), false); //address
addColumnAt(getCharWidth() * 2 * 12 + 8, tr("Bytes"), false); //bytes
addColumnAt(getCharWidth() * 40, tr("Disassembly"), false); //disassembly
addColumnAt(getCharWidth() * 50, tr("Registers"), false); //registers
addColumnAt(getCharWidth() * 50, tr("Memory"), false); //memory
addColumnAt(1000, tr("Comments"), false); //comments
loadColumnFromConfig("Trace");
setShowHeader(false); //hide header