42 #ifndef QDECLARATIVETEXTINPUT_P_H 43 #define QDECLARATIVETEXTINPUT_P_H 45 #include "private/qdeclarativetextinput_p.h" 47 #include "private/qdeclarativeimplicitsizeitem_p_p.h" 53 #include <private/qlinecontrol_p.h> 65 #ifndef QT_NO_LINEEDIT 77 hscroll(0), oldScroll(0), oldValidity(false), focused(false), focusOnPress(true),
78 showInputPanelOnFocus(true), clickCausedFocus(false), cursorVisible(false),
79 autoScroll(true), selectByMouse(false), canPaste(false), hAlignImplicit(true),
83 if (QSysInfo::symbianVersion() >= QSysInfo::SV_SF_1) {
84 showInputPanelOnFocus =
false;
97 QRect cr = q->boundingRect().toRect();
99 return control->xToPos(x, betweenOrOn);
103 void startCreatingCursor();
105 void updateHorizontalScroll();
106 bool determineHorizontalAlignment();
109 int calculateTextWidth();
111 void updateInputMethodHints();
154 #endif // QT_NO_LINEEDIT The QColor class provides colors based on RGB, HSV or CMYK values.
#define QT_END_NAMESPACE
This macro expands to.
QDeclarativeTextInput::SelectionMode mouseSelectionMode
The QPointF class defines a point in the plane using floating point precision.
The QGraphicsSceneMouseEvent class provides mouse events in the graphics view framework.
int xToPos(int x, QTextLine::CursorPosition betweenOrOn=QTextLine::CursorBetweenCharacters) const
QDeclarativeTextInput::HAlignment hAlign
QDeclarativeTextInputPrivate()
void init(QDeclarativeItem *parent)
QPointer< QDeclarativeItem > cursorItem
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool showInputPanelOnFocus
virtual void mirrorChange()
virtual void focusChanged(bool)
Qt::InputMethodHints inputMethodHints
#define Q_DECLARE_PUBLIC(Class)
Type
This enum type defines the valid event types in Qt.
The QFont class specifies a font used for drawing text.
int x() const
Returns the x-coordinate of the rectangle's left edge.
The QRect class defines a rectangle in the plane using integer precision.
#define Q_AUTOTEST_EXPORT
~QDeclarativeTextInputPrivate()
QPointer< QDeclarativeComponent > cursorComponent
QDeclarativeText::TextStyle style