![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qlabel_p.h>
Friends | |
class | QMessageBoxPrivate |
Additional Inherited Members | |
Public Types inherited from QWidgetPrivate | |
enum | DrawWidgetFlag { DrawAsRoot = 0x01 , DrawPaintOnScreen = 0x02 , DrawRecursive = 0x04 , DrawInvisible = 0x08 , DontSubtractOpaqueChildren = 0x10 , DontDrawOpaqueChildren = 0x20 , DontDrawNativeChildren = 0x40 , DontSetCompositionMode = 0x80 , UseEffectRegionBounds = 0x100 } |
enum | Direction { DirectionNorth = 0x01 , DirectionEast = 0x10 , DirectionSouth = 0x02 , DirectionWest = 0x20 } |
enum class | WindowHandleMode { Direct , Closest , TopLevel } |
enum | CloseMode { CloseNoEvent , CloseWithEvent , CloseWithSpontaneousEvent } |
enum class | FocusDirection { Previous , Next } |
enum class | FocusChainRemovalRule { EnsureFocusOut = 0x01 , AssertConsistency = 0x02 } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions inherited from QWidgetPrivate | |
static QWidgetPrivate * | get (QWidget *w) |
static const QWidgetPrivate * | get (const QWidget *w) |
static void | checkRestoredGeometry (const QRect &availableGeometry, QRect *restoredGeometry, int frameHeight) |
static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=nullptr) |
static QWidget * | parentGraphicsView (const QWidget *widget) |
static QRect | screenGeometry (const QWidget *widget) |
static QRect | availableScreenGeometry (const QWidget *widget) |
static QScreen * | screen (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | screenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | availableScreenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static void | sendComposeStatus (QWidget *w, bool end) |
static void | setWidgetParentHelper (QObject *widgetAsObject, QObject *newParent) |
static bool | insertIntoFocusChain (const QWidgetList &toBeInserted, FocusDirection direction, QWidget *position) |
static QWidgetList | takeFromFocusChain (QWidget *from, QWidget *to, FocusDirection direction=FocusDirection::Next) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1, typename Func2> | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1, typename Func2> | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Static Public Attributes inherited from QWidgetPrivate | |
static QWidgetMapper * | mapper = nullptr |
static QWidgetSet * | allWidgets = nullptr |
static int | instanceCounter = 0 |
static int | maxInstances = 0 |
Definition at line 43 of file qlabel_p.h.
QLabelPrivate::QLabelPrivate | ( | ) |
Definition at line 28 of file qlabel.cpp.
QLabelPrivate::~QLabelPrivate | ( | ) |
Definition at line 44 of file qlabel.cpp.
void QLabelPrivate::buddyDeleted | ( | ) |
Definition at line 1203 of file qlabel.cpp.
void QLabelPrivate::clearContents | ( | ) |
Clears any contents, without updating/repainting the label.
Definition at line 1281 of file qlabel.cpp.
Definition at line 1629 of file qlabel.cpp.
QRect QLabelPrivate::documentRect | ( | ) | const |
Definition at line 1450 of file qlabel.cpp.
void QLabelPrivate::ensureTextControl | ( | ) | const |
Definition at line 1544 of file qlabel.cpp.
void QLabelPrivate::ensureTextLayouted | ( | ) | const |
Definition at line 1518 of file qlabel.cpp.
void QLabelPrivate::ensureTextPopulated | ( | ) | const |
Definition at line 1474 of file qlabel.cpp.
void QLabelPrivate::init | ( | ) |
Definition at line 199 of file qlabel.cpp.
Definition at line 1622 of file qlabel.cpp.
QRectF QLabelPrivate::layoutRect | ( | ) | const |
Definition at line 1605 of file qlabel.cpp.
Definition at line 1580 of file qlabel.cpp.
|
inline |
Definition at line 63 of file qlabel_p.h.
Definition at line 1570 of file qlabel.cpp.
QSize QLabelPrivate::sizeForWidth | ( | int | w | ) | const |
Returns the size that will be used if the width of the label is w.
If w is -1, the sizeHint() is returned. If w is 0 minimumSizeHint() is returned
Definition at line 524 of file qlabel.cpp.
Qt::LayoutDirection QLabelPrivate::textDirection | ( | ) | const |
Definition at line 1438 of file qlabel.cpp.
void QLabelPrivate::updateLabel | ( | ) |
Updates the label, but not the frame.
Definition at line 1099 of file qlabel.cpp.
void QLabelPrivate::updateShortcut | ( | ) |
Definition at line 1186 of file qlabel.cpp.
|
friend |
Definition at line 128 of file qlabel_p.h.
int QLabelPrivate::align = Qt::AlignLeft | Qt::AlignVCenter | Qt::TextExpandTabs |
Definition at line 112 of file qlabel_p.h.
Definition at line 104 of file qlabel_p.h.
|
mutable |
Definition at line 98 of file qlabel_p.h.
QCursor QLabelPrivate::cursor |
Definition at line 101 of file qlabel_p.h.
Qt::TextFormat QLabelPrivate::effectiveTextFormat = Qt::PlainText |
Definition at line 108 of file qlabel_p.h.
|
mutable |
Definition at line 119 of file qlabel_p.h.
std::optional<QIcon> QLabelPrivate::icon |
Definition at line 89 of file qlabel_p.h.
int QLabelPrivate::indent = -1 |
Definition at line 113 of file qlabel_p.h.
|
mutable |
Definition at line 118 of file qlabel_p.h.
int QLabelPrivate::margin = 0 |
Definition at line 111 of file qlabel_p.h.
|
mutable |
Definition at line 87 of file qlabel_p.h.
uint QLabelPrivate::onAnchor |
Definition at line 122 of file qlabel_p.h.
uint QLabelPrivate::openExternalLinks |
Definition at line 124 of file qlabel_p.h.
std::optional<QPicture> QLabelPrivate::picture |
Definition at line 92 of file qlabel_p.h.
QSize QLabelPrivate::pixmapSize |
Definition at line 90 of file qlabel_p.h.
QTextDocument::ResourceProvider QLabelPrivate::resourceProvider = nullptr |
Definition at line 126 of file qlabel_p.h.
uint QLabelPrivate::scaledcontents |
Definition at line 115 of file qlabel_p.h.
|
mutable |
Definition at line 86 of file qlabel_p.h.
|
mutable |
Definition at line 99 of file qlabel_p.h.
int QLabelPrivate::shortcutId = 0 |
Definition at line 105 of file qlabel_p.h.
|
mutable |
Definition at line 110 of file qlabel_p.h.
QString QLabelPrivate::text |
Definition at line 88 of file qlabel_p.h.
|
mutable |
Definition at line 117 of file qlabel_p.h.
Qt::TextFormat QLabelPrivate::textformat = Qt::AutoText |
Definition at line 107 of file qlabel_p.h.
Qt::TextInteractionFlags QLabelPrivate::textInteractionFlags = Qt::LinksAccessibleByMouse |
Definition at line 109 of file qlabel_p.h.
|
mutable |
Definition at line 116 of file qlabel_p.h.
|
mutable |
Definition at line 114 of file qlabel_p.h.
uint QLabelPrivate::validCursor |
Definition at line 121 of file qlabel_p.h.