2019-06-25 16:50:46 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
2020-06-19 07:53:59 +02:00
|
|
|
namespace caf
|
|
|
|
|
{
|
|
|
|
|
class PdmObject;
|
|
|
|
|
class PdmUiPropertyView;
|
|
|
|
|
} // namespace caf
|
2019-06-25 16:50:46 +02:00
|
|
|
|
|
|
|
|
class QDialogButtonBox;
|
|
|
|
|
class QWidget;
|
|
|
|
|
class QString;
|
|
|
|
|
class QStringList;
|
|
|
|
|
|
|
|
|
|
namespace caf
|
|
|
|
|
{
|
|
|
|
|
class PdmUiTabbedPropertyViewDialog : public QDialog
|
|
|
|
|
{
|
|
|
|
|
public:
|
2020-06-19 07:53:59 +02:00
|
|
|
PdmUiTabbedPropertyViewDialog( caf::PdmObject* object,
|
|
|
|
|
const QStringList& uiConfigNameForTabs,
|
|
|
|
|
const QString& windowTitle,
|
|
|
|
|
QWidget* parent );
|
2019-06-25 16:50:46 +02:00
|
|
|
~PdmUiTabbedPropertyViewDialog() override;
|
|
|
|
|
|
|
|
|
|
QDialogButtonBox* dialogButtonBox();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
QSize minimumSizeHint() const override;
|
|
|
|
|
QSize sizeHint() const override;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
std::vector<PdmUiPropertyView*> m_propertyViewTabs;
|
|
|
|
|
QDialogButtonBox* m_dialogButtonBox;
|
|
|
|
|
};
|
|
|
|
|
|
2020-06-19 07:53:59 +02:00
|
|
|
} // namespace caf
|