16 QLabel *mimeTypeLabel =
new QLabel(
tr(
"MIME types:"), currentItem);
17 mimeTypeCombo =
new QComboBox(currentItem);
19 dataInfoLabel =
new QLabel(
"", currentItem);
46 mimeTypeCombo->
clear();
void updateData(const QString &format)
ClipWindow(QWidget *parent=nullptr)
void updateClipboard()
[1]
void addWidget(QWidget *, int stretch=0, Qt::Alignment alignment=Qt::Alignment())
Adds widget to the end of this box layout, with a stretch factor of stretch and alignment alignment.
void addStretch(int stretch=0)
Adds a stretchable space (a QSpacerItem) with zero minimum size and stretch factor stretch to the end...
qsizetype size() const noexcept
Returns the number of bytes in this byte array.
const QMimeData * mimeData(Mode mode=Clipboard) const
Returns a pointer to a QMimeData representation of the current clipboard data (can be \nullptr if the...
void dataChanged()
This signal is emitted when the clipboard data is changed.
The QComboBox widget is a combined button and popup list.
void addItems(const QStringList &texts)
Adds each of the strings in the given texts to the combobox.
void clear()
Clears the combobox, removing all items.
static QClipboard * clipboard()
Returns the object for interacting with the clipboard.
The QHBoxLayout class lines up widgets horizontally.
The QLabel widget provides a text or image display.
void setText(const QString &)
The QMainWindow class provides a main application window.
QWidget * centralWidget() const
Returns the central widget for the main window.
void setCentralWidget(QWidget *widget)
Sets the given widget to be the main window's central widget.
QByteArray data(const QString &mimetype) const
Returns the data stored in the object in the format described by the MIME type specified by mimeType.
virtual QStringList formats() const
Returns a list of formats supported by the object.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVBoxLayout class lines up widgets vertically.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei GLsizei GLenum format
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent