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
QGraphicsTextItemPrivate Class Reference
+ Collaboration diagram for QGraphicsTextItemPrivate:

Public Member Functions

 QGraphicsTextItemPrivate ()
 
QWidgetTextControltextControl () const
 
QPointF controlOffset () const
 
void sendControlEvent (QEvent *e)
 
void _q_updateBoundingRect (const QSizeF &)
 
void _q_update (QRectF)
 
void _q_ensureVisible (QRectF)
 
bool _q_mouseOnEdge (QGraphicsSceneMouseEvent *)
 

Public Attributes

QWidgetTextControlcontrol
 
QRectF boundingRect
 
int pageNumber
 
bool useDefaultImpl
 
bool tabChangesFocus
 
uint clickCausedFocus: 1
 
QGraphicsTextItemqq
 

Detailed Description

Definition at line 9653 of file qgraphicsitem.cpp.

Constructor & Destructor Documentation

◆ QGraphicsTextItemPrivate()

QGraphicsTextItemPrivate::QGraphicsTextItemPrivate ( )
inline

Definition at line 9656 of file qgraphicsitem.cpp.

Member Function Documentation

◆ _q_ensureVisible()

void QGraphicsTextItemPrivate::_q_ensureVisible ( QRectF rect)

Definition at line 10291 of file qgraphicsitem.cpp.

References controlOffset(), QGraphicsItem::ensureVisible(), QGraphicsItem::hasFocus(), qq, and rect.

+ Here is the call graph for this function:

◆ _q_mouseOnEdge()

bool QGraphicsTextItemPrivate::_q_mouseOnEdge ( QGraphicsSceneMouseEvent * event)

Definition at line 10332 of file qgraphicsitem.cpp.

References QRectF::adjusted(), QGraphicsTextItem::boundingRect(), control, QWidgetTextControl::document(), QTextFrame::frameFormat(), qq, and QTextDocument::rootFrame().

Referenced by QGraphicsTextItem::mousePressEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_update()

void QGraphicsTextItemPrivate::_q_update ( QRectF rect)

Definition at line 10265 of file qgraphicsitem.cpp.

References boundingRect, controlOffset(), qq, rect, and QGraphicsItem::update().

+ Here is the call graph for this function:

◆ _q_updateBoundingRect()

void QGraphicsTextItemPrivate::_q_updateBoundingRect ( const QSizeF & size)

Definition at line 10279 of file qgraphicsitem.cpp.

References boundingRect, QGraphicsItem::prepareGeometryChange(), qq, QRectF::setSize(), QRectF::size(), and QGraphicsItem::update().

Referenced by QGraphicsTextItem::setDocument().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ controlOffset()

QPointF QGraphicsTextItemPrivate::controlOffset ( ) const
inline

Definition at line 9663 of file qgraphicsitem.cpp.

References control, QWidgetTextControl::document(), QSizeF::height(), pageNumber, and QTextDocument::pageSize.

Referenced by _q_ensureVisible(), _q_update(), QGraphicsTextItem::inputMethodQuery(), QGraphicsTextItem::paint(), and sendControlEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sendControlEvent()

◆ textControl()

Member Data Documentation

◆ boundingRect

◆ clickCausedFocus

uint QGraphicsTextItemPrivate::clickCausedFocus

◆ control

◆ pageNumber

int QGraphicsTextItemPrivate::pageNumber

Definition at line 9674 of file qgraphicsitem.cpp.

Referenced by controlOffset().

◆ qq

◆ tabChangesFocus

bool QGraphicsTextItemPrivate::tabChangesFocus

◆ useDefaultImpl


The documentation for this class was generated from the following file: