Debian Codegraph @

avogadro/qtplugins/openbabel/conformersearchdialog.h

raw
1 /******************************************************************************
2 This source file is part of the Avogadro project.
3 This source code is released under the 3-Clause BSD License, (see "LICENSE").
4 ******************************************************************************/
5
6 #ifndef CONFORMERSEARCHDIALOG_H
7 #define CONFORMERSEARCHDIALOG_H
8
9 #include <QDialog>
10
11 #include "ui_conformersearchdialog.h"
12
13 namespace Avogadro {
14 class ConformerSearchDialog : public QDialog
15 {
16 Q_OBJECT
17
18 public:
19 //! Constructor
20 explicit ConformerSearchDialog(QWidget* parent = nullptr);
21 //! Deconstructor
22 ~ConformerSearchDialog() override;
23
24 int method();
25 int numConformers();
26
27 QStringList options() const;
28
29 public slots:
30 void accept() override;
31 void reject() override;
32 void systematicToggled(bool checked);
33 void randomToggled(bool checked);
34 void weightedToggled(bool checked);
35 void geneticToggled(bool checked);
36
37 void buttonClicked(QAbstractButton* button);
38
39 signals:
40 void accepted();
41
42 private:
43 Ui::ConformerSearchDialog ui;
44
45 int m_method;
46 int m_numConformers;
47 };
48 } // namespace Avogadro
49
50 #endif