mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
添加了首页的雏形,和一个关于如何添加页面的文档
This commit is contained in:
17
inc/spknotifydot.h
Normal file
17
inc/spknotifydot.h
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QLabel>
|
||||
|
||||
class SpkNotifyDot : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SpkNotifyDot(QWidget *parent = nullptr);
|
||||
~SpkNotifyDot() {}
|
||||
|
||||
protected:
|
||||
virtual void paintEvent(QPaintEvent *) override;
|
||||
// virtual int widthForHeight(int h) override;
|
||||
};
|
||||
Reference in New Issue
Block a user