Debian Codegraph @

avogadro/qtplugins/plotpdf/pdfoptionsdialog.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 AVOGADRO_QTPLUGINS_PDFOPTIONSDIALOG_H
7 #define AVOGADRO_QTPLUGINS_PDFOPTIONSDIALOG_H
8
9 #include <QDialog>
10
11 namespace Avogadro {
12 namespace QtPlugins {
13
14 namespace Ui {
15 class PdfOptionsDialog;
16 }
17
18 /**
19 * @brief Dialog to set options for PDF curve plotting.
20 */
21 class PdfOptionsDialog : public QDialog
22 {
23 Q_OBJECT
24
25 public:
26 explicit PdfOptionsDialog(QWidget* parent = nullptr);
27 ~PdfOptionsDialog() override;
28
29 double maxRadius() const;
30 double step() const;
31
32 protected slots:
33 void accept() override;
34
35 private:
36 QScopedPointer<Ui::PdfOptionsDialog> m_ui;
37 };
38
39 } // namespace QtPlugins
40 } // namespace Avogadro
41 #endif // AVOGADRO_QTPLUGINS_PDFOPTIONSDIALOG_H