diff --git a/src/display_window.cpp b/src/display_window.cpp index 145c1af..13351b8 100644 --- a/src/display_window.cpp +++ b/src/display_window.cpp @@ -26,3 +26,11 @@ void DisplayWindow::paintEvent(QPaintEvent *) { QPainter painter(this); painter.fillRect(QRect(QPoint(0, 0), size()), QColor(0,0,0)); } + +void DisplayWindow::keyPressEvent(QKeyEvent *key) { + +} + +void DisplayWindow::keyReleaseEvent(QKeyEvent *key) { + +} diff --git a/src/display_window.h b/src/display_window.h index 5f8582e..dbafc98 100644 --- a/src/display_window.h +++ b/src/display_window.h @@ -10,6 +10,8 @@ public: void createControls(); void displayImage(const QImage &img); void paintEvent(QPaintEvent *paint); + void keyPressEvent(QKeyEvent *ke); + void keyReleaseEvent(QKeyEvent *ke); private: QLabel *img_label; }; diff --git a/src/qtheaders.h b/src/qtheaders.h index 5ad5545..85f7ffd 100644 --- a/src/qtheaders.h +++ b/src/qtheaders.h @@ -1,7 +1,7 @@ #ifndef _QT_HEADERS__ #define _QT_HEADERS__ -#define ac_version "v0.4.2-Beta" +#define ac_version "v0.5-Beta" #include #include