C# Класс Qyoto.QAbstractItemModel

Наследование: QObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BeginInsertColumns() защищенный метод

protected BeginInsertColumns ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
Результат void

BeginInsertRows() защищенный метод

protected BeginInsertRows ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
Результат void

BeginMoveColumns() защищенный метод

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
Результат bool

BeginMoveRows() защищенный метод

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
Результат bool

BeginRemoveColumns() защищенный метод

protected BeginRemoveColumns ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
Результат void

BeginRemoveRows() защищенный метод

protected BeginRemoveRows ( Qyoto.QModelIndex parent, int first, int last ) : void
parent Qyoto.QModelIndex
first int
last int
Результат void

BeginResetModel() защищенный метод

protected BeginResetModel ( ) : void
Результат void

ChangePersistentIndex() защищенный метод

protected ChangePersistentIndex ( Qyoto.QModelIndex from, Qyoto.QModelIndex to ) : void
from Qyoto.QModelIndex
to Qyoto.QModelIndex
Результат void

ChangePersistentIndexList() защищенный метод

protected ChangePersistentIndexList ( List from, List to ) : void
from List
to List
Результат void

CreateIndex() защищенный метод

protected CreateIndex ( int row, int column ) : Qyoto.QModelIndex
row int
column int
Результат Qyoto.QModelIndex

CreateIndex() защищенный метод

protected CreateIndex ( int row, int column, int id ) : Qyoto.QModelIndex
row int
column int
id int
Результат Qyoto.QModelIndex

CreateIndex() защищенный метод

protected CreateIndex ( int row, int column, object ptr ) : Qyoto.QModelIndex
row int
column int
ptr object
Результат Qyoto.QModelIndex

CreateIndex() защищенный метод

protected CreateIndex ( int row, int column, uint id ) : Qyoto.QModelIndex
row int
column int
id uint
Результат Qyoto.QModelIndex

CreateProxy() защищенный метод

protected CreateProxy ( ) : void
Результат void

DecodeData() защищенный метод

protected DecodeData ( int row, int column, Qyoto.QModelIndex parent, QDataStream stream ) : bool
row int
column int
parent Qyoto.QModelIndex
stream QDataStream
Результат bool

DerefIndexHandle() публичный статический метод

public static DerefIndexHandle ( object o ) : void
o object
Результат void

EncodeData() защищенный метод

protected EncodeData ( List indexes, QDataStream stream ) : void
indexes List
stream QDataStream
Результат void

EndInsertColumns() защищенный метод

protected EndInsertColumns ( ) : void
Результат void

EndInsertRows() защищенный метод

protected EndInsertRows ( ) : void
Результат void

EndMoveColumns() защищенный метод

protected EndMoveColumns ( ) : void
Результат void

EndMoveRows() защищенный метод

protected EndMoveRows ( ) : void
Результат void

EndRemoveColumns() защищенный метод

protected EndRemoveColumns ( ) : void
Результат void

EndRemoveRows() защищенный метод

protected EndRemoveRows ( ) : void
Результат void

EndResetModel() защищенный метод

protected EndResetModel ( ) : void
Результат void

HasIndex() публичный метод

public HasIndex ( int row, int column ) : bool
row int
column int
Результат bool

HasIndex() публичный метод

public HasIndex ( int row, int column, Qyoto.QModelIndex parent ) : bool
row int
column int
parent Qyoto.QModelIndex
Результат bool

InsertColumn() публичный метод

public InsertColumn ( int column ) : bool
column int
Результат bool

InsertColumn() публичный метод

public InsertColumn ( int column, Qyoto.QModelIndex parent ) : bool
column int
parent Qyoto.QModelIndex
Результат bool

InsertRow() публичный метод

public InsertRow ( int row ) : bool
row int
Результат bool

InsertRow() публичный метод

public InsertRow ( int row, Qyoto.QModelIndex parent ) : bool
row int
parent Qyoto.QModelIndex
Результат bool

Parent() публичный метод

public Parent ( ) : QObject
Результат QObject

PersistentIndexList() защищенный метод

protected PersistentIndexList ( ) : List
Результат List

QAbstractItemModel() публичный метод

public QAbstractItemModel ( QObject parent ) : System
parent QObject
Результат System

QAbstractItemModel() защищенный метод

protected QAbstractItemModel ( Type dummy ) : System
dummy System.Type
Результат System

RemoveColumn() публичный метод

public RemoveColumn ( int column ) : bool
column int
Результат bool

RemoveColumn() публичный метод

public RemoveColumn ( int column, Qyoto.QModelIndex parent ) : bool
column int
parent Qyoto.QModelIndex
Результат bool

RemoveRow() публичный метод

public RemoveRow ( int row ) : bool
row int
Результат bool

RemoveRow() публичный метод

public RemoveRow ( int row, Qyoto.QModelIndex parent ) : bool
row int
parent Qyoto.QModelIndex
Результат bool

Reset() защищенный метод

protected Reset ( ) : void
Результат void

SetSupportedDragActions() публичный метод

public SetSupportedDragActions ( uint arg1 ) : void
arg1 uint
Результат void

Sibling() публичный метод

public Sibling ( int row, int column, Qyoto.QModelIndex idx ) : Qyoto.QModelIndex
row int
column int
idx Qyoto.QModelIndex
Результат Qyoto.QModelIndex

SupportedDragActions() публичный метод

public SupportedDragActions ( ) : uint
Результат uint

Tr() публичный статический метод

public static Tr ( string s ) : string
s string
Результат string

Tr() публичный статический метод

public static Tr ( string s, string c ) : string
s string
c string
Результат string