mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-10 22:15:26 +00:00
33 lines
510 B
C++
33 lines
510 B
C++
#ifndef COMMENTSDIALOG_H
|
|
#define COMMENTSDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <memory>
|
|
|
|
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:
|
|
std::unique_ptr<Ui::CommentsDialog> ui;
|
|
};
|
|
|
|
#endif // COMMENTSDIALOG_H
|