Files
ResInsight/ApplicationLibCode/UserInterface/RiuPropertyViewWizard.h
T
JJ 64b5dcd1b9 Add validation to sector model export wizard (#13348)
* Add validation to sector model export wizard
2025-12-17 13:16:10 +01:00

51 lines
1.5 KiB
C++

/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2025 Equinor ASA
//
// 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 <QStringList>
#include <QWizard>
namespace caf
{
class PdmObject;
class PdmUiPropertyView;
} // namespace caf
class QWidget;
class RiuPropertyViewWizard : public QWizard
{
public:
RiuPropertyViewWizard( QWidget* parent,
caf::PdmObject* object,
const QString& windowTitle,
const QStringList& uiConfigNameForPages,
const QStringList& pageSubtitles );
~RiuPropertyViewWizard() override;
QSize minimumSizeHint() const override;
QSize sizeHint() const override;
protected:
bool validateCurrentPage() override;
private:
std::vector<caf::PdmUiPropertyView*> m_pageWidgets;
};