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

QPdfSelection Class

The https:// class defines a range of text that has been selected on one page in a PDF document, and its geometric boundaries.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QPdfSelection Class▲

  • Header: QPdfSelection

Detailed Description▲

 

See Also▲

See also https://()

Property Documentation▲

 

[read-only] boundingRectangle : const QRectF▲

This property holds the overall bounding rectangle (convex hull) around https://.

Access functions:

  • boundingRectangle() const

[read-only] bounds : const QList<QPolygonF>▲

This property holds a set of regions that the selected text occupies on the page, represented as polygons. The coordinate system for the polygons has the origin at the upper-left corner of the page, and the units are https://.

For now, the polygons returned from https://() are always rectangles; but in the future it may be possible to represent more complex regions.

Access functions:

  • <> bounds() const

[read-only] endIndex : const int▲

This property holds the index at the end of https:// within the full text on the page.

Access functions:

  • int endIndex() const

[read-only] startIndex : const int▲

This property holds the index at the beginning of https:// within the full text on the page.

Access functions:

  • int startIndex() const

[read-only] text : const QString▲

This property holds the selected text.

Access functions:

  • text() const

[read-only] valid : const bool▲

This property holds whether the selection is valid.

Access functions:

  • bool isValid() const

Member Function Documentation▲

 

void QPdfSelection::copyToClipboard(QClipboard::Mode mode = QClipboard::Clipboard) const▲

Copies https:// to the system clipboard depending on the mode selected.

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

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.