Exemplo n.º 1
0
qtDLGAssembler::qtDLGAssembler(QWidget *parent, Qt::WFlags flags,
	HANDLE processHandle,quint64 instructionOffset,clsDisassembler *pCurrentDisassembler,bool is64Bit)
	: QWidget(parent, flags),
	m_processHandle(processHandle),
	m_instructionOffset(instructionOffset),
	m_pCurrentDisassembler(pCurrentDisassembler),
	m_is64Bit(is64Bit)
{
	setupUi(this);
	this->setAttribute(Qt::WA_DeleteOnClose,true);
	this->setFixedSize(this->width(),this->height());

	connect(new QShortcut(QKeySequence(Qt::Key_Escape),this),SIGNAL(activated()),this,SLOT(close()));
	connect(lineEdit,SIGNAL(returnPressed()),this,SLOT(InsertNewInstructions()));
}
Exemplo n.º 2
0
qtDLGAssembler::qtDLGAssembler(QWidget *parent, Qt::WFlags flags,
	HANDLE hProc,quint64 InstructionOffset,clsDisassembler *pDisAs,bool Is64Bit)
	: QWidget(parent, flags)
{
	setupUi(this);
	this->setAttribute(Qt::WA_DeleteOnClose,true);
	this->setFixedSize(this->width(),this->height());

	connect(lineEdit,SIGNAL(returnPressed()),this,SLOT(InsertNewInstructions()));

	_Is64Bit = Is64Bit;
	_pDisAs = pDisAs;
	_InstructionOffset = InstructionOffset;
	_hProc = hProc;
}