记录qt的一些案例,以后方便查找
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
408 B

#ifndef WIDGET_H
#define WIDGET_H
#include <QEvent>
#include <QWidget>
#include <qsystemtrayicon.h>
#include <QDebug>
namespace Ui {
class Widget;
}
/**
* 主窗口
* @brief The Widget class
*/
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = nullptr);
~Widget();
private:
Ui::Widget *ui;
void CreateSystemTrayIcon();
};
#endif // WIDGET_H