Keep keyboard focus if scene item other than proxy widget is clicked

This commit is contained in:
G.K.MacGregor
2022-05-15 13:08:58 +01:00
parent ec4bdd6f7f
commit bcc0d0d8e7
2 changed files with 25 additions and 1 deletions

View File

@@ -134,9 +134,12 @@ signals:
void mouseZoomIn();
void mouseZoomOut();
private:
protected:
bool eventFilter(QObject *, QEvent *);
void keyPressEvent(QKeyEvent *);
void keyReleaseEvent(QKeyEvent *);
private:
QGraphicsRectItem *m_fullScreenTopRectItem, *m_fullScreenBottomRectItem;
QGraphicsRectItem *m_fullRowLeftRectItem[25], *m_fullRowRightRectItem[25];
QGraphicsProxyWidget *m_levelOneProxyWidget;