Files
IfcOpenShell/src/bonsaiviewer/modules/viewport/Panel.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
2.0 KiB
C++
Raw Normal View History

2026-05-07 14:45:23 +10:00
// This file was generated with the assistance of an AI coding tool.
/********************************************************************************
* *
2026-07-03 09:39:27 +10:00
* This file is part of Bonsai. *
2026-05-07 14:45:23 +10:00
* *
2026-07-03 09:39:27 +10:00
* Bonsai is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
2026-05-07 14:45:23 +10:00
* the Free Software Foundation, either version 3.0 of the License, or *
* (at your option) any later version. *
* *
2026-07-03 09:39:27 +10:00
* Bonsai is distributed in the hope that it will be useful, *
2026-05-07 14:45:23 +10:00
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
2026-07-03 09:39:27 +10:00
* GNU General Public License for more details. *
2026-05-07 14:45:23 +10:00
* *
2026-07-03 09:39:27 +10:00
* You should have received a copy of the GNU General Public License *
2026-05-07 14:45:23 +10:00
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* *
********************************************************************************/
2026-05-09 19:43:26 +10:00
#ifndef IFCINTERFACE_MODULES_VIEWPORT_PANEL_H
#define IFCINTERFACE_MODULES_VIEWPORT_PANEL_H
2026-05-07 14:45:23 +10:00
#include <QWidget>
class ViewportWindow;
2026-05-07 14:45:23 +10:00
2026-05-20 09:38:10 +10:00
namespace bonsaiviewer::modules::viewport {
2026-05-07 14:45:23 +10:00
2026-05-09 19:43:26 +10:00
class ViewportPanel : public QWidget {
2026-05-07 14:45:23 +10:00
Q_OBJECT
public:
2026-05-09 19:43:26 +10:00
explicit ViewportPanel(QWidget* parent = nullptr);
2026-05-07 14:45:23 +10:00
ViewportWindow* viewport() const { return viewport_; }
2026-05-07 14:45:23 +10:00
private:
ViewportWindow* viewport_ = nullptr;
2026-05-07 14:45:23 +10:00
QWidget* viewport_container_ = nullptr;
};
2026-05-20 09:38:10 +10:00
} // namespace bonsaiviewer::modules::viewport
2026-05-07 14:45:23 +10:00
#endif