KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
KDDockWidgets::QtQuick::View Class Reference

#include <View.h>

Inheritance diagram for KDDockWidgets::QtQuick::View:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgets::QtQuick::View:
Collaboration graph
[legend]

Signals

void geometryUpdated ()
 
void itemGeometryChanged ()
 

Public Member Functions

 View (Core::Controller *controller, Core::ViewType type, QQuickItem *parent=nullptr, Qt::WindowFlags windowFlags={})
 
 ~View () override=default
 
void activateWindow () override
 
std::shared_ptr< Core::ViewasWrapper () override
 Returns this view, but as a wrapper.
 
std::shared_ptr< Core::ViewchildViewAt (QPoint p) const override
 
QVector< std::shared_ptr< Core::View > > childViews () const override
 @Returns a list of child views
 
bool close () override
 
void enableAttribute (Qt::WidgetAttribute attr, bool enable=true) override
 
Qt::WindowFlags flags () const override
 
Qt::FocusPolicy focusPolicy () const override
 
QRect geometry () const override
 
void grabMouse () override
 
bool hasAttribute (Qt::WidgetAttribute attr) const override
 
bool hasFocus () const override
 
void hide () override
 
bool isActiveWindow () const override
 
bool isExplicitlyHidden () const override
 
bool isFixedHeight () const
 
bool isFixedWidth () const
 
bool isMaximized () const override
 
bool isMinimized () const override
 
bool isRootView () const override final
 
bool isVisible () const override
 
QPoint mapFromGlobal (QPoint globalPt) const override
 
QPoint mapTo (Core::View *parent, QPoint pos) const override
 
QPoint mapToGlobal (QPoint localPt) const override
 
QSize maxSizeHint () const override
 
QSize minSize () const override
 
void move (int x, int y) override
 
QRect normalGeometry () const override
 
void onWindowStateChangeEvent (QWindowStateChangeEvent *)
 
std::shared_ptr< Core::ViewparentView () const override
 Returns the gui element's parent. Like QWidget::parentWidget()
 
QQuickView * quickView () const
 
void raise () override
 
void raiseAndActivate () override
 
Q_INVOKABLE void redirectMouseEvents (QQuickItem *from)
 
void releaseKeyboard () override
 
void releaseMouse () override
 
void render (QPainter *) override
 
std::shared_ptr< Core::ViewrootView () const override
 Returns the top-level gui element which this view is inside It's the root view of the window.
 
void setCursor (Qt::CursorShape shape) override
 
void setFixedHeight (int h) override
 
void setFixedSize (Size)
 
void setFixedWidth (int w) override
 
void setFlag (Qt::WindowType f, bool on=true) override
 
void setFocus (Qt::FocusReason reason) override
 
void setFocusPolicy (Qt::FocusPolicy) override
 
void setGeometry (QRect) override
 
void setHeight (int h) override
 
void setMaximumSize (QSize sz) override
 
void setMinimumSize (QSize sz) override
 
void setMouseTracking (bool enable) override
 
void setNormalGeometry (QRect geo)
 
void setParent (Core::View *parent) override
 
void setParent (QQuickItem *parent)
 
void setSize (int w, int h) override final
 
void setVisible (bool is) override
 
void setWidth (int w) override
 
void setWindowIcon (const QIcon &icon) override
 
void setWindowOpacity (double v) override
 
void setWindowTitle (const QString &title) override
 
void setZOrder (int) override
 Sets the z order Not supported on all platforms and only relevant for MDI mode.
 
void show () override
 
Q_INVOKABLE void showMaximized () override
 
Q_INVOKABLE void showMinimized () override
 
Q_INVOKABLE void showNormal () override
 
void update () override
 
void updateGeometry ()
 
QString viewName () const override
 
virtual QQuickItem * visualItem () const
 
std::shared_ptr< Core::Window > window () const override
 Returns the window this view is inside For the Qt frontend, this wraps a QWindow. Like QWidget::window()
 
int zOrder () const override
 
- Public Member Functions inherited from KDDockWidgets::QtCommon::View_qt
 View_qt (Core::Controller *controller, Core::ViewType type, QObject *thisObj)
 
 ~View_qt () override
 
Core::HANDLE handle () const override
 Returns a handle for the GUI element This value only makes sense to the frontend. For example, for QtQuick it might be a QQuickItem, while for QtWidgets it's a QWidget. Can be whatever the frontend developer wants, as long as it uniquely identifies the GUI element. KDDW backend only uses it for comparison purposes.
 
void setViewName (const QString &name) override
 Equivalent to Qt's QObject::objectName()
 
QObjectthisObject () const
 
virtual QVariant viewProperty (const char *name) const
 Equivalent to Qt's QObject::property()
 
- Public Member Functions inherited from KDDockWidgets::Core::View
 View (Controller *controller, ViewType)
 
template<typename T >
T * asController ()
 Returns the View's controller, casted as T.
 
Core::DockWidgetasDockWidgetController () const
 
Core::DropAreaasDropAreaController () const
 
Core::FloatingWindowasFloatingWindowController () const
 asFooController() are deprecated. Use asController<T>() instead
 
Core::GroupasGroupController () const
 
Core::LayoutasLayout () const
 
Core::MainWindowasMainWindowController () const
 
Core::MDILayoutasMDILayoutController () const
 
Core::StackasStackController () const
 
Core::TabBarasTabBarController () const
 
Core::TitleBarasTitleBarController () const
 
virtual std::shared_ptr< ViewchildViewAt (Point localPos) const =0
 
Controllercontroller () const
 Returns this view's controller.
 
virtual void createPlatformWindow ()
 
bool deliverViewEventToFilters (Event *e)
 Delivers mouse events and such to event filters.
 
void dumpDebug ()
 Prints some debug to stderr.
 
bool equals (const std::shared_ptr< View > &) const
 
bool equals (const View *other) const
 Returns whether this view represents the same GUI element as the other.
 
int height () const
 
bool inDtor () const
 Returns whether the DTOR is currently running. freed() might be true while inDtor false, as the implementation of free() is free to delay it (with deleteLater() for example)
 
virtual void init ()
 
void installViewEventFilter (EventFilterInterface *)
 Installs an event filter in this view to intercept the event it receives Analogue to QObject::installEventFilter() in the Qt world.
 
virtual bool is (ViewType) const
 Returns whether the view is of the specified type Virtual so it can be overridden by ViewWrapper. When we're wrapping an existing GUI element only the specific frontend can know what's the actual type.
 
bool isFixedHeight () const
 
bool isFixedWidth () const
 
virtual bool isNull () const
 Returns whether the gui item represented by this view was already deleted Usually false, as KDDW internal gui elements inherit View, and nobody will access them after destruction. However, ViewWrapper derived classes, wrap an existing gui element, which might get deleted. Override isNull() in our ViewWrapper subclasses and return true if the wrapped gui element was already deleted.
 
virtual Point mapFromGlobal (Point) const =0
 
virtual Point mapTo (View *, Point) const =0
 
virtual Point mapToGlobal (Point) const =0
 
int minimumHeight () const
 
int minimumWidth () const
 
void move (Point)
 
virtual bool onFocusInEvent (FocusEvent *)
 
virtual bool onResize (int h, int w)
 
bool onResize (Size)
 
Point pos () const
 
Rect rect () const
 
void removeViewEventFilter (EventFilterInterface *)
 Removes the event filter.
 
void resize (int w, int h)
 
void resize (Size)
 
Size screenSize () const
 Returns the size of the screen that this view belongs to.
 
virtual void setGeometry (Rect)=0
 
virtual void setMaximumSize (Size sz)=0
 
virtual void setMinimumSize (Size)=0
 
void setSize (Size)
 
virtual void setWindowIcon (const Icon &)=0
 
Size size () const
 
int width () const
 
int x () const
 
int y () const
 

Static Public Member Functions

static std::shared_ptr< Core::ViewasQQuickWrapper (QQuickItem *item)
 
static bool close (QQuickItem *)
 
static QQuickItem * createItem (const QString &filename, QQuickItem *parent, QQmlContext *ctx=nullptr)
 Convenience to create a QQuickItem parented to parent. Uses the engine from the parent.
 
static QQuickItem * createItem (QQmlEngine *engine, const QString &filename, QQmlContext *context=nullptr)
 Convenience to create a QQuickItem.
 
static bool isRootView (const QQuickItem *)
 
static void makeItemFillParent (QQuickItem *item)
 This is equivalent to "anchors.fill: parent but in C++.
 
static std::shared_ptr< Core::ViewparentViewFor (const QQuickItem *)
 
static void raiseAndActivate (QQuickItem *)
 
- Static Public Member Functions inherited from KDDockWidgets::QtCommon::View_qt
static QObjectasQObject (View *)
 
- Static Public Member Functions inherited from KDDockWidgets::Core::View
static bool equals (const View *one, const View *two)
 
static ControllerfirstParentOfType (View *view, ViewType)
 Returns the controller of the first parent view of the specified type Goes up the view hierarchy chain until it finds it. Returns nullptr otherwise.
 
static Size hardcodedMinimumSize ()
 The minimum minimum size a dock widget can have.
 

Protected Member Functions

bool event (QEvent *) override
 
bool eventFilter (QObject *watched, QEvent *ev) override
 
void itemChange (QQuickItem::ItemChange, const QQuickItem::ItemChangeData &) override
 
virtual void onHoverEvent (QHoverEvent *, QPoint)
 Override in case you want to have different styling on hover.
 
void QQUICKITEMgeometryChanged (const QRectF &newGeometry, const QRectF &oldGeometry) override
 
- Protected Member Functions inherited from KDDockWidgets::Core::View
 View (const View &)=delete
 
Viewoperator= (const View &)=delete
 

Properties

bool isFixedHeight
 
bool isFixedWidth
 

Additional Inherited Members

- Public Attributes inherited from KDDockWidgets::Core::View
Private *const d
 
- Protected Attributes inherited from KDDockWidgets::QtCommon::View_qt
EventFilter *const m_eventFilter
 
QObject *const m_thisObj
 
- Protected Attributes inherited from KDDockWidgets::Core::View
Controller *const m_controller
 
bool m_inDtor = false
 

Detailed Description

Definition at line 52 of file qtquick/views/View.h.

Constructor & Destructor Documentation

◆ View()

View::View ( Core::Controller controller,
Core::ViewType  type,
QQuickItem *  parent = nullptr,
Qt::WindowFlags  windowFlags = {} 
)
explicit

Definition at line 127 of file qtquick/views/View.cpp.

◆ ~View()

KDDockWidgets::QtQuick::View::~View ( )
overridevirtualdefault

Reimplemented from KDDockWidgets::Core::View.

Member Function Documentation

◆ activateWindow()

void View::activateWindow ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 577 of file qtquick/views/View.cpp.

◆ asQQuickWrapper()

std::shared_ptr< Core::View > View::asQQuickWrapper ( QQuickItem *  item)
static

◆ asWrapper()

std::shared_ptr< Core::View > View::asWrapper ( )
overridevirtual

Returns this view, but as a wrapper.

Implements KDDockWidgets::Core::View.

Definition at line 757 of file qtquick/views/View.cpp.

Referenced by rootView().

◆ childViewAt()

std::shared_ptr< Core::View > View::childViewAt ( QPoint  p) const
override

Definition at line 726 of file qtquick/views/View.cpp.

References asQQuickWrapper(), QPoint::x(), and QPoint::y().

◆ childViews()

QVector< std::shared_ptr< Core::View > > View::childViews ( ) const
overridevirtual

@Returns a list of child views

Implements KDDockWidgets::Core::View.

Definition at line 833 of file qtquick/views/View.cpp.

References asQQuickWrapper(), and QVector::reserve().

◆ close() [1/2]

bool View::close ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 300 of file qtquick/views/View.cpp.

References close().

Referenced by close().

◆ close() [2/2]

bool View::close ( QQuickItem *  item)
static

Definition at line 285 of file qtquick/views/View.cpp.

References QEvent::isAccepted().

◆ createItem() [1/2]

QQuickItem * View::createItem ( const QString filename,
QQuickItem *  parent,
QQmlContext *  ctx = nullptr 
)
static

Convenience to create a QQuickItem parented to parent. Uses the engine from the parent.

Definition at line 874 of file qtquick/views/View.cpp.

References KDDockWidgets::cleanQRCFilename(), QFile::exists(), KDDockWidgets::QtQuick::Platform::instance(), and KDDockWidgets::QtQuick::Platform::qmlEngine().

◆ createItem() [2/2]

QQuickItem * View::createItem ( QQmlEngine *  engine,
const QString filename,
QQmlContext *  context = nullptr 
)
static

◆ enableAttribute()

void View::enableAttribute ( Qt::WidgetAttribute  ,
bool  enable = true 
)
overridevirtual

Enable/disable attributes. This is mostly for QtWidget compatibility Do not use. We don't depend on Qt::WidgetAttribute in a future version.

Implements KDDockWidgets::Core::View.

Definition at line 424 of file qtquick/views/View.cpp.

Referenced by move().

◆ event()

bool View::event ( QEvent ev)
overrideprotected

◆ eventFilter()

bool View::eventFilter ( QObject watched,
QEvent ev 
)
overrideprotected

◆ flags()

Qt::WindowFlags View::flags ( ) const
overridevirtual

◆ focusPolicy()

Qt::FocusPolicy View::focusPolicy ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 788 of file qtquick/views/View.cpp.

◆ geometry()

QRect View::geometry ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 464 of file qtquick/views/View.cpp.

References isRootView().

◆ geometryUpdated

void KDDockWidgets::QtQuick::View::geometryUpdated ( )
signal

Referenced by updateGeometry().

◆ grabMouse()

void View::grabMouse ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 762 of file qtquick/views/View.cpp.

◆ hasAttribute()

bool View::hasAttribute ( Qt::WidgetAttribute  attr) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 432 of file qtquick/views/View.cpp.

◆ hasFocus()

bool View::hasFocus ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 783 of file qtquick/views/View.cpp.

◆ hide()

void View::hide ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 529 of file qtquick/views/View.cpp.

References setVisible().

◆ isActiveWindow()

bool View::isActiveWindow ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 662 of file qtquick/views/View.cpp.

◆ isExplicitlyHidden()

bool View::isExplicitlyHidden ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 363 of file qtquick/views/View.cpp.

◆ isFixedHeight()

bool View::isFixedHeight ( ) const

◆ isFixedWidth()

bool View::isFixedWidth ( ) const

◆ isMaximized()

bool View::isMaximized ( ) const
overridevirtual

◆ isMinimized()

bool View::isMinimized ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 688 of file qtquick/views/View.cpp.

References Qt::WindowMinimized.

◆ isRootView() [1/2]

bool View::isRootView ( ) const
finaloverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 615 of file qtquick/views/View.cpp.

References isRootView().

Referenced by geometry(), isRootView(), move(), raise(), and setVisible().

◆ isRootView() [2/2]

bool View::isRootView ( const QQuickItem *  item)
static

Definition at line 597 of file qtquick/views/View.cpp.

◆ isVisible()

bool View::isVisible ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 325 of file qtquick/views/View.cpp.

◆ itemChange()

void View::itemChange ( QQuickItem::ItemChange  change,
const QQuickItem::ItemChangeData &  data 
)
overrideprotected

Definition at line 201 of file qtquick/views/View.cpp.

References KDDockWidgets::Core::View::m_inDtor.

◆ itemGeometryChanged

void KDDockWidgets::QtQuick::View::itemGeometryChanged ( )
signal

◆ makeItemFillParent()

void View::makeItemFillParent ( QQuickItem *  item)
static

◆ mapFromGlobal()

QPoint View::mapFromGlobal ( QPoint  globalPt) const
override

Definition at line 630 of file qtquick/views/View.cpp.

◆ mapTo()

QPoint View::mapTo ( Core::View parent,
QPoint  pos 
) const
override

◆ mapToGlobal()

QPoint View::mapToGlobal ( QPoint  localPt) const
override

Definition at line 625 of file qtquick/views/View.cpp.

◆ maxSizeHint()

QSize View::maxSizeHint ( ) const
overridevirtual

◆ minSize()

QSize View::minSize ( ) const
overridevirtual

◆ move()

void View::move ( int  x,
int  y 
)
overridevirtual

◆ normalGeometry()

QRect View::normalGeometry ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 475 of file qtquick/views/View.cpp.

◆ onHoverEvent()

virtual void KDDockWidgets::QtQuick::View::onHoverEvent ( QHoverEvent ,
QPoint   
)
inlineprotectedvirtual

Override in case you want to have different styling on hover.

Reimplemented in KDDockWidgets::QtQuick::TabBar.

Definition at line 180 of file qtquick/views/View.h.

◆ onWindowStateChangeEvent()

void View::onWindowStateChangeEvent ( QWindowStateChangeEvent )

Definition at line 845 of file qtquick/views/View.cpp.

References window().

Referenced by eventFilter().

◆ parentView()

std::shared_ptr< Core::View > View::parentView ( ) const
overridevirtual

Returns the gui element's parent. Like QWidget::parentWidget()

Implements KDDockWidgets::Core::View.

Definition at line 752 of file qtquick/views/View.cpp.

References parentViewFor().

◆ parentViewFor()

std::shared_ptr< Core::View > View::parentViewFor ( const QQuickItem *  item)
static

Definition at line 733 of file qtquick/views/View.cpp.

References asQQuickWrapper(), and window().

Referenced by parentView().

◆ QQUICKITEMgeometryChanged()

void View::QQUICKITEMgeometryChanged ( const QRectF newGeometry,
const QRectF oldGeometry 
)
overrideprotected

◆ quickView()

QQuickView * View::quickView ( ) const

Definition at line 620 of file qtquick/views/View.cpp.

◆ raise()

void View::raise ( )
overridevirtual

If this view is a root view, then raises its window, otherwise, raises itself relatively to its siblings and does not raise its window

Implements KDDockWidgets::Core::View.

Definition at line 583 of file qtquick/views/View.cpp.

References isRootView().

◆ raiseAndActivate() [1/2]

void View::raiseAndActivate ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 572 of file qtquick/views/View.cpp.

References raiseAndActivate().

Referenced by raiseAndActivate().

◆ raiseAndActivate() [2/2]

void View::raiseAndActivate ( QQuickItem *  item)
static

Definition at line 564 of file qtquick/views/View.cpp.

◆ redirectMouseEvents()

void View::redirectMouseEvents ( QQuickItem *  from)

Definition at line 174 of file qtquick/views/View.cpp.

◆ releaseKeyboard()

void View::releaseKeyboard ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 772 of file qtquick/views/View.cpp.

◆ releaseMouse()

void View::releaseMouse ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 767 of file qtquick/views/View.cpp.

◆ render()

void View::render ( QPainter painter)
overridevirtual

◆ rootView()

std::shared_ptr< Core::View > View::rootView ( ) const
overridevirtual

Returns the top-level gui element which this view is inside It's the root view of the window.

Implements KDDockWidgets::Core::View.

Definition at line 393 of file qtquick/views/View.cpp.

References asWrapper(), and window().

◆ setCursor()

void View::setCursor ( Qt::CursorShape  shape)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 823 of file qtquick/views/View.cpp.

◆ setFixedHeight()

void View::setFixedHeight ( int  h)
overridevirtual

◆ setFixedSize()

void View::setFixedSize ( Size  sz)

Definition at line 518 of file qtquick/views/View.cpp.

References setFixedHeight(), and setFixedWidth().

◆ setFixedWidth()

void View::setFixedWidth ( int  w)
overridevirtual

◆ setFlag()

void View::setFlag ( Qt::WindowType  f,
bool  on = true 
)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 437 of file qtquick/views/View.cpp.

◆ setFocus()

void View::setFocus ( Qt::FocusReason  reason)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 777 of file qtquick/views/View.cpp.

◆ setFocusPolicy()

void View::setFocusPolicy ( Qt::FocusPolicy  policy)
overridevirtual

◆ setGeometry()

void View::setGeometry ( QRect  rect)
override

Definition at line 156 of file qtquick/views/View.cpp.

◆ setHeight()

void View::setHeight ( int  h)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 499 of file qtquick/views/View.cpp.

Referenced by setFixedHeight().

◆ setMaximumSize()

void View::setMaximumSize ( QSize  sz)
override

◆ setMinimumSize()

void View::setMinimumSize ( QSize  sz)
override

Definition at line 803 of file qtquick/views/View.cpp.

References KDDockWidgets::Core::View::d, minSize(), and updateGeometry().

Referenced by setFixedHeight(), and setFixedWidth().

◆ setMouseTracking()

void View::setMouseTracking ( bool  enable)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 828 of file qtquick/views/View.cpp.

◆ setNormalGeometry()

void View::setNormalGeometry ( QRect  geo)

Definition at line 480 of file qtquick/views/View.cpp.

◆ setParent() [1/2]

void View::setParent ( Core::View parent)
overridevirtual

◆ setParent() [2/2]

void View::setParent ( QQuickItem *  parent)

Definition at line 544 of file qtquick/views/View.cpp.

References KDDockWidgets::Core::View::m_inDtor, and setVisible().

◆ setSize()

void View::setSize ( int  w,
int  h 
)
finaloverridevirtual

◆ setVisible()

void View::setVisible ( bool  is)
overridevirtual

◆ setWidth()

void View::setWidth ( int  w)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 494 of file qtquick/views/View.cpp.

Referenced by setFixedWidth().

◆ setWindowIcon()

void View::setWindowIcon ( const QIcon icon)
override

Definition at line 656 of file qtquick/views/View.cpp.

◆ setWindowOpacity()

void View::setWindowOpacity ( double  v)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 644 of file qtquick/views/View.cpp.

◆ setWindowTitle()

void View::setWindowTitle ( const QString title)
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 650 of file qtquick/views/View.cpp.

◆ setZOrder()

void View::setZOrder ( int  )
overridevirtual

Sets the z order Not supported on all platforms and only relevant for MDI mode.

Reimplemented from KDDockWidgets::Core::View.

Definition at line 909 of file qtquick/views/View.cpp.

◆ show()

void View::show ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 524 of file qtquick/views/View.cpp.

References setVisible().

◆ showMaximized()

void View::showMaximized ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 682 of file qtquick/views/View.cpp.

◆ showMinimized()

void View::showMinimized ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 676 of file qtquick/views/View.cpp.

◆ showNormal()

void View::showNormal ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 670 of file qtquick/views/View.cpp.

◆ update()

void View::update ( )
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 539 of file qtquick/views/View.cpp.

◆ updateGeometry()

void View::updateGeometry ( )

Definition at line 534 of file qtquick/views/View.cpp.

References geometryUpdated().

Referenced by setMaximumSize(), and setMinimumSize().

◆ viewName()

QString View::viewName ( ) const
overridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 798 of file qtquick/views/View.cpp.

◆ visualItem()

QQuickItem * View::visualItem ( ) const
virtual

◆ window()

std::shared_ptr< Core::Window > View::window ( ) const
overridevirtual

Returns the window this view is inside For the Qt frontend, this wraps a QWindow. Like QWidget::window()

Implements KDDockWidgets::Core::View.

Definition at line 716 of file qtquick/views/View.cpp.

Referenced by onWindowStateChangeEvent(), parentViewFor(), and rootView().

◆ zOrder()

int View::zOrder ( ) const
overridevirtual

Returns the zOrder Not supported on all platforms and only relevant for MDI mode.

Reimplemented from KDDockWidgets::Core::View.

Definition at line 704 of file qtquick/views/View.cpp.

Property Documentation

◆ isFixedHeight

bool KDDockWidgets::QtQuick::View::isFixedHeight
read

Definition at line 55 of file qtquick/views/View.h.

◆ isFixedWidth

bool KDDockWidgets::QtQuick::View::isFixedWidth
read

Definition at line 56 of file qtquick/views/View.h.


The documentation for this class was generated from the following files:

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8