C# Class Qyoto.QTreeView

Inheritance: QAbstractItemView, IDisposable
Mostrar archivo Open project: 0xd34df00d/Qross Class Usage Examples

Private Properties

Property Type Description
Collapse void
CollapseAll void
ColumnCountChanged void
ColumnMoved void
ColumnResized void
CurrentChanged void
DataChanged void
DoItemsLayout void
DragMoveEvent void
DrawBranches void
DrawRow void
Expand void
ExpandAll void
ExpandToDepth void
HideColumn void
HorizontalOffset int
HorizontalScrollbarAction void
IndexAt Qyoto.QModelIndex
IsIndexHidden bool
KeyPressEvent void
KeyboardSearch void
MouseDoubleClickEvent void
MouseMoveEvent void
MousePressEvent void
MouseReleaseEvent void
MoveCursor Qyoto.QModelIndex
PaintEvent void
QTreeView System
Reexpand void
Reset void
ResizeColumnToContents void
RowsAboutToBeRemoved void
RowsInserted void
RowsRemoved void
ScrollContentsBy void
ScrollTo void
ScrollTo void
SelectAll void
SelectedIndexes List
SelectionChanged void
SetModel void
SetRootIndex void
SetSelection void
SetSelectionModel void
ShowColumn void
SizeHintForColumn int
SortByColumn void
TimerEvent void
UpdateGeometries void
VerticalOffset int
ViewportEvent bool
VisualRect Qyoto.QRect
VisualRegionForSelection QRegion

Public Methods

Method Description
ColumnAt ( int x ) : int
ColumnViewportPosition ( int column ) : int
ColumnWidth ( int column ) : int
Dispose ( ) : void
Header ( ) : QHeaderView
IndexAbove ( Qyoto.QModelIndex index ) : Qyoto.QModelIndex
IndexBelow ( Qyoto.QModelIndex index ) : Qyoto.QModelIndex
IsColumnHidden ( int column ) : bool
IsExpanded ( Qyoto.QModelIndex index ) : bool
IsFirstColumnSpanned ( int row, Qyoto.QModelIndex parent ) : bool
IsRowHidden ( int row, Qyoto.QModelIndex parent ) : bool
QTreeView ( QWidget parent ) : System
SetColumnHidden ( int column, bool hide ) : void
SetColumnWidth ( int column, int width ) : void
SetExpanded ( Qyoto.QModelIndex index, bool expand ) : void
SetFirstColumnSpanned ( int row, Qyoto.QModelIndex parent, bool span ) : void
SetHeader ( QHeaderView header ) : void
SetRowHidden ( int row, Qyoto.QModelIndex parent, bool hide ) : void
SortByColumn ( int column, Qt order ) : void
Tr ( string s ) : string
Tr ( string s, string c ) : string

Protected Methods

Method Description
CreateProxy ( ) : void
DrawTree ( QPainter painter, QRegion region ) : void
IndexRowSizeHint ( Qyoto.QModelIndex index ) : int
QTreeView ( Type dummy ) : System
RowHeight ( Qyoto.QModelIndex index ) : int

Private Methods

Method Description
Collapse ( Qyoto.QModelIndex index ) : void
CollapseAll ( ) : void
ColumnCountChanged ( int oldCount, int newCount ) : void
ColumnMoved ( ) : void
ColumnResized ( int column, int oldSize, int newSize ) : void
CurrentChanged ( Qyoto.QModelIndex current, Qyoto.QModelIndex previous ) : void
DataChanged ( Qyoto.QModelIndex topLeft, Qyoto.QModelIndex bottomRight ) : void
DoItemsLayout ( ) : void
DragMoveEvent ( Qyoto.QDragMoveEvent arg1 ) : void
DrawBranches ( QPainter painter, Qyoto.QRect rect, Qyoto.QModelIndex index ) : void
DrawRow ( QPainter painter, Qyoto.QStyleOptionViewItem options, Qyoto.QModelIndex index ) : void
Expand ( Qyoto.QModelIndex index ) : void
ExpandAll ( ) : void
ExpandToDepth ( int depth ) : void
HideColumn ( int column ) : void
HorizontalOffset ( ) : int
HorizontalScrollbarAction ( int action ) : void
IndexAt ( Qyoto.QPoint p ) : Qyoto.QModelIndex
IsIndexHidden ( Qyoto.QModelIndex index ) : bool
KeyPressEvent ( Qyoto.QKeyEvent arg1 ) : void
KeyboardSearch ( string search ) : void
MouseDoubleClickEvent ( Qyoto.QMouseEvent arg1 ) : void
MouseMoveEvent ( Qyoto.QMouseEvent arg1 ) : void
MousePressEvent ( Qyoto.QMouseEvent arg1 ) : void
MouseReleaseEvent ( Qyoto.QMouseEvent arg1 ) : void
MoveCursor ( QAbstractItemView cursorAction, uint modifiers ) : Qyoto.QModelIndex
PaintEvent ( Qyoto.QPaintEvent arg1 ) : void
QTreeView ( ) : System
Reexpand ( ) : void
Reset ( ) : void
ResizeColumnToContents ( int column ) : void
RowsAboutToBeRemoved ( Qyoto.QModelIndex parent, int start, int end ) : void
RowsInserted ( Qyoto.QModelIndex parent, int start, int end ) : void
RowsRemoved ( Qyoto.QModelIndex parent, int first, int last ) : void
ScrollContentsBy ( int dx, int dy ) : void
ScrollTo ( Qyoto.QModelIndex index ) : void
ScrollTo ( Qyoto.QModelIndex index, QAbstractItemView hint ) : void
SelectAll ( ) : void
SelectedIndexes ( ) : List
SelectionChanged ( Qyoto.QItemSelection selected, Qyoto.QItemSelection deselected ) : void
SetModel ( QAbstractItemModel model ) : void
SetRootIndex ( Qyoto.QModelIndex index ) : void
SetSelection ( Qyoto.QRect rect, uint command ) : void
SetSelectionModel ( Qyoto.QItemSelectionModel selectionModel ) : void
ShowColumn ( int column ) : void
SizeHintForColumn ( int column ) : int
SortByColumn ( int column ) : void
TimerEvent ( Qyoto.QTimerEvent arg1 ) : void
UpdateGeometries ( ) : void
VerticalOffset ( ) : int
ViewportEvent ( Qyoto.QEvent arg1 ) : bool
VisualRect ( Qyoto.QModelIndex index ) : Qyoto.QRect
VisualRegionForSelection ( Qyoto.QItemSelection selection ) : QRegion

Method Details

ColumnAt() public method

public ColumnAt ( int x ) : int
x int
return int

ColumnViewportPosition() public method

public ColumnViewportPosition ( int column ) : int
column int
return int

ColumnWidth() public method

public ColumnWidth ( int column ) : int
column int
return int

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DrawTree() protected method

protected DrawTree ( QPainter painter, QRegion region ) : void
painter QPainter
region QRegion
return void

Header() public method

public Header ( ) : QHeaderView
return QHeaderView

IndexAbove() public method

public IndexAbove ( Qyoto.QModelIndex index ) : Qyoto.QModelIndex
index Qyoto.QModelIndex
return Qyoto.QModelIndex

IndexBelow() public method

public IndexBelow ( Qyoto.QModelIndex index ) : Qyoto.QModelIndex
index Qyoto.QModelIndex
return Qyoto.QModelIndex

IndexRowSizeHint() protected method

protected IndexRowSizeHint ( Qyoto.QModelIndex index ) : int
index Qyoto.QModelIndex
return int

IsColumnHidden() public method

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

IsExpanded() public method

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

IsFirstColumnSpanned() public method

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

IsRowHidden() public method

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

QTreeView() public method

public QTreeView ( QWidget parent ) : System
parent QWidget
return System

QTreeView() protected method

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

RowHeight() protected method

protected RowHeight ( Qyoto.QModelIndex index ) : int
index Qyoto.QModelIndex
return int

SetColumnHidden() public method

public SetColumnHidden ( int column, bool hide ) : void
column int
hide bool
return void

SetColumnWidth() public method

public SetColumnWidth ( int column, int width ) : void
column int
width int
return void

SetExpanded() public method

public SetExpanded ( Qyoto.QModelIndex index, bool expand ) : void
index Qyoto.QModelIndex
expand bool
return void

SetFirstColumnSpanned() public method

public SetFirstColumnSpanned ( int row, Qyoto.QModelIndex parent, bool span ) : void
row int
parent Qyoto.QModelIndex
span bool
return void

SetHeader() public method

public SetHeader ( QHeaderView header ) : void
header QHeaderView
return void

SetRowHidden() public method

public SetRowHidden ( int row, Qyoto.QModelIndex parent, bool hide ) : void
row int
parent Qyoto.QModelIndex
hide bool
return void

SortByColumn() public method

public SortByColumn ( int column, Qt order ) : void
column int
order Qt
return void

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