42 #ifndef SIMPLEWIDGETS_H 43 #define SIMPLEWIDGETS_H 45 #include <QtCore/qcoreapplication.h> 46 #include <QtGui/qaccessible2.h> 47 #include <QtGui/qaccessiblewidget.h> 51 #ifndef QT_NO_ACCESSIBILITY 84 #ifndef QT_NO_TOOLBUTTON 111 bool isSplitButton()
const;
113 #endif // QT_NO_TOOLBUTTON 133 #ifndef QT_NO_GROUPBOX 161 #ifndef QT_NO_LINEEDIT 175 void addSelection(
int startOffset,
int endOffset);
176 QString attributes(
int offset,
int *startOffset,
int *endOffset);
177 int cursorPosition();
179 int selectionCount();
181 void selection(
int selectionIndex,
int *startOffset,
int *endOffset);
184 int *startOffset,
int *endOffset);
186 int *startOffset,
int *endOffset);
188 int *startOffset,
int *endOffset);
189 void removeSelection(
int selectionIndex);
190 void setCursorPosition(
int position);
191 void setSelection(
int selectionIndex,
int startOffset,
int endOffset);
192 int characterCount();
193 void scrollToSubstring(
int startIndex,
int endIndex);
198 #endif // QT_NO_LINEEDIT 200 #ifndef QT_NO_PROGRESSBAR 218 #endif // QT_NO_ACCESSIBILITY 222 #endif // SIMPLEWIDGETS_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
Role
This enum defines the role of an accessible object.
The QAccessibleLineEdit class implements the QAccessibleInterface for widgets with editable text...
static qreal position(QGraphicsObject *item, QDeclarativeAnchorLine::AnchorLine anchorLine)
The QProgressBar widget provides a horizontal or vertical progress bar.
The QString class provides a Unicode character string.
void setText(Text t, int child, const QString &text)
Sets the text property t of the object, or of the object's child if child is not 0, to text.
#define QT_BEGIN_NAMESPACE
This macro expands to.
RelationFlag
This enum type defines bit flags that can be combined to indicate the relationship between two access...
Method
This enum describes the possible types of methods that can be invoked on an accessible object...
The QStringList class provides a list of strings.
The QAccessibleDisplay class implements the QAccessibleInterface for widgets that display information...
#define Q_ACCESSIBLE_OBJECT
The QGroupBox widget provides a group box frame with a title.
The State element defines configurations of objects and properties.
The QAccessibleSimpleEditableTextInterface class is a convenience class for text-based widgets...
The QAccessibleImageInterface class implements support for the IAccessibleImage interface.
The QAccessibleTextInterface class implements support for the IAccessibleText interface.
The QAccessibleInterface class defines an interface that exposes information about accessible objects...
The QAccessibleActionInterface class implements support for the IAccessibleAction interface...
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
void setCurrentValue(const QVariant &)
The QLineEdit widget is a one-line text editor.
The QSize class defines the size of a two-dimensional object using integer point precision.
The QAccessibleValueInterface class implements support for the IAccessibleValue interface.
#define Q_DECLARE_TR_FUNCTIONS(context)
The Q_DECLARE_TR_FUNCTIONS() macro declares and implements two translation functions, tr() and trUtf8(), with these signatures:
The Text item allows you to add formatted text to a scene.