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()
111 if (
auto v = m_controller->view()) {
117void ViewWrapper::showMinimized()
120 if (
auto v = m_controller->view()) {
126void ViewWrapper::showMaximized()
129 if (
auto v = m_controller->view()) {
135void ViewWrapper::setMaximumSize(
QSize)
137 qFatal(
"Not implemented");
140bool ViewWrapper::isActiveWindow()
const
142 qFatal(
"Not implemented");
146void ViewWrapper::setFixedWidth(
int)
148 qFatal(
"Not implemented");
151void ViewWrapper::setFixedHeight(
int)
153 qFatal(
"Not implemented");
156void ViewWrapper::setWindowOpacity(
double)
158 qFatal(
"Not implemented");
161void ViewWrapper::releaseKeyboard()
163 qFatal(
"Not implemented");
168 qFatal(
"Not implemented");
171void ViewWrapper::setMouseTracking(
bool)
173 qFatal(
"Not implemented");
176std::shared_ptr<Core::View> ViewWrapper::asWrapper()
178 if (
auto sharedptr = d->m_thisWeakPtr.lock())
181 qFatal(
"No shared ptr. Shouldn't happen.");