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
9
class
TextEdit
:
public
QTextEdit
10
{
11
Q_OBJECT
12
13
public
:
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
QMimeData
\inmodule QtCore
Definition
qmimedata.h:16
QTextEdit
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
Definition
qtextedit.h:27
QWidget
The QWidget class is the base class of all user interface objects.
Definition
qwidget.h:99
TextEdit
Definition
textedit.h:10
TextEdit::insertFromMimeData
void insertFromMimeData(const QMimeData *source) override
[0]
Definition
textedit.cpp:23
TextEdit::TextEdit
TextEdit(QWidget *parent=nullptr)
Definition
textedit.cpp:7
TextEdit::canInsertFromMimeData
bool canInsertFromMimeData(const QMimeData *source) const override
[0]
Definition
textedit.cpp:13
source
GLsizei GLsizei GLchar * source
Definition
qopengles2ext.h:952
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
qtbase
src
gui
doc
snippets
textdocument-imagedrop
textedit.h
Generated by
1.10.0