Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
clipwindow.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4#ifndef CLIPWINDOW_H
5#define CLIPWINDOW_H
6
7#include <QMainWindow>
8
9QT_BEGIN_NAMESPACE
10
11class QClipboard;
12class QComboBox;
13class QLabel;
14class QListWidget;
15class QMimeData;
16class QWidget;
17
18class ClipWindow : public QMainWindow
19{
21
22public:
23 explicit ClipWindow(QWidget *parent = nullptr);
24
25public slots:
26 void updateClipboard();
27 void updateData(const QString &format);
28
29private:
30 int currentItem;
31 QClipboard *clipboard;
32 QComboBox *mimeTypeCombo;
33 QLabel *dataInfoLabel;
34 QListWidget *previousItems;
35};
36
37QT_END_NAMESPACE
38
39#endif
void updateData(const QString &format)
friend class QWidget
Definition qpainter.h:431