7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qframe.h>
9#include <QtGui/qpicture.h>
10#include <QtGui/qtextdocument.h>
23 Q_PROPERTY(
Qt::TextFormat textFormat READ textFormat WRITE setTextFormat)
25 Q_PROPERTY(
bool scaledContents READ hasScaledContents WRITE setScaledContents)
27 Q_PROPERTY(
bool wordWrap READ wordWrap WRITE setWordWrap)
30 Q_PROPERTY(
bool openExternalLinks READ openExternalLinks WRITE setOpenExternalLinks)
31 Q_PROPERTY(
Qt::TextInteractionFlags textInteractionFlags READ textInteractionFlags
32 WRITE setTextInteractionFlags)
43#if QT_DEPRECATED_SINCE(6,6)
49#if QT_DEPRECATED_SINCE(6,6)
67 void setWordWrap(
bool on);
68 bool wordWrap()
const;
76 bool hasScaledContents()
const;
77 void setScaledContents(
bool);
78 QSize sizeHint()
const override;
79 QSize minimumSizeHint()
const override;
84 int heightForWidth(
int)
const override;
86 bool openExternalLinks()
const;
87 void setOpenExternalLinks(
bool open);
89 void setTextInteractionFlags(Qt::TextInteractionFlags
flags);
90 Qt::TextInteractionFlags textInteractionFlags()
const;
93 bool hasSelectedText()
const;
95 int selectionStart()
const;
104 void setMovie(
QMovie *movie);
116 void keyPressEvent(
QKeyEvent *ev)
override;
118 void changeEvent(
QEvent *)
override;
122#ifndef QT_NO_CONTEXTMENU
127 bool focusNextPrevChild(
bool next)
override;
The QFocusEvent class contains event parameters for widget focus events.
The QFrame class is the base class of widgets that can have a frame.
The QKeyEvent class describes a key event.
The QLabel widget provides a text or image display.
void linkActivated(const QString &link)
void linkHovered(const QString &link)
The QPaintEvent class contains event parameters for paint events.
The QPicture class is a paint device that records and replays QPainter commands.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\macro QT_RESTRICTED_CAST_FROM_ASCII
std::function< QVariant(const QUrl &)> ResourceProvider
Combined button and popup list for selecting options.
static jboolean setSelection(JNIEnv *, jobject, jint start, jint end)
GLuint GLsizei const GLchar * label
[43]
#define QT_REQUIRE_CONFIG(feature)
label setAlignment(Qt::AlignLeft|Qt::AlignTop)
[0]
file open(QIODevice::ReadOnly)
insertRed setText("insert red text")