suggest_dialog.h
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
5  */
6 
7 #ifndef SUGGEST_DIALOG_H
8 #define SUGGEST_DIALOG_H
9 
10 #include <QDialog>
11 
12 namespace Ui
13 {
14 class SuggestDialog;
15 }
16 
17 class SuggestDialog : public QDialog
18 {
19  Q_OBJECT
20 
21 public:
22  explicit SuggestDialog(const std::string& name_x, const std::string& name_y,
23  QWidget* parent = nullptr);
24  ~SuggestDialog();
25 
26  QString nameX() const;
27  QString nameY() const;
28  QString suggestedName() const;
29 
30  void updateSuggestion();
31 
32 private slots:
33  void on_pushButtonSwap_pressed();
34 
35 private:
36  Ui::SuggestDialog* ui;
37 };
38 
39 #endif // SUGGEST_DIALOG_H
Ui::SuggestDialog * ui


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:53