6#include <QtQml/qqmlinfo.h>
8#include <private/qqmlglobal_p.h>
9#include <private/qquickitem_p.h>
54 x = itemWidth - textWidth;
57 x = (itemWidth - textWidth) / 2;
70 y = itemHeight - textHeight;
73 y = (itemHeight - textHeight) / 2;
81#include "moc_qquicktextutil_p.cpp"
void setParentItem(QGraphicsItem *parent)
Sets this item's parent item to newParent.
QObject * parent() const
Returns a pointer to the parent object.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
The QQmlComponent class encapsulates a QML component definition.
The QQmlContext class defines a context within a QML engine.
static QQuickItemPrivate * get(QQuickItem *item)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
static qreal alignedX(qreal textWidth, qreal itemWidth, int alignment)
static void createCursor(Private *d)
static qreal alignedY(qreal textHeight, qreal itemHeight, int alignment)
\inmodule QtCore\reentrant
constexpr qreal height() const noexcept
Returns the height of the rectangle.
constexpr QPointF topLeft() const noexcept
Returns the position of the rectangle's top-left corner.
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void statusChanged(QDeclarativeComponent::Status status)
[1]
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
static qreal component(const QPointF &point, unsigned int i)
QQmlContext * qmlContext(const QObject *obj)
void QQml_setParent_noEvent(QObject *object, QObject *parent)
Makes the object a child of parent.
Q_QML_EXPORT QQmlInfo qmlWarning(const QObject *me)
QQuickItem * qobject_cast< QQuickItem * >(QObject *o)
const char className[16]
[1]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent