diff options
Diffstat (limited to 'mainwindow.cpp')
| -rw-r--r-- | mainwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 155bd28..5a548db 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -6,6 +6,7 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow) { ui->setupUi(this); + setCentralWidget(new InteractionCanvas()); } MainWindow::~MainWindow() @@ -41,3 +42,9 @@ void MainWindow::on_actionPreferences_triggered() delete tmp; } + + +void MainWindow::mouseMoveEvent(QMouseEvent *mouseEvent) +{ + qDebug() << "MainWindow:" << mouseEvent->pos(); +} |
