mirror of
https://github.com/brmlab/microview.git
synced 2025-06-08 11:34:01 +02:00
init
This commit is contained in:
commit
f6403176a7
9 changed files with 302 additions and 0 deletions
19
software/videoview.cpp
Normal file
19
software/videoview.cpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#include "videoview.h"
|
||||
#include <qdebug.h>
|
||||
|
||||
VideoView::VideoView(QWidget *parent) :
|
||||
QWidget(parent)
|
||||
{
|
||||
}
|
||||
|
||||
void VideoView::mouseMoveEvent(QMouseEvent *event)
|
||||
{
|
||||
// TODO: process position
|
||||
qDebug() << event->pos();
|
||||
}
|
||||
|
||||
void VideoView::wheelEvent(QWheelEvent *event)
|
||||
{
|
||||
// TODO: process delta
|
||||
qDebug() << event->delta();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue