QDesignerFormWindowCursorInterface Class Reference |
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 currently selected widget in the form window.
See also selectedWidget().
Returns the form window interface associated with this cursor 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.
See also position() and setPosition().
Returns the cursor position.
See also setPosition() and movePosition().
Resets the property with the given name for the specified widget to its default value.
See also setProperty() and setWidgetProperty().
Returns the widget with the given index in the list of selected widgets.
See also current() and widget().
Returns the number of selected widgets in the form window.
See also widgetCount().
Sets the position of the cursor to the given position using the mode to specify how it is moved there.
See also position() and movePosition().
Sets the property with the given name for the currently selected widget to the specified value.
See also setWidgetProperty() and resetWidgetProperty().
Sets the property with the given name for the given widget to the specified value.
See also resetWidgetProperty() and setProperty().
Returns the widget with the given index in the list of widgets in the form window.
See also selectedWidget().
Returns the number of widgets in the form window.
See also selectedWidgetCount().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.3 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com