2012-05-18 09:45:23 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 2011-2012 Statoil ASA, Ceetron AS
|
|
|
|
|
//
|
|
|
|
|
// ResInsight 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.
|
|
|
|
|
//
|
|
|
|
|
// ResInsight 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 at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
|
// for more details.
|
|
|
|
|
//
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
|
|
namespace caf
|
|
|
|
|
{
|
|
|
|
|
class PdmObject;
|
2012-06-26 16:10:41 +02:00
|
|
|
class PdmUiPropertyView;
|
2012-05-18 09:45:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//==================================================================================================
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//==================================================================================================
|
2013-03-22 17:17:56 +01:00
|
|
|
class RiuPreferencesDialog : public QDialog
|
2012-05-18 09:45:23 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2013-03-22 17:17:56 +01:00
|
|
|
RiuPreferencesDialog(QWidget* parent, caf::PdmObject* object, const QString& windowTitle);
|
2012-05-18 09:45:23 +02:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void setupUi();
|
|
|
|
|
|
|
|
|
|
private:
|
2012-06-26 16:10:41 +02:00
|
|
|
QString m_windowTitle;
|
2012-05-18 09:45:23 +02:00
|
|
|
caf::PdmObject* m_pdmObject;
|
2012-06-26 16:10:41 +02:00
|
|
|
caf::PdmUiPropertyView* m_pdmUiPropertyView;
|
2012-05-18 09:45:23 +02:00
|
|
|
};
|