KanoopGuiQt 1.3.0
Qt GUI utility library
Loading...
Searching...
No Matches
MdiArea Class Reference

QMdiArea subclass that adds keyboard-driven sub-window cycling. More...

#include <mdiarea.h>

+ Inheritance diagram for MdiArea:
+ Collaboration diagram for MdiArea:

Signals

void subWindowPaging (QMdiSubWindow *subWindow)
 Emitted when a sub-window paging cycle begins for the given window.
 
void pagingComplete ()
 Emitted when the paging cycle has completed.
 

Public Member Functions

 MdiArea (QWidget *parent=nullptr)
 Construct with an optional parent.
 

Protected Member Functions

virtual bool eventFilter (QObject *watched, QEvent *event) override
 Intercept keyboard events to drive sub-window cycling.
 

Detailed Description

QMdiArea subclass that adds keyboard-driven sub-window cycling.

MdiArea intercepts keyboard events to cycle through sub-windows and emits signals at the start and end of each paging operation so the application can update its UI accordingly.

Definition at line 13 of file mdiarea.h.

Constructor & Destructor Documentation

◆ MdiArea()

MdiArea::MdiArea ( QWidget *  parent = nullptr)
explicit

Construct with an optional parent.

Parameters
parentOptional QWidget parent

Member Function Documentation

◆ subWindowPaging

void MdiArea::subWindowPaging ( QMdiSubWindow *  subWindow)
signal

Emitted when a sub-window paging cycle begins for the given window.

Parameters
subWindowThe sub-window being paged to

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