Debian Codegraph @

avogadro/qtplugins/apbs/apbsoutputdialog.cpp

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 #include "apbsoutputdialog.h"
7
8 #include "ui_apbsoutputdialog.h"
9
10 namespace Avogadro::QtPlugins {
11
12 ApbsOutputDialog::ApbsOutputDialog(QWidget* parent_)
13 : QDialog(parent_), m_ui(new Ui::ApbsOutputDialog)
14 {
15 m_ui->setupUi(this);
16 }
17
18 ApbsOutputDialog::~ApbsOutputDialog() {}
19
20 bool ApbsOutputDialog::loadStructureFile() const
21 {
22 return m_ui->loadStructureCheckBox->isChecked();
23 }
24
25 bool ApbsOutputDialog::loadCubeFile() const
26 {
27 return m_ui->loadCubeCheckBox->isChecked();
28 }
29 } // namespace Avogadro::QtPlugins