2016-02-25 20:19:27 +00:00
|
|
|
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
|
|
|
|
// Copyright (C) 2010 Winch Gate Property Limited
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
#ifndef SETTINGSDIALOG_H
|
|
|
|
#define SETTINGSDIALOG_H
|
|
|
|
|
2016-06-12 13:40:38 +00:00
|
|
|
#include "ui_settingsdialog.h"
|
2016-02-25 20:19:27 +00:00
|
|
|
|
2016-03-12 20:56:23 +00:00
|
|
|
/**
|
|
|
|
* Settings dialog
|
|
|
|
*
|
|
|
|
* \author Cedric 'Kervala' OCHS
|
|
|
|
* \date 2016
|
|
|
|
*/
|
2016-02-25 20:19:27 +00:00
|
|
|
class CSettingsDialog : public QDialog, public Ui::SettingsDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2016-06-12 13:41:35 +00:00
|
|
|
CSettingsDialog(QWidget *parent = NULL);
|
2016-02-25 20:19:27 +00:00
|
|
|
virtual ~CSettingsDialog();
|
|
|
|
|
2016-08-06 18:10:31 +00:00
|
|
|
QString getInstallationDirectory() const;
|
|
|
|
|
2016-06-12 13:41:35 +00:00
|
|
|
public slots:
|
|
|
|
void onInstallationDirectoryButtonClicked();
|
|
|
|
|
2016-02-25 20:19:27 +00:00
|
|
|
private slots:
|
|
|
|
void accept();
|
2016-08-06 18:10:31 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void updateInstallationDirectoryLabel();
|
|
|
|
|
|
|
|
QString m_installationDirectory;
|
2016-02-25 20:19:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|