mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
27 lines
566 B
C++
27 lines
566 B
C++
// Copyright (C) 2019 ~ 2019 Deepin Technology Co., Ltd.
|
|
// SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
#ifndef SHOWDESKTOPWIDGET_H
|
|
#define SHOWDESKTOPWIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
class ShowDesktopWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ShowDesktopWidget(QWidget *parent = 0);
|
|
void refreshIcon();
|
|
|
|
signals:
|
|
void requestContextMenu(const QString &itemKey) const;
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *e) override;
|
|
};
|
|
|
|
#endif // SHOWDESKTOPWIDGET_H
|