cutter/src/dialogs/CommentsDialog.h

35 lines
562 B
C
Raw Normal View History

#ifndef COMMENTSDIALOG_H
#define COMMENTSDIALOG_H
#include <QDialog>
2017-10-02 09:41:28 +00:00
#include <memory>
2017-04-09 19:55:06 +00:00
namespace Ui
{
class CommentsDialog;
}
class CommentsDialog : public QDialog
{
Q_OBJECT
public:
explicit CommentsDialog(QWidget *parent = 0);
~CommentsDialog();
QString getComment();
void setComment(const QString &comment);
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
2017-10-02 09:41:28 +00:00
std::unique_ptr<Ui::CommentsDialog> ui;
bool eventFilter(QObject *obj, QEvent *event);
};
#endif // COMMENTSDIALOG_H