2019-12-11 11:26:54 +00:00
|
|
|
#include "NativeDebugDialog.h"
|
|
|
|
#include "ui_NativeDebugDialog.h"
|
|
|
|
|
|
|
|
#include <QMessageBox>
|
|
|
|
|
|
|
|
NativeDebugDialog::NativeDebugDialog(QWidget *parent) :
|
|
|
|
QDialog(parent),
|
|
|
|
ui(new Ui::NativeDebugDialog)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
|
|
|
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
|
|
|
|
}
|
|
|
|
|
|
|
|
NativeDebugDialog::~NativeDebugDialog() {}
|
|
|
|
|
|
|
|
QString NativeDebugDialog::getArgs() const
|
|
|
|
{
|
|
|
|
return ui->argEdit->toPlainText();
|
|
|
|
}
|
|
|
|
|
|
|
|
void NativeDebugDialog::setArgs(const QString &args)
|
|
|
|
{
|
2019-12-15 22:16:11 +00:00
|
|
|
ui->argEdit->setPlainText(args);
|
2019-12-11 11:26:54 +00:00
|
|
|
ui->argEdit->selectAll();
|
|
|
|
}
|