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
9
QT_BEGIN_NAMESPACE
10
11
class
QClipboard;
12
class
QComboBox;
13
class
QLabel;
14
class
QListWidget;
15
class
QMimeData;
16
class
QWidget
;
17
18
class
ClipWindow
:
public
QMainWindow
19
{
20
Q_OBJECT
21
22
public
:
23
explicit
ClipWindow
(
QWidget
*
parent
=
nullptr
);
24
25
public
slots
:
26
void
updateClipboard
();
27
void
updateData
(
const
QString &format);
28
29
private
:
30
int
currentItem;
31
QClipboard *clipboard;
32
QComboBox *mimeTypeCombo;
33
QLabel *dataInfoLabel;
34
QListWidget *previousItems;
35
};
36
37
QT_END_NAMESPACE
38
39
#
endif
ClipWindow
Definition
clipwindow.h:19
ClipWindow::updateData
void updateData(const QString &format)
Definition
clipwindow.cpp:69
QPainter::QWidget
friend class QWidget
Definition
qpainter.h:431
qtbase
src
gui
doc
snippets
clipboard
clipwindow.h
Generated on
for Qt by
1.14.0