##// END OF EJS Templates
drop of product on the visu
drop of product on the visu

File last commit:

r861:86289e199fbd
r875:4aae8a8d06e9 DropProductOnVisu...
Show More
RenameVariableDialog.h
32 lines | 798 B | text/x-c | CLexer
/ gui / include / Variable / RenameVariableDialog.h
#ifndef SCIQLOP_RENAMEVARIABLEDIALOG_H
#define SCIQLOP_RENAMEVARIABLEDIALOG_H
#include <QDialog>
namespace Ui {
class RenameVariableDialog;
} // namespace Ui
/**
* @brief The RenameVariableDialog class represents the dialog to rename a variable
*/
class RenameVariableDialog : public QDialog {
Q_OBJECT
public:
explicit RenameVariableDialog(const QString &defaultName,
const QVector<QString> &forbiddenNames,
QWidget *parent = nullptr);
virtual ~RenameVariableDialog() noexcept;
QString name() const noexcept;
public slots:
void accept() override;
private:
Ui::RenameVariableDialog *ui;
QString m_DefaultName;
QVector<QString> m_ForbiddenNames;
};
#endif // SCIQLOP_RENAMEVARIABLEDIALOG_H