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);
25 
26  QString nameX() const;
27  QString nameY() const;
28  QString suggestedName() const;
29 
30  void updateSuggestion();
31 
32 private slots:
34 
35 private:
36  Ui::SuggestDialog* ui;
37 };
38 
39 #endif // SUGGEST_DIALOG_H
SuggestDialog::updateSuggestion
void updateSuggestion()
Definition: suggest_dialog.cpp:47
SuggestDialog::nameX
QString nameX() const
Definition: suggest_dialog.cpp:32
SuggestDialog::SuggestDialog
SuggestDialog(const std::string &name_x, const std::string &name_y, QWidget *parent=nullptr)
Definition: suggest_dialog.cpp:11
SuggestDialog::~SuggestDialog
~SuggestDialog()
Definition: suggest_dialog.cpp:25
Ui
Definition: cheatsheet_dialog.h:6
SuggestDialog
Definition: suggest_dialog.h:17
SuggestDialog::suggestedName
QString suggestedName() const
Definition: suggest_dialog.cpp:42
SuggestDialog::ui
Ui::SuggestDialog * ui
Definition: suggest_dialog.h:36
SuggestDialog::nameY
QString nameY() const
Definition: suggest_dialog.cpp:37
SuggestDialog::on_pushButtonSwap_pressed
void on_pushButtonSwap_pressed()
Definition: suggest_dialog.cpp:67


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:47