2017-03-29 10:18:37 +00:00
|
|
|
#ifndef RENAMEDIALOG_H
|
|
|
|
#define RENAMEDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2017-10-02 09:41:28 +00:00
|
|
|
#include <memory>
|
2017-03-29 10:18:37 +00:00
|
|
|
|
2018-03-21 20:32:32 +00:00
|
|
|
namespace Ui {
|
|
|
|
class RenameDialog;
|
2017-03-29 10:18:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class RenameDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-05-04 07:58:32 +00:00
|
|
|
explicit RenameDialog(QWidget *parent = nullptr);
|
2017-03-29 10:18:37 +00:00
|
|
|
~RenameDialog();
|
|
|
|
|
2017-11-26 16:53:05 +00:00
|
|
|
void setName(QString fcnName);
|
|
|
|
QString getName() const;
|
2017-03-29 10:18:37 +00:00
|
|
|
|
|
|
|
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;
|
2017-03-29 10:18:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RENAMEDIALOG_H
|