2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#ifndef DROPSITEWINDOW_H
|
|
|
|
#define DROPSITEWINDOW_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QDialogButtonBox;
|
|
|
|
class QLabel;
|
|
|
|
class QMimeData;
|
|
|
|
class QPushButton;
|
|
|
|
class QTableWidget;
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
class DropArea;
|
|
|
|
|
|
|
|
//! [DropSiteWindow header]
|
|
|
|
class DropSiteWindow : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
DropSiteWindow();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void updateFormatsTable(const QMimeData *mimeData);
|
2018-01-02 07:51:31 +00:00
|
|
|
void copy();
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DropArea *dropArea;
|
|
|
|
QLabel *abstractLabel;
|
|
|
|
QTableWidget *formatsTable;
|
|
|
|
|
|
|
|
QPushButton *clearButton;
|
2018-01-02 07:51:31 +00:00
|
|
|
QPushButton *copyButton;
|
2011-04-27 10:05:43 +00:00
|
|
|
QPushButton *quitButton;
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
};
|
|
|
|
//! [DropSiteWindow header]
|
|
|
|
|
2012-11-23 13:27:50 +00:00
|
|
|
#endif // DROPSITEWINDOW_H
|