Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtGui.QAbstractTextDocumentLayout.Selection Class Reference

The QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection. More...

Inheritance diagram for QtGui.QAbstractTextDocumentLayout.Selection:
Collaboration diagram for QtGui.QAbstractTextDocumentLayout.Selection:

Public Member Functions

 Selection ()
 
 Selection (QAbstractTextDocumentLayout.Selection copy)
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Protected Member Functions

 Selection (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 
new QTextCursor Cursor [get, set]
 
 
new QTextCharFormat Format [get, set]
 
 

Detailed Description

The QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection.

A selection can be used to specify a part of a document that should be highlighted when drawing custom layouts for QTextDocuments with the QAbstractTextDocumentLayout::draw() function. It is specified using cursor and a format.

See also QAbstractTextDocumentLayout and PaintContext.

Constructor & Destructor Documentation

QtGui.QAbstractTextDocumentLayout.Selection.Selection ( System.Type  dummy)
protected
QtGui.QAbstractTextDocumentLayout.Selection.Selection ( )
QtGui.QAbstractTextDocumentLayout.Selection.Selection ( QAbstractTextDocumentLayout.Selection  copy)

Member Function Documentation

virtual void QtGui.QAbstractTextDocumentLayout.Selection.CreateProxy ( )
virtual
new void QtGui.QAbstractTextDocumentLayout.Selection.Dispose ( )

Member Data Documentation

SmokeInvocation QtGui.QAbstractTextDocumentLayout.Selection.interceptor
protected

Property Documentation

new QTextCursor QtGui.QAbstractTextDocumentLayout.Selection.Cursor
getset

This variable holds the selection's cursor.

The default value is a null cursor.

new QTextCharFormat QtGui.QAbstractTextDocumentLayout.Selection.Format
getset

This variable holds the format of the selection.

The default value is QTextFormat::InvalidFormat.

virtual System.IntPtr QtGui.QAbstractTextDocumentLayout.Selection.SmokeObject
getset