Move selection rectangle from widget to scene
This commit is contained in:
@@ -110,6 +110,7 @@ public:
|
||||
|
||||
public slots:
|
||||
void updateCursor();
|
||||
void updateSelection();
|
||||
void toggleGrid(bool);
|
||||
void setFullScreenColour(const QColor &);
|
||||
void setFullRowColour(int, const QColor &);
|
||||
@@ -118,7 +119,7 @@ private:
|
||||
QGraphicsRectItem *m_fullScreenTopRectItem, *m_fullScreenBottomRectItem;
|
||||
QGraphicsRectItem *m_fullRowLeftRectItem[25], *m_fullRowRightRectItem[25];
|
||||
QGraphicsProxyWidget *m_levelOneProxyWidget;
|
||||
QGraphicsRectItem *m_cursorRectItem;
|
||||
QGraphicsRectItem *m_cursorRectItem, *m_selectionRectItem;
|
||||
QGraphicsItemGroup *m_mainGridItemGroup, *m_sidePanelGridItemGroup[32];
|
||||
bool m_grid, m_sidePanelGridNeeded[32];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user