4#include <Kanoop/gui/libkanoopgui.h>
13class LIBKANOOPGUI_EXPORT
MdiArea :
public QMdiArea
21 explicit MdiArea(QWidget* parent =
nullptr);
35 virtual bool eventFilter(QObject* watched, QEvent* event)
override;
43 QMdiSubWindow *getNextSubWindowInCycle(
bool forward =
true);
45 int _pagingIndex = -1;
QMdiArea subclass that adds keyboard-driven sub-window cycling.
virtual bool eventFilter(QObject *watched, QEvent *event) override
Intercept keyboard events to drive sub-window cycling.
MdiArea(QWidget *parent=nullptr)
Construct with an optional parent.
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.