##// END OF EJS Templates
Uses std::vector instead of QVector in ArrayData (1)...
Uses std::vector instead of QVector in ArrayData (1) std::vector will be better for inserting data during merge operation

File last commit:

r682:db1f763a3aa8
r694:c050c224f3de
Show More
RenameVariableDialog.h
31 lines | 775 B | text/x-c | CLexer
/ gui / include / Variable / RenameVariableDialog.h
Alexandre Leroux
Creates dialog to rename a variable
r682 #ifndef SCIQLOP_RENAMEVARIABLEDIALOG_H
#define SCIQLOP_RENAMEVARIABLEDIALOG_H
#include <QDialog>
namespace Ui {
class RenameVariableDialog;
} // Ui
/**
* @brief The RenameVariableDialog class represents the dialog to rename a variable
*/
class RenameVariableDialog : public QDialog {
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