feat: wheel events

This commit is contained in:
2025-08-06 02:15:16 +02:00
parent b4988f4499
commit a6dfa35fa7
6 changed files with 72 additions and 8 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
/*
* @Author: Uyanide pywang0608@foxmail.com
* @Date: 2025-08-05 00:37:58
* @LastEditTime: 2025-08-06 00:47:04
* @LastEditTime: 2025-08-06 02:13:47
* @Description: MainWindow implementation.
*/
#ifndef MAINWINDOW_H
@@ -33,6 +33,7 @@ class MainWindow : public QMainWindow {
protected:
void keyPressEvent(QKeyEvent *event) override;
void wheelEvent(QWheelEvent *event) override;
private:
void _setupUI();