|
|
@ -61,7 +61,6 @@ class UBBoardView : public QGraphicsView |
|
|
|
signals: |
|
|
|
signals: |
|
|
|
|
|
|
|
|
|
|
|
void resized(QResizeEvent* event); |
|
|
|
void resized(QResizeEvent* event); |
|
|
|
void hidden(); |
|
|
|
|
|
|
|
void shown(); |
|
|
|
void shown(); |
|
|
|
void clickOnBoard(); |
|
|
|
void clickOnBoard(); |
|
|
|
|
|
|
|
|
|
|
@ -98,7 +97,6 @@ class UBBoardView : public QGraphicsView |
|
|
|
QGraphicsItem *items[], |
|
|
|
QGraphicsItem *items[], |
|
|
|
const QStyleOptionGraphicsItem options[]); |
|
|
|
const QStyleOptionGraphicsItem options[]); |
|
|
|
|
|
|
|
|
|
|
|
// virtual void dragEnterEvent(QDragEnterEvent * event);
|
|
|
|
|
|
|
|
virtual void dropEvent(QDropEvent *event); |
|
|
|
virtual void dropEvent(QDropEvent *event); |
|
|
|
virtual void dragMoveEvent(QDragMoveEvent *event); |
|
|
|
virtual void dragMoveEvent(QDragMoveEvent *event); |
|
|
|
|
|
|
|
|
|
|
@ -106,9 +104,6 @@ class UBBoardView : public QGraphicsView |
|
|
|
|
|
|
|
|
|
|
|
virtual void drawBackground(QPainter *painter, const QRectF &rect); |
|
|
|
virtual void drawBackground(QPainter *painter, const QRectF &rect); |
|
|
|
|
|
|
|
|
|
|
|
virtual void showEvent(QShowEvent * event); |
|
|
|
|
|
|
|
virtual void hideEvent(QHideEvent * event); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
|
|
|
|
|
|
|
|
void init(); |
|
|
|
void init(); |
|
|
|