mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-26 22:27:06 +08:00
28 lines
471 B
C
28 lines
471 B
C
|
// Copyright (C) 2016 The Qt Company Ltd.
|
||
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||
|
|
||
|
#ifndef DRAGLABEL_H
|
||
|
#define DRAGLABEL_H
|
||
|
|
||
|
#include <QLabel>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
class QDragEnterEvent;
|
||
|
class QDragMoveEvent;
|
||
|
class QFrame;
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
//! [0]
|
||
|
class DragLabel : public QLabel
|
||
|
{
|
||
|
public:
|
||
|
DragLabel(const QString &text, QWidget *parent);
|
||
|
QString labelText() const;
|
||
|
|
||
|
private:
|
||
|
QString m_labelText;
|
||
|
};
|
||
|
//! [0]
|
||
|
|
||
|
#endif // DRAGLABEL_H
|