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