C# Class Qyoto.QAbstractItemModel

Inheritance: QObject
Show file Open project: 0xd34df00d/Qross Class Usage Examples

Public Methods

Method Description
DerefIndexHandle ( object o ) : void
HasIndex ( int row, int column ) : bool
HasIndex ( int row, int column, Qyoto.QModelIndex parent ) : bool
InsertColumn ( int column ) : bool
InsertColumn ( int column, Qyoto.QModelIndex parent ) : bool
InsertRow ( int row ) : bool
InsertRow ( int row, Qyoto.QModelIndex parent ) : bool
Parent ( ) : QObject
QAbstractItemModel ( QObject parent ) : System
RemoveColumn ( int column ) : bool
RemoveColumn ( int column, Qyoto.QModelIndex parent ) : bool
RemoveRow ( int row ) : bool
RemoveRow ( int row, Qyoto.QModelIndex parent ) : bool
SetSupportedDragActions ( uint arg1 ) : void
Sibling ( int row, int column, Qyoto.QModelIndex idx ) : Qyoto.QModelIndex
SupportedDragActions ( ) : uint
Tr ( string s ) : string
Tr ( string s, string c ) : string

Protected Methods

Method Description
BeginInsertColumns ( Qyoto.QModelIndex parent, int first, int last ) : void
BeginInsertRows ( Qyoto.QModelIndex parent, int first, int last ) : void
BeginMoveColumns ( Qyoto.QModelIndex sourceParent, int sourceFirst, int sourceLast, Qyoto.QModelIndex destinationParent, int destinationColumn ) : bool
BeginMoveRows ( Qyoto.QModelIndex sourceParent, int sourceFirst, int sourceLast, Qyoto.QModelIndex destinationParent, int destinationRow ) : bool
BeginRemoveColumns ( Qyoto.QModelIndex parent, int first, int last ) : void
BeginRemoveRows ( Qyoto.QModelIndex parent, int first, int last ) : void
BeginResetModel ( ) : void
ChangePersistentIndex ( Qyoto.QModelIndex from, Qyoto.QModelIndex to ) : void
ChangePersistentIndexList ( List from, List to ) : void
CreateIndex ( int row, int column ) : Qyoto.QModelIndex
CreateIndex ( int row, int column, int id ) : Qyoto.QModelIndex
CreateIndex ( int row, int column, object ptr ) : Qyoto.QModelIndex
CreateIndex ( int row, int column, uint id ) : Qyoto.QModelIndex
CreateProxy ( ) : void
DecodeData ( int row, int column, Qyoto.QModelIndex parent, QDataStream stream ) : bool
EncodeData ( List indexes, QDataStream stream ) : void
EndInsertColumns ( ) : void
EndInsertRows ( ) : void
EndMoveColumns ( ) : void
EndMoveRows ( ) : void
EndRemoveColumns ( ) : void
EndRemoveRows ( ) : void
EndResetModel ( ) : void
PersistentIndexList ( ) : List
QAbstractItemModel ( Type dummy ) : System
Reset ( ) : void

Private Methods

Method Description
AbstractItemModelCreateIndex ( IntPtr obj, int row, int column, IntPtr ptr ) : IntPtr
Buddy ( Qyoto.QModelIndex index ) : Qyoto.QModelIndex
CanFetchMore ( Qyoto.QModelIndex parent ) : bool
ColumnCount ( Qyoto.QModelIndex parent ) : int
Data ( Qyoto.QModelIndex index, int role ) : Qyoto.QVariant
DropMimeData ( Qyoto.QMimeData data, Qt action, int row, int column, Qyoto.QModelIndex parent ) : bool
FetchMore ( Qyoto.QModelIndex parent ) : void
Flags ( Qyoto.QModelIndex index ) : uint
GetIndexHandle ( object o ) : GCHandle
HasChildren ( ) : bool
HasChildren ( Qyoto.QModelIndex parent ) : bool
HeaderData ( int section, Qt orientation ) : Qyoto.QVariant
HeaderData ( int section, Qt orientation, int role ) : Qyoto.QVariant
Index ( int row, int column, Qyoto.QModelIndex parent ) : Qyoto.QModelIndex
InsertColumns ( int column, int count ) : bool
InsertColumns ( int column, int count, Qyoto.QModelIndex parent ) : bool
InsertRows ( int row, int count ) : bool
InsertRows ( int row, int count, Qyoto.QModelIndex parent ) : bool
ItemData ( Qyoto.QModelIndex index ) : QVariant>.Dictionary
Match ( Qyoto.QModelIndex start, int role, Qyoto.QVariant value ) : List
Match ( Qyoto.QModelIndex start, int role, Qyoto.QVariant value, int hits ) : List
Match ( Qyoto.QModelIndex start, int role, Qyoto.QVariant value, int hits, uint flags ) : List
MimeData ( List indexes ) : Qyoto.QMimeData
MimeTypes ( ) : List
Parent ( Qyoto.QModelIndex child ) : Qyoto.QModelIndex
QAbstractItemModel ( ) : System
RemoveColumns ( int column, int count ) : bool
RemoveColumns ( int column, int count, Qyoto.QModelIndex parent ) : bool
RemoveRows ( int row, int count ) : bool
RemoveRows ( int row, int count, Qyoto.QModelIndex parent ) : bool
Revert ( ) : void
RowCount ( Qyoto.QModelIndex parent ) : int
SetData ( Qyoto.QModelIndex index, Qyoto.QVariant value ) : bool
SetData ( Qyoto.QModelIndex index, Qyoto.QVariant value, int role ) : bool
SetHeaderData ( int section, Qt orientation, Qyoto.QVariant value ) : bool
SetHeaderData ( int section, Qt orientation, Qyoto.QVariant value, int role ) : bool
SetItemData ( Qyoto.QModelIndex index, QVariant>.Dictionary roles ) : bool
Sort ( int column ) : void
Sort ( int column, Qt order ) : void
Span ( Qyoto.QModelIndex index ) : Qyoto.QSize
Submit ( ) : bool
SupportedDropActions ( ) : uint

Method Details

BeginInsertColumns() protected method

protected BeginInsertColumns ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
return void

BeginInsertRows() protected method

protected BeginInsertRows ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
return void

BeginMoveColumns() protected method

protected BeginMoveColumns ( Qyoto.QModelIndex sourceParent, int sourceFirst, int sourceLast, Qyoto.QModelIndex destinationParent, int destinationColumn ) : bool
sourceParent Qyoto.QModelIndex
sourceFirst int
sourceLast int
destinationParent Qyoto.QModelIndex
destinationColumn int
return bool

BeginMoveRows() protected method

protected BeginMoveRows ( Qyoto.QModelIndex sourceParent, int sourceFirst, int sourceLast, Qyoto.QModelIndex destinationParent, int destinationRow ) : bool
sourceParent Qyoto.QModelIndex
sourceFirst int
sourceLast int
destinationParent Qyoto.QModelIndex
destinationRow int
return bool

BeginRemoveColumns() protected method

protected BeginRemoveColumns ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
return void

BeginRemoveRows() protected method

protected BeginRemoveRows ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
return void

BeginResetModel() protected method

protected BeginResetModel ( ) : void
return void

ChangePersistentIndex() protected method

protected ChangePersistentIndex ( Qyoto.QModelIndex from, Qyoto.QModelIndex to ) : void
from Qyoto.QModelIndex
to Qyoto.QModelIndex
return void

ChangePersistentIndexList() protected method

protected ChangePersistentIndexList ( List from, List to ) : void
from List
to List
return void

CreateIndex() protected method

protected CreateIndex ( int row, int column ) : Qyoto.QModelIndex
row int
column int
return Qyoto.QModelIndex

CreateIndex() protected method

protected CreateIndex ( int row, int column, int id ) : Qyoto.QModelIndex
row int
column int
id int
return Qyoto.QModelIndex

CreateIndex() protected method

protected CreateIndex ( int row, int column, object ptr ) : Qyoto.QModelIndex
row int
column int
ptr object
return Qyoto.QModelIndex

CreateIndex() protected method

protected CreateIndex ( int row, int column, uint id ) : Qyoto.QModelIndex
row int
column int
id uint
return Qyoto.QModelIndex

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

DecodeData() protected method

protected DecodeData ( int row, int column, Qyoto.QModelIndex parent, QDataStream stream ) : bool
row int
column int
parent Qyoto.QModelIndex
stream QDataStream
return bool

DerefIndexHandle() public static method

public static DerefIndexHandle ( object o ) : void
o object
return void

EncodeData() protected method

protected EncodeData ( List indexes, QDataStream stream ) : void
indexes List
stream QDataStream
return void

EndInsertColumns() protected method

protected EndInsertColumns ( ) : void
return void

EndInsertRows() protected method

protected EndInsertRows ( ) : void
return void

EndMoveColumns() protected method

protected EndMoveColumns ( ) : void
return void

EndMoveRows() protected method

protected EndMoveRows ( ) : void
return void

EndRemoveColumns() protected method

protected EndRemoveColumns ( ) : void
return void

EndRemoveRows() protected method

protected EndRemoveRows ( ) : void
return void

EndResetModel() protected method

protected EndResetModel ( ) : void
return void

HasIndex() public method

public HasIndex ( int row, int column ) : bool
row int
column int
return bool

HasIndex() public method

public HasIndex ( int row, int column, Qyoto.QModelIndex parent ) : bool
row int
column int
parent Qyoto.QModelIndex
return bool

InsertColumn() public method

public InsertColumn ( int column ) : bool
column int
return bool

InsertColumn() public method

public InsertColumn ( int column, Qyoto.QModelIndex parent ) : bool
column int
parent Qyoto.QModelIndex
return bool

InsertRow() public method

public InsertRow ( int row ) : bool
row int
return bool

InsertRow() public method

public InsertRow ( int row, Qyoto.QModelIndex parent ) : bool
row int
parent Qyoto.QModelIndex
return bool

Parent() public method

public Parent ( ) : QObject
return QObject

PersistentIndexList() protected method

protected PersistentIndexList ( ) : List
return List

QAbstractItemModel() public method

public QAbstractItemModel ( QObject parent ) : System
parent QObject
return System

QAbstractItemModel() protected method

protected QAbstractItemModel ( Type dummy ) : System
dummy System.Type
return System

RemoveColumn() public method

public RemoveColumn ( int column ) : bool
column int
return bool

RemoveColumn() public method

public RemoveColumn ( int column, Qyoto.QModelIndex parent ) : bool
column int
parent Qyoto.QModelIndex
return bool

RemoveRow() public method

public RemoveRow ( int row ) : bool
row int
return bool

RemoveRow() public method

public RemoveRow ( int row, Qyoto.QModelIndex parent ) : bool
row int
parent Qyoto.QModelIndex
return bool

Reset() protected method

protected Reset ( ) : void
return void

SetSupportedDragActions() public method

public SetSupportedDragActions ( uint arg1 ) : void
arg1 uint
return void

Sibling() public method

public Sibling ( int row, int column, Qyoto.QModelIndex idx ) : Qyoto.QModelIndex
row int
column int
idx Qyoto.QModelIndex
return Qyoto.QModelIndex

SupportedDragActions() public method

public SupportedDragActions ( ) : uint
return uint

Tr() public static method

public static Tr ( string s ) : string
s string
return string

Tr() public static method

public static Tr ( string s, string c ) : string
s string
c string
return string