Debian Codegraph @

examples/widgets/draganddrop/dropsite/dropsitewindow.h

raw
1 // Copyright (C) 2016 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4 #ifndef DROPSITEWINDOW_H
5 #define DROPSITEWINDOW_H
6
7 #include <QWidget>
8
9 QT_BEGIN_NAMESPACE
10 class QDialogButtonBox;
11 class QLabel;
12 class QMimeData;
13 class QPushButton;
14 class QTableWidget;
15 QT_END_NAMESPACE
16 class DropArea;
17
18 //! [DropSiteWindow header]
19 class DropSiteWindow : public QWidget
20 {
21 Q_OBJECT
22
23 public:
24 DropSiteWindow();
25
26 public slots:
27 void updateFormatsTable(const QMimeData *mimeData);
28 void copy();
29
30 private:
31 DropArea *dropArea;
32 QLabel *abstractLabel;
33 QTableWidget *formatsTable;
34
35 QPushButton *clearButton;
36 QPushButton *copyButton;
37 QPushButton *quitButton;
38 QDialogButtonBox *buttonBox;
39 };
40 //! [DropSiteWindow header]
41
42 #endif // DROPSITEWINDOW_H