12#include "ViewWrapper_p.h"
13#include "core/View_p.h"
23 , m_ownsController(controller == nullptr)
27ViewWrapper::~ViewWrapper()
29 if (m_ownsController) {
35void ViewWrapper::setMinimumSize(
QSize)
37 qFatal(
"Not implemented");
40QSize ViewWrapper::maxSizeHint()
const
42 qFatal(
"Not implemented");
46QRect ViewWrapper::normalGeometry()
const
48 qFatal(
"Not implemented");
52void ViewWrapper::setWidth(
int)
54 qFatal(
"Not implemented");
57void ViewWrapper::setHeight(
int)
59 qFatal(
"Not implemented");
62void ViewWrapper::show()
64 qFatal(
"Not implemented");
67void ViewWrapper::hide()
69 qFatal(
"Not implemented");
72void ViewWrapper::update()
74 qFatal(
"Not implemented");
77void ViewWrapper::raiseAndActivate()
79 qFatal(
"Not implemented");
82void ViewWrapper::raise()
84 qFatal(
"Not implemented");
89 qFatal(
"Not implemented");
99 qFatal(
"Not implemented");
103void ViewWrapper::setWindowIcon(
const QIcon &)
105 qFatal(
"Not implemented");
108void ViewWrapper::showNormal()
110 qFatal(
"Not implemented");
113void ViewWrapper::showMinimized()
115 qFatal(
"Not implemented");
118void ViewWrapper::showMaximized()
120 qFatal(
"Not implemented");
123void ViewWrapper::setMaximumSize(
QSize)
125 qFatal(
"Not implemented");
128bool ViewWrapper::isActiveWindow()
const
130 qFatal(
"Not implemented");
134void ViewWrapper::setFixedWidth(
int)
136 qFatal(
"Not implemented");
139void ViewWrapper::setFixedHeight(
int)
141 qFatal(
"Not implemented");
144void ViewWrapper::setWindowOpacity(
double)
146 qFatal(
"Not implemented");
149void ViewWrapper::releaseKeyboard()
151 qFatal(
"Not implemented");
156 qFatal(
"Not implemented");
159void ViewWrapper::setMouseTracking(
bool)
161 qFatal(
"Not implemented");
164std::shared_ptr<Core::View> ViewWrapper::asWrapper()
166 if (
auto sharedptr = d->m_thisWeakPtr.lock())
169 qFatal(
"No shared ptr. Shouldn't happen.");