mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 21:35:28 +00:00
29 lines
522 B
C++
29 lines
522 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()
|
|
{
|
|
// Meow
|
|
}
|
|
|
|
void CommentsDialog::on_buttonBox_rejected()
|
|
{
|
|
close();
|
|
}
|
|
|
|
QString CommentsDialog::getComment()
|
|
{
|
|
QString ret = ui->lineEdit->text();
|
|
return ret;
|
|
}
|