Merge pull request #2557 from torusrxxx/patch000000b3
Add column titles for disassembly for use in CSV exports
This commit is contained in:
		
						commit
						23c2ce68bf
					
				|  | @ -40,10 +40,10 @@ Disassembly::Disassembly(QWidget* parent, bool isMain) | ||||||
| 
 | 
 | ||||||
|     setRowCount(mMemPage->getSize()); |     setRowCount(mMemPage->getSize()); | ||||||
| 
 | 
 | ||||||
|     addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, "", false); //address
 |     addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, tr("Address"), false); //address
 | ||||||
|     addColumnAt(getCharWidth() * 2 * 12 + 8, "", false); //bytes
 |     addColumnAt(getCharWidth() * 2 * 12 + 8, tr("Bytes"), false); //bytes
 | ||||||
|     addColumnAt(getCharWidth() * 40, "", false); //disassembly
 |     addColumnAt(getCharWidth() * 40, tr("Disassembly"), false); //disassembly
 | ||||||
|     addColumnAt(1000, "", false); //comments
 |     addColumnAt(1000, tr("Comments"), false); //comments
 | ||||||
| 
 | 
 | ||||||
|     setShowHeader(false); //hide header
 |     setShowHeader(false); //hide header
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -16,13 +16,13 @@ | ||||||
| TraceBrowser::TraceBrowser(QWidget* parent) : AbstractTableView(parent) | TraceBrowser::TraceBrowser(QWidget* parent) : AbstractTableView(parent) | ||||||
| { | { | ||||||
|     mTraceFile = nullptr; |     mTraceFile = nullptr; | ||||||
|     addColumnAt(getCharWidth() * 2 * 2 + 8, "", false); //index
 |     addColumnAt(getCharWidth() * 2 * 2 + 8, tr("Index"), false); //index
 | ||||||
|     addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, "", false); //address
 |     addColumnAt(getCharWidth() * 2 * sizeof(dsint) + 8, tr("Address"), false); //address
 | ||||||
|     addColumnAt(getCharWidth() * 2 * 12 + 8, "", false); //bytes
 |     addColumnAt(getCharWidth() * 2 * 12 + 8, tr("Bytes"), false); //bytes
 | ||||||
|     addColumnAt(getCharWidth() * 40, "", false); //disassembly
 |     addColumnAt(getCharWidth() * 40, tr("Disassembly"), false); //disassembly
 | ||||||
|     addColumnAt(getCharWidth() * 50, "", false); //registers
 |     addColumnAt(getCharWidth() * 50, tr("Registers"), false); //registers
 | ||||||
|     addColumnAt(getCharWidth() * 50, "", false); //memory
 |     addColumnAt(getCharWidth() * 50, tr("Memory"), false); //memory
 | ||||||
|     addColumnAt(1000, "", false); //comments
 |     addColumnAt(1000, tr("Comments"), false); //comments
 | ||||||
|     loadColumnFromConfig("Trace"); |     loadColumnFromConfig("Trace"); | ||||||
| 
 | 
 | ||||||
|     setShowHeader(false); //hide header
 |     setShowHeader(false); //hide header
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue