Play-/Source/ui_qt/DebugSupport/ELFProgramView.h

30 lines
513 B
C
Raw Permalink Normal View History

2019-12-21 18:36:40 +00:00
#pragma once
#include <QMdiSubWindow>
#include <QWidget>
#include <QTreeWidget>
#include <QGroupBox>
#include <QGridLayout>
#include <QLineEdit>
#include "ELF.h"
template <typename ElfType>
2019-12-21 18:36:40 +00:00
class CELFProgramView : public QWidget
{
public:
CELFProgramView(QMdiSubWindow*, QLayout*);
2020-02-06 14:12:26 +00:00
~CELFProgramView() = default;
2019-12-21 18:36:40 +00:00
void SetELF(ElfType*);
2019-12-21 18:36:40 +00:00
void SetProgram(int);
void Reset();
private:
void FillInformation(int);
ElfType* m_pELF = nullptr;
2019-12-21 18:36:40 +00:00
QVBoxLayout* m_layout;
std::vector<QLineEdit*> m_editFields;
};