| | |
| | | if (!d->context->setTitleBar(w)) { |
| | | return; |
| | | } |
| | | #ifdef Q_OS_MACOS |
| | | d->setupMacOSTitleBar(w); |
| | | #endif |
| | | Q_EMIT titleBarWidgetChanged(w); |
| | | } |
| | | |
| | |
| | | void WidgetWindowAgent::setHitTestVisible(const QWidget *w, bool visible) { |
| | | Q_D(WidgetWindowAgent); |
| | | d->context->setHitTestVisible(w, visible); |
| | | } |
| | | |
| | | void WidgetWindowAgent::setHitTestVisible(const QRect &rect, bool visible) { |
| | | Q_D(WidgetWindowAgent); |
| | | d->context->setHitTestVisible(rect, visible); |
| | | } |
| | | |
| | | WidgetWindowAgent::WidgetWindowAgent(WidgetWindowAgentPrivate &d, QObject *parent) |