diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-04-13 08:37:00 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-04-13 08:37:00 +0200 |
| commit | b60bb2ed272972847cb533be2e86bd2d7e565918 (patch) | |
| tree | 3c5c8024a55e942da90a985a5c6a24f5d63df2ff /mainwindow.cpp | |
| parent | 80e36da2bbb4c6ce0e6f04ccff595f61769bb4ab (diff) | |
| download | GUI_SS2015-b60bb2ed272972847cb533be2e86bd2d7e565918.tar.gz GUI_SS2015-b60bb2ed272972847cb533be2e86bd2d7e565918.zip | |
Adds tasks 2 and 3
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(); +} |
