C# 클래스 Plasma.TabBar

상속: Qyoto.QGraphicsWidget, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross

Private Properties

프로퍼티 타입 설명
ChangeEvent void
ResizeEvent void
SetCurrentIndex void
WheelEvent void

공개 메소드들

메소드 설명
AddTab ( Qyoto.QIcon icon, string label ) : int
AddTab ( Qyoto.QIcon icon, string label, IQGraphicsLayoutItem content ) : int Adds a new tab in the last position @arg icon the icon for this tab @arg label the text label of the tab @arg content the page content that will be shown by this tab
AddTab ( string label ) : int
AddTab ( string label, IQGraphicsLayoutItem content ) : int Adds a new tab in the last position This is an overloaded member provided for convenience equivalent to addTab(QIcon(), label, page) @arg label the text label of the tab @arg content the page content that will be shown by this tab
Dispose ( ) : void
InsertTab ( int index, Qyoto.QIcon icon, string label ) : int
InsertTab ( int index, Qyoto.QIcon icon, string label, IQGraphicsLayoutItem content ) : int Adds a new tab in the desired position @arg index the position where to insert the new tab, if index <=0 will be the first position, if index >= count() will be the last @arg icon the icon for this tab @arg label the text label of the tab @arg content the page content that will be shown by this tab
InsertTab ( int index, string label ) : int
InsertTab ( int index, string label, IQGraphicsLayoutItem content ) : int Adds a new tab in the desired position This is an overloaded member provided for convenience equivalent to insertTab(index, QIcon(), label); @arg index the position where to insert the new tab, if index <=0 will be the first position, if index >= count() will be the last @arg label the text label of the tab @arg content the page content that will be shown by this tab
RemoveTab ( int index ) : void Removes a tab, contents are deleted @arg index the index of the tab to remove
SetTabIcon ( int index, Qyoto.QIcon icon ) : void Sets an icon for a given tab @arg index the index of the tab to modify @arg icon the new icon for the given tab
SetTabText ( int index, string label ) : void Sets the text label of the given tab @arg index the index of the tab to modify @arg label the new text label of the given tab
TabAt ( int index ) : IQGraphicsLayoutItem Returns the contents of a page @arg index the index of the tab to retrieve
TabBar ( ) : System
TabBar ( QGraphicsWidget parent ) : System Constructs a new TabBar @arg parent the parent of this widget
TabIcon ( int index ) : Qyoto.QIcon @arg index the index of the tab we want to know its icon
TabText ( int index ) : string @arg index the index of the tab we want to know its label
TakeTab ( int index ) : IQGraphicsLayoutItem Removes a tab, the page is reparented to 0 and is returned @arg index the index of the tab to remove

보호된 메소드들

메소드 설명
CreateProxy ( ) : void
TabBar ( Type dummy ) : System

비공개 메소드들

메소드 설명
ChangeEvent ( Qyoto.QEvent arg1 ) : void
ResizeEvent ( Qyoto.QGraphicsSceneResizeEvent arg1 ) : void
SetCurrentIndex ( int index ) : void
WheelEvent ( Qyoto.QGraphicsSceneWheelEvent arg1 ) : void

메소드 상세

AddTab() 공개 메소드

public AddTab ( Qyoto.QIcon icon, string label ) : int
icon Qyoto.QIcon
label string
리턴 int

AddTab() 공개 메소드

Adds a new tab in the last position @arg icon the icon for this tab @arg label the text label of the tab @arg content the page content that will be shown by this tab
public AddTab ( Qyoto.QIcon icon, string label, IQGraphicsLayoutItem content ) : int
icon Qyoto.QIcon
label string
content IQGraphicsLayoutItem
리턴 int

AddTab() 공개 메소드

public AddTab ( string label ) : int
label string
리턴 int

AddTab() 공개 메소드

Adds a new tab in the last position This is an overloaded member provided for convenience equivalent to addTab(QIcon(), label, page) @arg label the text label of the tab @arg content the page content that will be shown by this tab
public AddTab ( string label, IQGraphicsLayoutItem content ) : int
label string
content IQGraphicsLayoutItem
리턴 int

CreateProxy() 보호된 메소드

protected CreateProxy ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

InsertTab() 공개 메소드

public InsertTab ( int index, Qyoto.QIcon icon, string label ) : int
index int
icon Qyoto.QIcon
label string
리턴 int

InsertTab() 공개 메소드

Adds a new tab in the desired position @arg index the position where to insert the new tab, if index <=0 will be the first position, if index >= count() will be the last @arg icon the icon for this tab @arg label the text label of the tab @arg content the page content that will be shown by this tab
public InsertTab ( int index, Qyoto.QIcon icon, string label, IQGraphicsLayoutItem content ) : int
index int
icon Qyoto.QIcon
label string
content IQGraphicsLayoutItem
리턴 int

InsertTab() 공개 메소드

public InsertTab ( int index, string label ) : int
index int
label string
리턴 int

InsertTab() 공개 메소드

Adds a new tab in the desired position This is an overloaded member provided for convenience equivalent to insertTab(index, QIcon(), label); @arg index the position where to insert the new tab, if index <=0 will be the first position, if index >= count() will be the last @arg label the text label of the tab @arg content the page content that will be shown by this tab
public InsertTab ( int index, string label, IQGraphicsLayoutItem content ) : int
index int
label string
content IQGraphicsLayoutItem
리턴 int

RemoveTab() 공개 메소드

Removes a tab, contents are deleted @arg index the index of the tab to remove
public RemoveTab ( int index ) : void
index int
리턴 void

SetTabIcon() 공개 메소드

Sets an icon for a given tab @arg index the index of the tab to modify @arg icon the new icon for the given tab
public SetTabIcon ( int index, Qyoto.QIcon icon ) : void
index int
icon Qyoto.QIcon
리턴 void

SetTabText() 공개 메소드

Sets the text label of the given tab @arg index the index of the tab to modify @arg label the new text label of the given tab
public SetTabText ( int index, string label ) : void
index int
label string
리턴 void

TabAt() 공개 메소드

Returns the contents of a page @arg index the index of the tab to retrieve
public TabAt ( int index ) : IQGraphicsLayoutItem
index int
리턴 IQGraphicsLayoutItem

TabBar() 공개 메소드

public TabBar ( ) : System
리턴 System

TabBar() 공개 메소드

Constructs a new TabBar @arg parent the parent of this widget
public TabBar ( QGraphicsWidget parent ) : System
parent Qyoto.QGraphicsWidget
리턴 System

TabBar() 보호된 메소드

protected TabBar ( Type dummy ) : System
dummy System.Type
리턴 System

TabIcon() 공개 메소드

@arg index the index of the tab we want to know its icon
public TabIcon ( int index ) : Qyoto.QIcon
index int
리턴 Qyoto.QIcon

TabText() 공개 메소드

@arg index the index of the tab we want to know its label
public TabText ( int index ) : string
index int
리턴 string

TakeTab() 공개 메소드

Removes a tab, the page is reparented to 0 and is returned @arg index the index of the tab to remove
public TakeTab ( int index ) : IQGraphicsLayoutItem
index int
리턴 IQGraphicsLayoutItem