KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
KDDockWidgets::QtWidgets::View< Base > Class Template Reference

#include <View.h>

Inheritance diagram for KDDockWidgets::QtWidgets::View< Base >:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgets::QtWidgets::View< Base >:
Collaboration graph
[legend]

Public Member Functions

 View (Core::Controller *controller, Core::ViewType type, QWidget *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 localPos) const override
 
QVector< std::shared_ptr< Core::View > > childViews () const override
 @Returns a list of child views
 
bool close () override
 
void createPlatformWindow () 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 isMaximized () const override
 
bool isMinimized () const override
 
bool isRootView () const override
 
bool isVisible () const override
 
QPoint mapFromGlobal (QPoint globalPt) const override
 
QPoint mapTo (Core::View *someAncestor, QPoint pos) const override
 
QPoint mapToGlobal (QPoint localPt) const override
 
QSize maxSizeHint () const override
 
QSize minimumSizeHint () const override
 
QSize minSize () const override
 
void move (int x, int y) override
 
QRect normalGeometry () const override
 
std::shared_ptr< Core::ViewparentView () const override
 Returns the gui element's parent. Like QWidget::parentWidget()
 
void raise () override
 
void raiseAndActivate () override
 
void releaseKeyboard () override
 
void releaseMouse () override
 
void render (QPainter *p) 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 setFixedWidth (int w) override
 
void setFlag (Qt::WindowType flag, bool on=true) override
 
void setFocus (Qt::FocusReason reason) override
 
void setFocusPolicy (Qt::FocusPolicy policy) override
 
void setGeometry (QRect geo) override
 
void setHeight (int height) override
 
void setMaximumSize (QSize sz) override
 
void setMinimumSize (QSize sz) override
 
void setMouseTracking (bool enable) override
 
void setParent (Core::View *parent) override
 
void setSize (int width, int height) override
 
void setVisible (bool is) override
 
void setWidth (int width) override
 
void setWindowIcon (const QIcon &icon) override
 
void setWindowOpacity (double v) override
 
void setWindowTitle (const QString &title) override
 
void show () override
 
void showMaximized () override
 
void showMinimized () override
 
void showNormal () override
 
void update () override
 
QString viewName () const override
 
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.
 
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
 
virtual void setZOrder (int)
 Sets the z order Not supported on all platforms and only relevant for MDI mode.
 
Size size () const
 
int width () const
 
int x () const
 
int y () const
 

Static Public Member Functions

static QVector< std::shared_ptr< Core::View > > childViewsFor (const QWidget *parent)
 
static void raiseAndActivate (QWidget *w)
 
static void setParentFor (QWidget *widget, Core::View *parent)
 
- 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

void closeEvent (QCloseEvent *ev) override
 
bool event (QEvent *e) override
 
void resizeEvent (QResizeEvent *ev) override
 
- Protected Member Functions inherited from KDDockWidgets::Core::View
 View (const View &)=delete
 
Viewoperator= (const View &)=delete
 

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

template<typename Base>
class KDDockWidgets::QtWidgets::View< Base >

Definition at line 35 of file qtwidgets/views/View.h.

Constructor & Destructor Documentation

◆ View()

template<typename Base >
KDDockWidgets::QtWidgets::View< Base >::View ( Core::Controller controller,
Core::ViewType  type,
QWidget parent = nullptr,
Qt::WindowFlags  windowFlags = {} 
)
explicit

◆ ~View()

template<typename Base >
KDDockWidgets::QtWidgets::View< Base >::~View ( )
overridevirtualdefault

Reimplemented from KDDockWidgets::Core::View.

Member Function Documentation

◆ activateWindow()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::activateWindow ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 224 of file qtwidgets/views/View.h.

◆ asWrapper()

template<class T >
std::shared_ptr< Core::View > View::asWrapper ( )
overridevirtual

Returns this view, but as a wrapper.

Implements KDDockWidgets::Core::View.

Definition at line 153 of file qtwidgets/views/View.cpp.

◆ childViewAt()

template<class T >
std::shared_ptr< Core::View > View::childViewAt ( QPoint  localPos) const
override

Definition at line 124 of file qtwidgets/views/View.cpp.

References QWidget::childAt().

◆ childViews()

template<typename Base >
QVector< std::shared_ptr< Core::View > > KDDockWidgets::QtWidgets::View< Base >::childViews ( ) const
inlineoverridevirtual

@Returns a list of child views

Implements KDDockWidgets::Core::View.

Definition at line 391 of file qtwidgets/views/View.h.

◆ childViewsFor()

template<class T >
QVector< std::shared_ptr< Core::View > > View::childViewsFor ( const QWidget parent)
static

◆ close()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::close ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 274 of file qtwidgets/views/View.h.

References QWidget::close().

◆ closeEvent()

template<class T >
void View::closeEvent ( QCloseEvent ev)
overrideprotected

Definition at line 108 of file qtwidgets/views/View.cpp.

◆ createPlatformWindow()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::createPlatformWindow ( )
inlineoverridevirtual

Reimplemented from KDDockWidgets::Core::View.

Definition at line 164 of file qtwidgets/views/View.h.

References QWidget::create().

◆ enableAttribute()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::enableAttribute ( Qt::WidgetAttribute  ,
bool  enable = true 
)
inlineoverridevirtual

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 284 of file qtwidgets/views/View.h.

References QWidget::setAttribute().

◆ event()

template<class T >
bool View::event ( QEvent e)
overrideprotected

◆ flags()

template<typename Base >
Qt::WindowFlags KDDockWidgets::QtWidgets::View< Base >::flags ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 294 of file qtwidgets/views/View.h.

References QWidget::windowFlags.

◆ focusPolicy()

template<typename Base >
Qt::FocusPolicy KDDockWidgets::QtWidgets::View< Base >::focusPolicy ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 339 of file qtwidgets/views/View.h.

References QWidget::focusPolicy.

◆ geometry()

template<typename Base >
QRect KDDockWidgets::QtWidgets::View< Base >::geometry ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 97 of file qtwidgets/views/View.h.

◆ grabMouse()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::grabMouse ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 359 of file qtwidgets/views/View.h.

References QWidget::grabMouse().

◆ hasAttribute()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::hasAttribute ( Qt::WidgetAttribute  attr) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 289 of file qtwidgets/views/View.h.

References QWidget::testAttribute().

◆ hasFocus()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::hasFocus ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 344 of file qtwidgets/views/View.h.

References QWidget::hasFocus().

◆ hide()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::hide ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 169 of file qtwidgets/views/View.h.

◆ isActiveWindow()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::isActiveWindow ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 309 of file qtwidgets/views/View.h.

References QWidget::isActiveWindow.

◆ isExplicitlyHidden()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::isExplicitlyHidden ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 119 of file qtwidgets/views/View.h.

◆ isMaximized()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::isMaximized ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 334 of file qtwidgets/views/View.h.

References QWidget::isMaximized().

◆ isMinimized()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::isMinimized ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 329 of file qtwidgets/views/View.h.

References QWidget::isMinimized().

◆ isRootView()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::isRootView ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 234 of file qtwidgets/views/View.h.

References QWidget::isWindow().

◆ isVisible()

template<typename Base >
bool KDDockWidgets::QtWidgets::View< Base >::isVisible ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 114 of file qtwidgets/views/View.h.

◆ mapFromGlobal()

template<typename Base >
QPoint KDDockWidgets::QtWidgets::View< Base >::mapFromGlobal ( QPoint  globalPt) const
inlineoverride

Definition at line 244 of file qtwidgets/views/View.h.

◆ mapTo()

template<typename Base >
QPoint KDDockWidgets::QtWidgets::View< Base >::mapTo ( Core::View< Base > *  someAncestor,
QPoint  pos 
) const
inlineoverride

Definition at line 249 of file qtwidgets/views/View.h.

References QWidget::mapTo().

◆ mapToGlobal()

template<typename Base >
QPoint KDDockWidgets::QtWidgets::View< Base >::mapToGlobal ( QPoint  localPt) const
inlineoverride

Definition at line 239 of file qtwidgets/views/View.h.

◆ maxSizeHint()

template<typename Base >
QSize KDDockWidgets::QtWidgets::View< Base >::maxSizeHint ( ) const
inlineoverridevirtual

◆ minimumSizeHint()

template<typename Base >
QSize KDDockWidgets::QtWidgets::View< Base >::minimumSizeHint ( ) const
inlineoverride

Definition at line 68 of file qtwidgets/views/View.h.

◆ minSize()

template<typename Base >
QSize KDDockWidgets::QtWidgets::View< Base >::minSize ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 57 of file qtwidgets/views/View.h.

References QSize::expandedTo().

◆ move()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::move ( int  x,
int  y 
)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 129 of file qtwidgets/views/View.h.

◆ normalGeometry()

template<typename Base >
QRect KDDockWidgets::QtWidgets::View< Base >::normalGeometry ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 102 of file qtwidgets/views/View.h.

◆ parentView()

template<class T >
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 143 of file qtwidgets/views/View.cpp.

References QWidget::parentWidget().

◆ raise()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::raise ( )
inlineoverridevirtual

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 229 of file qtwidgets/views/View.h.

◆ raiseAndActivate() [1/2]

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::raiseAndActivate ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 219 of file qtwidgets/views/View.h.

◆ raiseAndActivate() [2/2]

template<typename Base >
static void KDDockWidgets::QtWidgets::View< Base >::raiseAndActivate ( QWidget w)
inlinestatic

◆ releaseKeyboard()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::releaseKeyboard ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 369 of file qtwidgets/views/View.h.

References QWidget::releaseKeyboard().

◆ releaseMouse()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::releaseMouse ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 364 of file qtwidgets/views/View.h.

References QWidget::releaseMouse().

◆ render()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::render ( QPainter p)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 259 of file qtwidgets/views/View.h.

◆ resizeEvent()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::resizeEvent ( QResizeEvent ev)
inlineoverrideprotected

Definition at line 400 of file qtwidgets/views/View.h.

References QResizeEvent::size().

◆ rootView()

template<class T >
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 133 of file qtwidgets/views/View.cpp.

References QWidget::window().

◆ setCursor()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setCursor ( Qt::CursorShape  shape)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 264 of file qtwidgets/views/View.h.

References QWidget::setCursor().

◆ setFixedHeight()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setFixedHeight ( int  h)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 154 of file qtwidgets/views/View.h.

References QWidget::setFixedHeight().

◆ setFixedWidth()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setFixedWidth ( int  w)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 149 of file qtwidgets/views/View.h.

References QWidget::setFixedWidth().

◆ setFlag()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setFlag ( Qt::WindowType  flag,
bool  on = true 
)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 279 of file qtwidgets/views/View.h.

References QWidget::setWindowFlag().

◆ setFocus()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setFocus ( Qt::FocusReason  reason)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 374 of file qtwidgets/views/View.h.

References QWidget::setFocus().

◆ setFocusPolicy()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setFocusPolicy ( Qt::FocusPolicy  policy)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 379 of file qtwidgets/views/View.h.

References QWidget::setFocusPolicy().

◆ setGeometry()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setGeometry ( QRect  geo)
inlineoverride

Definition at line 107 of file qtwidgets/views/View.h.

◆ setHeight()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setHeight ( int  height)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 144 of file qtwidgets/views/View.h.

References QWidget::width.

◆ setMaximumSize()

template<class T >
void View::setMaximumSize ( QSize  sz)
override

Definition at line 90 of file qtwidgets/views/View.cpp.

References QWidget::maximumSize.

◆ setMinimumSize()

template<class T >
void View::setMinimumSize ( QSize  sz)
override

Definition at line 114 of file qtwidgets/views/View.cpp.

References QWidget::minimumSize, and QWidget::setMinimumSize().

◆ setMouseTracking()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setMouseTracking ( bool  enable)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 269 of file qtwidgets/views/View.h.

References QWidget::setMouseTracking().

◆ setParent()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setParent ( Core::View< Base > *  parent)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 206 of file qtwidgets/views/View.h.

◆ setParentFor()

template<typename Base >
static void KDDockWidgets::QtWidgets::View< Base >::setParentFor ( QWidget widget,
Core::View< Base > *  parent 
)
inlinestatic

Definition at line 191 of file qtwidgets/views/View.h.

◆ setSize()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setSize ( int  width,
int  height 
)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 134 of file qtwidgets/views/View.h.

◆ setVisible()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setVisible ( bool  is)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 124 of file qtwidgets/views/View.h.

◆ setWidth()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setWidth ( int  width)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 139 of file qtwidgets/views/View.h.

References QWidget::height.

◆ setWindowIcon()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setWindowIcon ( const QIcon icon)
inlineoverride

Definition at line 304 of file qtwidgets/views/View.h.

References QWidget::setWindowIcon().

◆ setWindowOpacity()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setWindowOpacity ( double  v)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 254 of file qtwidgets/views/View.h.

References QWidget::setWindowOpacity().

◆ setWindowTitle()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::setWindowTitle ( const QString title)
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 299 of file qtwidgets/views/View.h.

References QWidget::setWindowTitle().

◆ show()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::show ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 159 of file qtwidgets/views/View.h.

◆ showMaximized()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::showMaximized ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 324 of file qtwidgets/views/View.h.

References QWidget::showMaximized().

◆ showMinimized()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::showMinimized ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 319 of file qtwidgets/views/View.h.

References QWidget::showMinimized().

◆ showNormal()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::showNormal ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 314 of file qtwidgets/views/View.h.

References QWidget::showNormal().

◆ update()

template<typename Base >
void KDDockWidgets::QtWidgets::View< Base >::update ( )
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 174 of file qtwidgets/views/View.h.

◆ viewName()

template<typename Base >
QString KDDockWidgets::QtWidgets::View< Base >::viewName ( ) const
inlineoverridevirtual

Implements KDDockWidgets::Core::View.

Definition at line 384 of file qtwidgets/views/View.h.

References QObject::objectName.

◆ window()

template<class T >
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 78 of file qtwidgets/views/View.cpp.

References QWidget::window().

◆ zOrder()

template<typename Base >
int KDDockWidgets::QtWidgets::View< Base >::zOrder ( ) const
inlineoverridevirtual

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

Reimplemented from KDDockWidgets::Core::View.

Definition at line 179 of file qtwidgets/views/View.h.

References QWidget::parentWidget().


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