#pragma once

#include "StdTable.h"

class TraceWidget;
class TraceFileReader;

class TraceInfoBox : public StdTable
{
    Q_OBJECT
public:
    TraceInfoBox(TraceWidget* parent);
    ~TraceInfoBox();

    void update(unsigned long long selection, TraceFileReader* traceFile, const REGDUMP & registers);
    void clear();

public slots:
    void contextMenuSlot(QPoint pos);

private:
    void setupContextMenu();
    void setupShortcuts();

    QAction* mCopyLineAction;
};
