IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

FormValidationMessageRequest QML Type

A request for showing a HTML5 form validation message to the user.

This type was introduced in QtWebEngine 1.4.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

FormValidationMessageRequest QML Type

  • Import Statement: import QtWebEngine 1.8

  • Since: QtWebEngine 1.4

Detailed Description

No longer used since 5.11, as Blink now renders Validation messages internally.

Property Documentation

 

accepted : bool

Indicates whether the form validation request has been accepted by the signal handler.

If the property is false after any signal handlers for WebEngineView::validationMessageRequested have been executed, a default file validation message will be shown. To prevent this, set request.accepted to true.

The default is false.

[read-only] anchor : rectangle

An anchor of an element in the viewport for which the form validation message should be displayed.

[read-only] subText : bool

The subtext of the form validation message.

[read-only] text : bool

The text of the form validation message.

[read-only] type : enumeration

The type of the form validation message request.

Constant

Description

ValidationMessageRequest.Show

The form validation message should be shown.

ValidationMessageRequest.Hide

The form validation message should be hidden.

ValidationMessageRequest.Move

The form validation message should be moved.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+