deskflow/src/lib/gui/widgets/TrashScreenWidget.h

32 lines
595 B
C
Raw Normal View History

2012-06-10 16:50:54 +00:00
/*
* 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
2012-06-10 16:50:54 +00:00
*/
#pragma once
2012-06-10 16:50:54 +00:00
#include <QLabel>
class QWidget;
class QDragEnterEvent;
class QDropEvent;
class TrashScreenWidget : public QLabel
{
Q_OBJECT
2012-06-10 16:50:54 +00:00
public:
TrashScreenWidget(QWidget *parent) : QLabel(parent)
{
}
2012-06-10 16:50:54 +00:00
public:
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QDropEvent *event);
signals:
void screenRemoved();
2012-06-10 16:50:54 +00:00
};