2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2010-03-09 15:48:01 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2010-03-09 15:48:01 +01:00
|
|
|
|
2014-02-11 21:55:42 +02:00
|
|
|
namespace SharedTools { class WidgetHost; }
|
2010-03-10 10:21:52 +01:00
|
|
|
|
2010-03-09 15:48:01 +01:00
|
|
|
namespace Designer {
|
|
|
|
|
class FormWindowEditor;
|
|
|
|
|
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2010-03-10 10:21:52 +01:00
|
|
|
// Associates the XML editor implementing the IEditor and its form widget host
|
2014-08-27 15:16:22 +02:00
|
|
|
class EditorData
|
|
|
|
|
{
|
|
|
|
|
public:
|
2019-07-31 17:21:41 +02:00
|
|
|
explicit operator bool() const { return formWindowEditor != nullptr; }
|
2010-03-09 17:01:34 +01:00
|
|
|
|
2015-06-01 17:00:02 +02:00
|
|
|
FormWindowEditor *formWindowEditor = nullptr;
|
|
|
|
|
SharedTools::WidgetHost *widgetHost = nullptr;
|
2010-03-09 15:48:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Designer
|