2023-02-16 13:51:55 +08:00
|
|
|
// Copyright (C) 2019 ~ 2019 Deepin Technology Co., Ltd.
|
|
|
|
// SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
|
2022-09-06 11:36:55 +08:00
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
2019-09-03 20:37:30 +08:00
|
|
|
|
|
|
|
#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
|