mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
28 lines
510 B
C++
28 lines
510 B
C++
#include "CommentsDialog.h"
|
|
#include "ui_CommentsDialog.h"
|
|
|
|
CommentsDialog::CommentsDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::CommentsDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
|
|
}
|
|
|
|
CommentsDialog::~CommentsDialog() {}
|
|
|
|
void CommentsDialog::on_buttonBox_accepted()
|
|
{
|
|
}
|
|
|
|
void CommentsDialog::on_buttonBox_rejected()
|
|
{
|
|
close();
|
|
}
|
|
|
|
QString CommentsDialog::getComment()
|
|
{
|
|
QString ret = ui->lineEdit->text();
|
|
return ret;
|
|
}
|