![]() |
Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions | ![]() |
The QDesignerFormWindowCursorInterface class provides an interface to the form window's text cursor. More...
#include <QDesignerFormWindowCursorInterface>
Part of the QtDesigner module.
The QDesignerFormWindowCursorInterface class provides an interface to the form window's text cursor.
This enum describes the different modes that are used when the text cursor moves.
Constant | Value | Description |
---|---|---|
QDesignerFormWindowCursorInterface::MoveAnchor | 0 | The anchor moves with the cursor to its new location. |
QDesignerFormWindowCursorInterface::KeepAnchor | 1 | The anchor remains at the cursor's old location. |
This enum describes the types of text cursor operation that can occur in a form window.
Constant | Value | Description |
---|---|---|
QDesignerFormWindowCursorInterface::NoMove | 0 | The cursor does not move. |
QDesignerFormWindowCursorInterface::Start | 1 | Moves the cursor to the start of the focus chain. |
QDesignerFormWindowCursorInterface::End | 2 | Moves the cursor to the end of the focus chain. |
QDesignerFormWindowCursorInterface::Next | 3 | Moves the cursor to the next widget in the focus chain. |
QDesignerFormWindowCursorInterface::Prev | 4 | Moves the cursor to the previous widget in the focus chain. |
QDesignerFormWindowCursorInterface::Left | 5 | The cursor moves to the left. |
QDesignerFormWindowCursorInterface::Right | 6 | The cursor moves to the right. |
QDesignerFormWindowCursorInterface::Up | 7 | The cursor moves upwards. |
QDesignerFormWindowCursorInterface::Down | 8 | The cursor moves downwards. |
Destroys the cursor interface.
Returns the current widget in the form.
See also selectedWidget().
Returns the interface to the form window associated with this interface.
Returns true if the form window contains a selection; otherwise returns false.
Returns true if the specified widget is selected; otherwise returns false.
Performs the given operation on the cursor using the specified mode, and returns true if it completed successfully; otherwise returns false.
Returns the cursor position.
See also setPosition().
Resets the property with the given name in the specified widget to its default value.
See also setProperty().
Returns the widget with the given index in the list of selected widgets.
See also widget().
Returns the number of selected widgets in the form window.
Sets the position of the cursor to the given position using the mode to specify how it is moved there.
See also position().
Sets the property with the given name in the current widget to the specified value.
See also setWidgetProperty() and resetWidgetProperty().
Sets the property with the given name in the widget to the specified value.
See also resetWidgetProperty() and setProperty().
Returns the widget with the given index in the list of widgets on the form.
See also selectedWidget().
Returns the number of widgets in the form window.
Copyright © 2005 Trolltech | Trademarks | Qt 4.0.0 |