C# Class Qyoto.QFileSystemModel

Inheritance: QAbstractItemModel, IDisposable
Datei anzeigen Open project: 0xd34df00d/Qross

Private Properties

Property Type Description
CanFetchMore bool
ColumnCount int
ColumnCount int
Data Qyoto.QVariant
Data Qyoto.QVariant
DropMimeData bool
Event bool
FetchMore void
Flags uint
HasChildren bool
HasChildren bool
HeaderData Qyoto.QVariant
HeaderData Qyoto.QVariant
Index Qyoto.QModelIndex
Index Qyoto.QModelIndex
MimeData Qyoto.QMimeData
MimeTypes List
Parent Qyoto.QModelIndex
QFileSystemModel System
RowCount int
RowCount int
SetData bool
SetData bool
Sort void
Sort void
SupportedDropActions uint
TimerEvent void

Public Methods

Method Description
Dispose ( ) : void
FileIcon ( Qyoto.QModelIndex index ) : Qyoto.QIcon
FileInfo ( Qyoto.QModelIndex index ) : Qyoto.QFileInfo
FileName ( Qyoto.QModelIndex index ) : string
FilePath ( Qyoto.QModelIndex index ) : string
Filter ( ) : uint
IconProvider ( ) : Qyoto.QFileIconProvider
Index ( string path ) : Qyoto.QModelIndex
Index ( string path, int column ) : Qyoto.QModelIndex
IsDir ( Qyoto.QModelIndex index ) : bool
LastModified ( Qyoto.QModelIndex index ) : Qyoto.QDateTime
Mkdir ( Qyoto.QModelIndex parent, string name ) : Qyoto.QModelIndex
MyComputer ( ) : Qyoto.QVariant
MyComputer ( int role ) : Qyoto.QVariant
NameFilters ( ) : List
Permissions ( Qyoto.QModelIndex index ) : uint
QFileSystemModel ( QObject parent ) : System
Remove ( Qyoto.QModelIndex index ) : bool
Rmdir ( Qyoto.QModelIndex index ) : bool
RootDirectory ( ) : Qyoto.QDir
RootPath ( ) : string
SetFilter ( uint filters ) : void
SetIconProvider ( Qyoto.QFileIconProvider provider ) : void
SetNameFilters ( List filters ) : void
SetRootPath ( string path ) : Qyoto.QModelIndex
Size ( Qyoto.QModelIndex index ) : long
Tr ( string s ) : string
Tr ( string s, string c ) : string
type ( Qyoto.QModelIndex index ) : string

Protected Methods

Method Description
CreateProxy ( ) : void
QFileSystemModel ( Type dummy ) : System

Private Methods

Method Description
CanFetchMore ( Qyoto.QModelIndex parent ) : bool
ColumnCount ( ) : int
ColumnCount ( Qyoto.QModelIndex parent ) : int
Data ( Qyoto.QModelIndex index ) : Qyoto.QVariant
Data ( Qyoto.QModelIndex index, int role ) : Qyoto.QVariant
DropMimeData ( Qyoto.QMimeData data, Qt action, int row, int column, Qyoto.QModelIndex parent ) : bool
Event ( Qyoto.QEvent arg1 ) : bool
FetchMore ( Qyoto.QModelIndex parent ) : void
Flags ( Qyoto.QModelIndex index ) : uint
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
Index ( int row, int column, Qyoto.QModelIndex parent ) : Qyoto.QModelIndex
MimeData ( List indexes ) : Qyoto.QMimeData
MimeTypes ( ) : List
Parent ( Qyoto.QModelIndex child ) : Qyoto.QModelIndex
QFileSystemModel ( ) : System
RowCount ( ) : int
RowCount ( Qyoto.QModelIndex parent ) : int
SetData ( Qyoto.QModelIndex index, Qyoto.QVariant value ) : bool
SetData ( Qyoto.QModelIndex index, Qyoto.QVariant value, int role ) : bool
Sort ( int column ) : void
Sort ( int column, Qt order ) : void
SupportedDropActions ( ) : uint
TimerEvent ( Qyoto.QTimerEvent arg1 ) : void

Method Details

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FileIcon() public method

public FileIcon ( Qyoto.QModelIndex index ) : Qyoto.QIcon
index Qyoto.QModelIndex
return Qyoto.QIcon

FileInfo() public method

public FileInfo ( Qyoto.QModelIndex index ) : Qyoto.QFileInfo
index Qyoto.QModelIndex
return Qyoto.QFileInfo

FileName() public method

public FileName ( Qyoto.QModelIndex index ) : string
index Qyoto.QModelIndex
return string

FilePath() public method

public FilePath ( Qyoto.QModelIndex index ) : string
index Qyoto.QModelIndex
return string

Filter() public method

public Filter ( ) : uint
return uint

IconProvider() public method

public IconProvider ( ) : Qyoto.QFileIconProvider
return Qyoto.QFileIconProvider

Index() public method

public Index ( string path ) : Qyoto.QModelIndex
path string
return Qyoto.QModelIndex

Index() public method

public Index ( string path, int column ) : Qyoto.QModelIndex
path string
column int
return Qyoto.QModelIndex

IsDir() public method

public IsDir ( Qyoto.QModelIndex index ) : bool
index Qyoto.QModelIndex
return bool

LastModified() public method

public LastModified ( Qyoto.QModelIndex index ) : Qyoto.QDateTime
index Qyoto.QModelIndex
return Qyoto.QDateTime

Mkdir() public method

public Mkdir ( Qyoto.QModelIndex parent, string name ) : Qyoto.QModelIndex
parent Qyoto.QModelIndex
name string
return Qyoto.QModelIndex

MyComputer() public method

public MyComputer ( ) : Qyoto.QVariant
return Qyoto.QVariant

MyComputer() public method

public MyComputer ( int role ) : Qyoto.QVariant
role int
return Qyoto.QVariant

NameFilters() public method

public NameFilters ( ) : List
return List

Permissions() public method

public Permissions ( Qyoto.QModelIndex index ) : uint
index Qyoto.QModelIndex
return uint

QFileSystemModel() public method

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

QFileSystemModel() protected method

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

Remove() public method

public Remove ( Qyoto.QModelIndex index ) : bool
index Qyoto.QModelIndex
return bool

Rmdir() public method

public Rmdir ( Qyoto.QModelIndex index ) : bool
index Qyoto.QModelIndex
return bool

RootDirectory() public method

public RootDirectory ( ) : Qyoto.QDir
return Qyoto.QDir

RootPath() public method

public RootPath ( ) : string
return string

SetFilter() public method

public SetFilter ( uint filters ) : void
filters uint
return void

SetIconProvider() public method

public SetIconProvider ( Qyoto.QFileIconProvider provider ) : void
provider Qyoto.QFileIconProvider
return void

SetNameFilters() public method

public SetNameFilters ( List filters ) : void
filters List
return void

SetRootPath() public method

public SetRootPath ( string path ) : Qyoto.QModelIndex
path string
return Qyoto.QModelIndex

Size() public method

public Size ( Qyoto.QModelIndex index ) : long
index Qyoto.QModelIndex
return long

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

type() public method

public type ( Qyoto.QModelIndex index ) : string
index Qyoto.QModelIndex
return string