Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
textedit.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 TEXTEDIT_H
5#define TEXTEDIT_H
6
7#include <QTextEdit>
8
9class TextEdit : public QTextEdit
10{
12
13public:
14 explicit TextEdit(QWidget *parent = nullptr);
15 bool canInsertFromMimeData( const QMimeData *source ) const override;
16 void insertFromMimeData( const QMimeData *source ) override;
17};
18
19#endif
\inmodule QtCore
Definition qmimedata.h:16
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
Definition qtextedit.h:27
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
void insertFromMimeData(const QMimeData *source) override
[0]
Definition textedit.cpp:23
TextEdit(QWidget *parent=nullptr)
Definition textedit.cpp:7
bool canInsertFromMimeData(const QMimeData *source) const override
[0]
Definition textedit.cpp:13
GLsizei GLsizei GLchar * source
#define Q_OBJECT