cutter/src/dialogs/CommentsDialog.cpp
2017-11-08 10:18:07 +01:00

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;
}