2015-02-07 00:32:25 +00:00
|
|
|
/*************************************************************************
|
|
|
|
* Copyright (C) 2010 by Volker Lanz <vl@fidra.de> *
|
2016-03-02 18:33:40 +00:00
|
|
|
* Copyright (C) 2016 by Andrius Štikonas <andrius@stikonas.eu> *
|
2015-02-07 00:32:25 +00:00
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU General Public License as *
|
|
|
|
* published by the Free Software Foundation; either version 3 of *
|
|
|
|
* the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
|
|
|
|
*************************************************************************/
|
2010-06-02 15:35:02 +01:00
|
|
|
|
2017-09-11 16:27:51 +01:00
|
|
|
#if !defined(ADVANCEDPAGEWIDGET_H)
|
2010-06-02 15:35:02 +01:00
|
|
|
|
2017-09-11 16:27:51 +01:00
|
|
|
#define ADVANCEDPAGEWIDGET_H
|
2010-06-02 15:35:02 +01:00
|
|
|
|
|
|
|
#include "ui_configurepageadvanced.h"
|
|
|
|
|
2016-01-12 00:12:49 +00:00
|
|
|
#include <fs/filesystem.h>
|
2010-06-02 15:35:02 +01:00
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class QString;
|
2014-05-14 01:01:34 +01:00
|
|
|
class QComboBox;
|
2010-06-02 15:35:02 +01:00
|
|
|
|
|
|
|
class AdvancedPageWidget : public QWidget, public Ui::ConfigurePageAdvanced
|
|
|
|
{
|
2015-07-13 15:17:41 +01:00
|
|
|
public:
|
2019-12-09 16:33:04 +00:00
|
|
|
explicit AdvancedPageWidget(QWidget* parent);
|
2015-07-13 15:17:41 +01:00
|
|
|
|
|
|
|
public:
|
|
|
|
QComboBox& comboBackend() {
|
|
|
|
return *m_ComboBackend;
|
|
|
|
}
|
|
|
|
const QComboBox& comboBackend() const {
|
|
|
|
return *m_ComboBackend;
|
|
|
|
}
|
|
|
|
|
|
|
|
QString backend() const;
|
|
|
|
void setBackend(const QString& name);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupDialog();
|
2010-06-02 15:35:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|