blob: 6ee8f108662b4199afa8e568bbb7fe540466430c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "backgammonview.h"
BackGammonView::BackGammonView(QCanvas* canvas,QWidget* parent)
:QCanvasView(canvas,parent)
{
//do nothing
}
BackGammonView::~BackGammonView()
{
//do nothing
}
void BackGammonView::contentsMousePressEvent(QMouseEvent* e)
{
int x=e->x();
int y=e->y();
emit mouse(x,y);
}
|