| | |
| | | // Copyright (C) 2023-2024 Stdware Collections |
| | | // Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) |
| | | // Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) |
| | | // SPDX-License-Identifier: Apache-2.0 |
| | | |
| | | #include "widgetitemdelegate_p.h" |
| | |
| | | return static_cast<const QWidget *>(host)->windowFlags(); |
| | | } |
| | | |
| | | QRect WidgetItemDelegate::getGeometry(const QObject *host) const { |
| | | return static_cast<const QWidget *>(host)->geometry(); |
| | | } |
| | | |
| | | void WidgetItemDelegate::setWindowFlags(QObject *host, Qt::WindowFlags flags) const { |
| | | static_cast<QWidget *>(host)->setWindowFlags(flags); |
| | | } |