build files and documentation: MIT images / sources: GPL-2.0-only breeze icons: LGPL-2.0-only Microsoft MSM file, vc redist license
32 lines
595 B
C++
32 lines
595 B
C++
/*
|
|
* Deskflow -- mouse and keyboard sharing utility
|
|
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
|
* SPDX-FileCopyrightText: (C) 2008 Volker Lanz <vl@fidra.de>
|
|
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QLabel>
|
|
|
|
class QWidget;
|
|
class QDragEnterEvent;
|
|
class QDropEvent;
|
|
|
|
class TrashScreenWidget : public QLabel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TrashScreenWidget(QWidget *parent) : QLabel(parent)
|
|
{
|
|
}
|
|
|
|
public:
|
|
void dragEnterEvent(QDragEnterEvent *event);
|
|
void dropEvent(QDropEvent *event);
|
|
|
|
signals:
|
|
void screenRemoved();
|
|
};
|