Watch 1 Star 0 Fork 0

chen227 / qmlMouseMove

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
检测鼠标移动,qml画面跟随鼠标 情人节陪伴小礼物 spread retract

Clone or download
mymainwindow.h 539 Bytes
Copy Edit Web IDE Raw Blame History
chen227 authored 2019-02-13 15:59 . add tutorial
#ifndef MYMAINWINDOW_H
#define MYMAINWINDOW_H
#include <QMainWindow>
#include <QObject>
#include <QSystemTrayIcon>
#include <QMenu>
namespace Ui {
class MainWindow;
}
class MyMainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MyMainWindow(QWidget *parent = nullptr);
~MyMainWindow();
signals:
public slots:
void systemExit(bool);
void mousePointChanged();
private:
Ui::MainWindow *ui;
QSystemTrayIcon * trayIcon;
QAction *action_exit;
void setSystemMenu();
};
#endif // MYMAINWINDOW_H

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/chen227/qmlMouseMove.git
git@gitee.com:chen227/qmlMouseMove.git
chen227
qmlMouseMove
qmlMouseMove
master

Help Search