SpectMorph
smrenameoperatordialog.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_RENAME_OPERATOR_DIALOG_HH
4 #define SPECTMORPH_RENAME_OPERATOR_DIALOG_HH
5 
6 #include "smmorphoperator.hh"
7 
8 #include <QDialog>
9 #include <QLineEdit>
10 
11 namespace SpectMorph
12 {
13 
14 class RenameOperatorDialog : public QDialog
15 {
16  Q_OBJECT
17 
18  MorphOperator *op;
19 
20  QLineEdit *new_name_edit;
21  QPushButton *ok_button;
22 public:
23  RenameOperatorDialog (QWidget *parent, MorphOperator *op);
24 
25  std::string new_name();
26 
27 public slots:
28  void on_name_changed();
29 };
30 
31 }
32 
33 #endif
Definition: smmorphoperator.hh:19
Definition: smalignedarray.cc:7
Definition: smrenameoperatordialog.hh:14