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

The QTableWidgetSelectionRange class provides a way to interact with selection in a model without using model indexes and a selection model. More...

Inheritance diagram for QtGui.QTableWidgetSelectionRange:
Collaboration diagram for QtGui.QTableWidgetSelectionRange:

Public Member Functions

 QTableWidgetSelectionRange ()
 
 
 QTableWidgetSelectionRange (QTableWidgetSelectionRange other)
 
 
 QTableWidgetSelectionRange (int top, int left, int bottom, int right)
 
 
virtual void CreateProxy ()
 
new int BottomRow ()
 
 
new int ColumnCount ()
 
 
new int LeftColumn ()
 
 
new int RightColumn ()
 
 
new int RowCount ()
 
 
new int TopRow ()
 
 
new void Dispose ()
 

Protected Member Functions

 QTableWidgetSelectionRange (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QTableWidgetSelectionRange class provides a way to interact with selection in a model without using model indexes and a selection model.

The QTableWidgetSelectionRange class stores the top left and bottom right rows and columns of a selection range in a table. The selections in the table may consist of several selection ranges.

Note: If the item within the selection range is marked as not selectable, e.g., itemFlags() & Qt::ItemIsSelectable == 0 then it will not appear in the selection range.

See also QTableWidget.

Constructor & Destructor Documentation

QtGui.QTableWidgetSelectionRange.QTableWidgetSelectionRange ( System.Type  dummy)
protected
QtGui.QTableWidgetSelectionRange.QTableWidgetSelectionRange ( )

Constructs an table selection range, i.e. a range whose rowCount() and columnCount() are 0.

QtGui.QTableWidgetSelectionRange.QTableWidgetSelectionRange ( QTableWidgetSelectionRange  other)

Constructs a the table selection range by copying the given other table selection range.

QtGui.QTableWidgetSelectionRange.QTableWidgetSelectionRange ( int  top,
int  left,
int  bottom,
int  right 
)

Constructs the table selection range from the given top, left, bottom and right table rows and columns.

See also topRow(), leftColumn(), bottomRow(), and rightColumn().

Member Function Documentation

new int QtGui.QTableWidgetSelectionRange.BottomRow ( )

Returns the bottom row of the range.

See also topRow(), rightColumn(), and rowCount().

new int QtGui.QTableWidgetSelectionRange.ColumnCount ( )

Returns the number of columns in the range.

This is equivalent to rightColumn() - leftColumn() + 1.

This function was introduced in Qt 4.1.

See also rowCount(), leftColumn(), and rightColumn().

virtual void QtGui.QTableWidgetSelectionRange.CreateProxy ( )
virtual
new void QtGui.QTableWidgetSelectionRange.Dispose ( )
new int QtGui.QTableWidgetSelectionRange.LeftColumn ( )

Returns the left column of the range.

See also rightColumn(), topRow(), and columnCount().

new int QtGui.QTableWidgetSelectionRange.RightColumn ( )

Returns the right column of the range.

See also leftColumn(), bottomRow(), and columnCount().

new int QtGui.QTableWidgetSelectionRange.RowCount ( )

Returns the number of rows in the range.

This is equivalent to bottomRow() - topRow() + 1.

This function was introduced in Qt 4.1.

See also columnCount(), topRow(), and bottomRow().

new int QtGui.QTableWidgetSelectionRange.TopRow ( )

Returns the top row of the range.

See also bottomRow(), leftColumn(), and rowCount().

Member Data Documentation

SmokeInvocation QtGui.QTableWidgetSelectionRange.interceptor
protected

Property Documentation

virtual System.IntPtr QtGui.QTableWidgetSelectionRange.SmokeObject
getset