cutter/src/dialogs/RenameDialog.h

32 lines
489 B
C
Raw Normal View History

#ifndef RENAMEDIALOG_H
#define RENAMEDIALOG_H
#include <QDialog>
2017-10-02 09:41:28 +00:00
#include <memory>
2018-03-21 20:32:32 +00:00
namespace Ui {
class RenameDialog;
}
class RenameDialog : public QDialog
{
Q_OBJECT
public:
explicit RenameDialog(QWidget *parent = nullptr);
~RenameDialog();
2017-11-26 16:53:05 +00:00
void setName(QString fcnName);
QString getName() const;
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
2017-10-02 09:41:28 +00:00
std::unique_ptr<Ui::RenameDialog> ui;
};
#endif // RENAMEDIALOG_H