Play-/Source/ui_qt/DebugSupport/ELFSymbolView.h
Jean-Philip Desjardins 1d9c425663 Refactor ELF support.
Allow ELF32/ELF64 to coexist and allow ElfView to load both.
2022-07-22 17:10:27 -04:00

28 lines
501 B
C++

#pragma once
#include <QMdiSubWindow>
#include <QWidget>
#include <QTableWidget>
#include <QGroupBox>
#include <QGridLayout>
#include <QLineEdit>
#include "ELF.h"
template <typename ElfType>
class CELFSymbolView : public QWidget
{
public:
CELFSymbolView(QMdiSubWindow*, QLayout*);
~CELFSymbolView() = default;
void SetELF(ElfType*);
void Reset();
private:
void PopulateList();
ElfType* m_pELF = nullptr;
QVBoxLayout* m_layout;
QTableWidget* m_tableWidget;
};