mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
26 lines
556 B
C++
26 lines
556 B
C++
#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)
|
|
{
|
|
ui->argEdit->setPlainText(args);
|
|
ui->argEdit->selectAll();
|
|
}
|