![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for src_gui_text_qtextlayout::Wrapper:
Collaboration diagram for src_gui_text_qtextlayout::Wrapper:Public Member Functions | |
| void | wrapper1 () |
| void | elided () |
Public Member Functions inherited from QPaintDevice | |
| virtual | ~QPaintDevice () |
| virtual int | devType () const |
| bool | paintingActive () const |
| virtual QPaintEngine * | paintEngine () const =0 |
| int | width () const |
| int | height () const |
| int | widthMM () const |
| int | heightMM () const |
| int | logicalDpiX () const |
| int | logicalDpiY () const |
| int | physicalDpiX () const |
| int | physicalDpiY () const |
| qreal | devicePixelRatio () const |
| qreal | devicePixelRatioF () const |
| int | colorCount () const |
| int | depth () const |
Additional Inherited Members | |
Public Types inherited from QPaintDevice | |
| enum | PaintDeviceMetric { PdmWidth = 1 , PdmHeight , PdmWidthMM , PdmHeightMM , PdmNumColors , PdmDepth , PdmDpiX , PdmDpiY , PdmPhysicalDpiX , PdmPhysicalDpiY , PdmDevicePixelRatio , PdmDevicePixelRatioScaled } |
Static Public Member Functions inherited from QPaintDevice | |
| static qreal | devicePixelRatioFScale () |
Protected Member Functions inherited from QPaintDevice | |
| QPaintDevice () noexcept | |
| virtual int | metric (PaintDeviceMetric metric) const |
| virtual void | initPainter (QPainter *painter) const |
| virtual QPaintDevice * | redirected (QPoint *offset) const |
| virtual QPainter * | sharedPainter () const |
Protected Attributes inherited from QPaintDevice | |
| ushort | painters |
Definition at line 10 of file src_gui_text_qtextlayout.cpp.
| void src_gui_text_qtextlayout::Wrapper::elided | ( | ) |
[elided]
[elided]
Definition at line 53 of file src_gui_text_qtextlayout.cpp.
References QTextLayout::beginLayout(), QTextLayout::createLine(), QPainter::drawText(), Qt::ElideRight, QTextLayout::endLayout(), QPainter::font(), QPainter::fontMetrics(), fontMetrics, QPaintDevice::height(), line, QString::mid(), painter, src_gui_text_qtextlayout::textLayout, and QPaintDevice::width().
Here is the call graph for this function:| void src_gui_text_qtextlayout::Wrapper::wrapper1 | ( | ) |
[1]
[1]
Definition at line 44 of file src_gui_text_qtextlayout.cpp.
References QTextLayout::draw(), painter, and src_gui_text_qtextlayout::textLayout.
Here is the call graph for this function: