![]() |
Qt 4.8
|
#include <qdeclarativetextinput_p_p.h>
Public Functions | |
| int | calculateTextWidth () |
| bool | determineHorizontalAlignment () |
| void | focusChanged (bool hasFocus) |
| void | init () |
| void | mirrorChange () |
| QDeclarativeTextInputPrivate () | |
| bool | sendMouseEventToInputContext (QGraphicsSceneMouseEvent *event, QEvent::Type eventType) |
| bool | setHAlign (QDeclarativeTextInput::HAlignment, bool forceAlign=false) |
| void | startCreatingCursor () |
| void | updateHorizontalScroll () |
| void | updateInputMethodHints () |
| This handler is called when the Return or Enter key is pressed. More... | |
| int | xToPos (int x, QTextLine::CursorPosition betweenOrOn=QTextLine::CursorBetweenCharacters) const |
| ~QDeclarativeTextInputPrivate () | |
Public Functions inherited from QDeclarativeImplicitSizePaintedItemPrivate | |
| virtual void | implicitHeightChanged () |
| virtual void | implicitWidthChanged () |
| QDeclarativeImplicitSizePaintedItemPrivate () | |
Public Functions inherited from QDeclarativePaintedItemPrivate | |
| QDeclarativePaintedItemPrivate () | |
Public Functions inherited from QDeclarativeItemPrivate | |
| QDeclarativeStateGroup * | _states () |
| void | addItemChangeListener (QDeclarativeItemChangeListener *listener, ChangeTypes types) |
| AnchorLines * | anchorLines () const |
| QDeclarativeAnchors * | anchors () |
| QDeclarativeAnchorLine | baseline () const |
| QDeclarativeAnchorLine | bottom () const |
| QPointF | computeTransformOrigin () const |
| QDeclarativeListProperty< QObject > | data () |
| virtual void | focusScopeItemChange (bool isSubFocusItem) |
| Subclasses can reimplement this function to be notified when an item becomes a focusScopeItem (or is no longer a focusScopeItem). More... | |
| qreal | height () const |
| QDeclarativeAnchorLine | horizontalCenter () const |
| virtual qreal | implicitHeight () const |
| virtual qreal | implicitWidth () const |
| void | init (QDeclarativeItem *parent) |
| bool | isMirrored () const |
| QDeclarativeAnchorLine | left () const |
| QDeclarativeItemPrivate () | |
| void | removeItemChangeListener (QDeclarativeItemChangeListener *, ChangeTypes types) |
| void | resetHeight () |
| void | resetWidth () |
| void | resolveLayoutMirror () |
| QDeclarativeListProperty< QObject > | resources () |
| QDeclarativeAnchorLine | right () const |
| void | setHeight (qreal) |
| void | setImplicitLayoutMirror (bool mirror, bool inherit) |
| void | setLayoutMirror (bool mirror) |
| virtual void | setPosHelper (const QPointF &pos) |
| Sets the position pos. More... | |
| void | setState (const QString &) |
| void | setWidth (qreal) |
| virtual void | siblingOrderChange () |
| Subclasses can reimplement this function to be notified when its siblingIndex order is changed. More... | |
| QString | state () const |
| QDeclarativeListProperty< QDeclarativeState > | states () |
| QDeclarativeAnchorLine | top () const |
| virtual void | transformChanged () |
| QDeclarativeListProperty< QDeclarativeTransition > | transitions () |
| QDeclarativeAnchorLine | verticalCenter () const |
| qreal | width () const |
Public Functions inherited from QGraphicsItemPrivate | |
| void | addChild (QGraphicsItem *child) |
| QGraphicsScenePrivate::registerTopLevelItem(). More... | |
| void | appendGraphicsTransform (QGraphicsTransform *t) |
| qreal | calcEffectiveOpacity () const |
| void | childrenBoundingRectHelper (QTransform *x, QRectF *rect, QGraphicsItem *topMostEffectItem) |
| Returns the bounding rect of this item's children (excluding itself). More... | |
| bool | childrenClippedToShape () const |
| bool | childrenCombineOpacity () const |
| QDeclarativeListProperty< QGraphicsObject > | childrenList () |
| Returns a list of this item's children. More... | |
| void | clearFocusHelper (bool giveFocusToParent) |
| void | clearSubFocus (QGraphicsItem *rootItem=0, QGraphicsItem *stopItem=0) |
| qreal | combineOpacityFromParent (qreal parentOpacity) const |
| void | combineTransformFromParent (QTransform *x, const QTransform *viewTransform=0) const |
| Combines this item's position and transform onto transform. More... | |
| void | combineTransformToParent (QTransform *x, const QTransform *viewTransform=0) const |
| Combines this item's position and transform onto transform. More... | |
| int | depth () const |
| bool | discardUpdateRequest (bool ignoreVisibleBit=false, bool ignoreDirtyBit=false, bool ignoreOpacity=false) const |
| Returns true if we can discard an update request; otherwise false. More... | |
| QRectF | effectiveBoundingRect (QGraphicsItem *topMostEffectItem=0) const |
| Returns the effective bounding rect of the item. More... | |
| QRectF | effectiveBoundingRect (const QRectF &rect) const |
| Returns the effective bounding rect of the given item space rect. More... | |
| qreal | effectiveOpacity () const |
| void | ensureSceneTransform () |
| void | ensureSceneTransformRecursive (QGraphicsItem **topMostDirtyItem) |
| void | ensureSequentialSiblingIndex () |
| Ensures that the list of children is sorted by insertion order, and that the siblingIndexes are packed (no gaps), and start at 0. More... | |
| void | ensureSortedChildren () |
| QVariant | extra (Extra type) const |
| QGraphicsItemCache * | extraItemCache () const |
| QPointF | genericMapFromScene (const QPointF &pos, const QWidget *viewport) const |
| Maps the point pos from scene to item coordinates. More... | |
| bool | hasTranslateOnlySceneTransform () |
| void | initStyleOption (QStyleOptionGraphicsItem *option, const QTransform &worldTransform, const QRegion &exposedRegion, bool allItems=false) const |
| virtual QVariant | inputMethodQueryHelper (Qt::InputMethodQuery query) const |
| This helper function helped us add input method query support in Qt 4. More... | |
| void | invalidateChildGraphicsEffectsRecursively (InvalidateReason reason) |
| void | invalidateChildrenSceneTransform () |
| void | invalidateDepthRecursively () |
| void | invalidateParentGraphicsEffectsRecursively () |
| bool | isFullyTransparent () const |
| bool | isInvisible () const |
| bool | isOpacityNull () const |
| virtual bool | isProxyWidget () const |
| bool | itemIsUntransformable () const |
| void | markParentDirty (bool updateBoundingRect=false) |
| QGraphicsItemCache * | maybeExtraItemCache () const |
| void | prependGraphicsTransform (QGraphicsTransform *t) |
| QGraphicsItemPrivate () | |
| void | remapItemPos (QEvent *event, QGraphicsItem *item) |
| Maps any item pos properties of event to item's coordinate system. More... | |
| void | removeChild (QGraphicsItem *child) |
| QGraphicsScenePrivate::unregisterTopLevelItem(). More... | |
| void | removeExtraItemCache () |
| void | resetFocusProxy () |
| Sets the focusProxy pointer to 0 for all items that have this item as their focusProxy. More... | |
| void | resolveDepth () |
| Resolves the stacking depth of this object and all its ancestors. More... | |
| virtual void | resolveFont (uint inheritedMask) |
| virtual void | resolvePalette (uint inheritedMask) |
| QRectF | sceneEffectiveBoundingRect () const |
| Returns the effective bounding rect of this item in scene coordinates, by combining sceneTransform() with boundingRect(), taking into account the effect that the item might have. More... | |
| void | sendScenePosChange () |
| void | setEnabledHelper (bool newEnabled, bool explicitly, bool update=true) |
| Sets this item's visibility to newEnabled. More... | |
| void | setExtra (Extra type, const QVariant &value) |
| void | setFocusHelper (Qt::FocusReason focusReason, bool climb, bool focusFromHide) |
| void | setIsMemberOfGroup (bool enabled) |
| Propagates item group membership. More... | |
| void | setParentItemHelper (QGraphicsItem *parent, const QVariant *newParentVariant, const QVariant *thisPointerVariant) |
| Make sure not to trigger any pure virtual function calls (e. More... | |
| void | setSubFocus (QGraphicsItem *rootItem=0, QGraphicsItem *stopItem=0) |
| void | setTransformHelper (const QTransform &transform) |
| Sets the transform transform. More... | |
| void | setVisibleHelper (bool newVisible, bool explicitly, bool update=true) |
| Sets this item's visibility to newVisible. More... | |
| virtual void | subFocusItemChange () |
| Subclasses can reimplement this function to be notified when subFocusItem changes. More... | |
| QTransform | transformToParent () const |
| void | unsetExtra (Extra type) |
| void | updateAncestorFlag (QGraphicsItem::GraphicsItemFlag childFlag, AncestorFlag flag=NoFlag, bool enabled=false, bool root=true) |
| Propagates the ancestor flag flag with value enabled to all this item's children. More... | |
| void | updateAncestorFlags () |
| void | updateChildWithGraphicsEffectFlagRecursively () |
| void | updatePaintedViewBoundingRects (bool updateChildren) |
| virtual void | updateSceneTransformFromParent () |
| virtual | ~QGraphicsItemPrivate () |
Additional Inherited Members | |
Public Types inherited from QDeclarativeItemPrivate | |
| enum | ChangeType { Geometry = 0x01, SiblingOrder = 0x02, Visibility = 0x04, Opacity = 0x08, Destroyed = 0x10 } |
Public Types inherited from QGraphicsItemPrivate | |
| enum | AncestorFlag { NoFlag = 0, AncestorHandlesChildEvents = 0x1, AncestorClipsChildren = 0x2, AncestorIgnoresTransformations = 0x4, AncestorFiltersChildEvents = 0x8 } |
| enum | Extra { ExtraToolTip, ExtraCursor, ExtraCacheData, ExtraMaxDeviceCoordCacheSize, ExtraBoundingRegionGranularity } |
| enum | InvalidateReason { OpacityChanged } |
Static Public Variables inherited from QDeclarativeItemPrivate | |
| static qint64 | consistentTime = -1 |
Definition at line 69 of file qdeclarativetextinput_p_p.h.
|
inline |
Definition at line 73 of file qdeclarativetextinput_p_p.h.
|
inline |
Definition at line 90 of file qdeclarativetextinput_p_p.h.
| int QDeclarativeTextInputPrivate::calculateTextWidth | ( | ) |
Definition at line 1421 of file qdeclarativetextinput.cpp.
| bool QDeclarativeTextInputPrivate::determineHorizontalAlignment | ( | ) |
Definition at line 455 of file qdeclarativetextinput.cpp.
|
virtual |
Reimplemented from QDeclarativeItemPrivate.
Definition at line 1180 of file qdeclarativetextinput.cpp.
|
inlinestatic |
Definition at line 147 of file qdeclarativetextinput_p_p.h.
| void QDeclarativeTextInputPrivate::init | ( | ) |
Definition at line 2042 of file qdeclarativetextinput.cpp.
|
virtual |
Reimplemented from QDeclarativeItemPrivate.
Definition at line 470 of file qdeclarativetextinput.cpp.
| bool QDeclarativeTextInputPrivate::sendMouseEventToInputContext | ( | QGraphicsSceneMouseEvent * | event, |
| QEvent::Type | eventType | ||
| ) |
Definition at line 1330 of file qdeclarativetextinput.cpp.
| bool QDeclarativeTextInputPrivate::setHAlign | ( | QDeclarativeTextInput::HAlignment | alignment, |
| bool | forceAlign = false |
||
| ) |
Definition at line 444 of file qdeclarativetextinput.cpp.
| void QDeclarativeTextInputPrivate::startCreatingCursor | ( | ) |
Definition at line 1078 of file qdeclarativetextinput.cpp.
| void QDeclarativeTextInputPrivate::updateHorizontalScroll | ( | ) |
Definition at line 1426 of file qdeclarativetextinput.cpp.
| void QDeclarativeTextInputPrivate::updateInputMethodHints | ( | ) |
This handler is called when the Return or Enter key is pressed.
TextInput::onAccepted()
Note that if there is a validator or inputMask set on the text input, the handler will only be emitted if the input is in an acceptable state.
Definition at line 978 of file qdeclarativetextinput.cpp.
|
inline |
Definition at line 94 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::autoScroll |
Definition at line 141 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::canPaste |
Definition at line 143 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::clickCausedFocus |
Definition at line 139 of file qdeclarativetextinput_p_p.h.
| QColor QDeclarativeTextInputPrivate::color |
Definition at line 117 of file qdeclarativetextinput_p_p.h.
| QLineControl* QDeclarativeTextInputPrivate::control |
Definition at line 113 of file qdeclarativetextinput_p_p.h.
| QPointer<QDeclarativeComponent> QDeclarativeTextInputPrivate::cursorComponent |
Definition at line 125 of file qdeclarativetextinput_p_p.h.
| QPointer<QDeclarativeItem> QDeclarativeTextInputPrivate::cursorItem |
Definition at line 126 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::cursorVisible |
Definition at line 140 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::focused |
Definition at line 136 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::focusOnPress |
Definition at line 137 of file qdeclarativetextinput_p_p.h.
| QFont QDeclarativeTextInputPrivate::font |
Definition at line 115 of file qdeclarativetextinput_p_p.h.
| QDeclarativeTextInput::HAlignment QDeclarativeTextInputPrivate::hAlign |
Definition at line 122 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::hAlignImplicit |
Definition at line 144 of file qdeclarativetextinput_p_p.h.
| int QDeclarativeTextInputPrivate::hscroll |
Definition at line 133 of file qdeclarativetextinput_p_p.h.
| Qt::InputMethodHints QDeclarativeTextInputPrivate::inputMethodHints |
Definition at line 124 of file qdeclarativetextinput_p_p.h.
| int QDeclarativeTextInputPrivate::lastSelectionEnd |
Definition at line 130 of file qdeclarativetextinput_p_p.h.
| int QDeclarativeTextInputPrivate::lastSelectionStart |
Definition at line 129 of file qdeclarativetextinput_p_p.h.
| QDeclarativeTextInput::SelectionMode QDeclarativeTextInputPrivate::mouseSelectionMode |
Definition at line 123 of file qdeclarativetextinput_p_p.h.
| int QDeclarativeTextInputPrivate::oldHeight |
Definition at line 131 of file qdeclarativetextinput_p_p.h.
| int QDeclarativeTextInputPrivate::oldScroll |
Definition at line 134 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::oldValidity |
Definition at line 135 of file qdeclarativetextinput_p_p.h.
| int QDeclarativeTextInputPrivate::oldWidth |
Definition at line 132 of file qdeclarativetextinput_p_p.h.
| QPointF QDeclarativeTextInputPrivate::pressPos |
Definition at line 127 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::selectByMouse |
Definition at line 142 of file qdeclarativetextinput_p_p.h.
| QColor QDeclarativeTextInputPrivate::selectedTextColor |
Definition at line 119 of file qdeclarativetextinput_p_p.h.
| QColor QDeclarativeTextInputPrivate::selectionColor |
Definition at line 118 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::selectPressed |
Definition at line 145 of file qdeclarativetextinput_p_p.h.
| bool QDeclarativeTextInputPrivate::showInputPanelOnFocus |
Definition at line 138 of file qdeclarativetextinput_p_p.h.
| QFont QDeclarativeTextInputPrivate::sourceFont |
Definition at line 116 of file qdeclarativetextinput_p_p.h.
| QDeclarativeText::TextStyle QDeclarativeTextInputPrivate::style |
Definition at line 120 of file qdeclarativetextinput_p_p.h.
| QColor QDeclarativeTextInputPrivate::styleColor |
Definition at line 121 of file qdeclarativetextinput_p_p.h.