C# Class Plasma.TabBar

Inheritance: Qyoto.QGraphicsWidget, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross

Private Properties

Свойство Type Description
ChangeEvent void
ResizeEvent void
SetCurrentIndex void
WheelEvent void

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
CreateProxy ( ) : void
TabBar ( Type dummy ) : System

Private Methods

Méthode Description
ChangeEvent ( Qyoto.QEvent arg1 ) : void
ResizeEvent ( Qyoto.QGraphicsSceneResizeEvent arg1 ) : void
SetCurrentIndex ( int index ) : void
WheelEvent ( Qyoto.QGraphicsSceneWheelEvent arg1 ) : void

Method Details

AddTab() public méthode

public AddTab ( Qyoto.QIcon icon, string label ) : int
icon Qyoto.QIcon
label string
Résultat int

AddTab() public méthode

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
Résultat int

AddTab() public méthode

public AddTab ( string label ) : int
label string
Résultat int

AddTab() public méthode

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
Résultat int

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

InsertTab() public méthode

public InsertTab ( int index, Qyoto.QIcon icon, string label ) : int
index int
icon Qyoto.QIcon
label string
Résultat int

InsertTab() public méthode

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
Résultat int

InsertTab() public méthode

public InsertTab ( int index, string label ) : int
index int
label string
Résultat int

InsertTab() public méthode

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
Résultat int

RemoveTab() public méthode

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

SetTabIcon() public méthode

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
Résultat void

SetTabText() public méthode

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
Résultat void

TabAt() public méthode

Returns the contents of a page @arg index the index of the tab to retrieve
public TabAt ( int index ) : IQGraphicsLayoutItem
index int
Résultat IQGraphicsLayoutItem

TabBar() public méthode

public TabBar ( ) : System
Résultat System

TabBar() public méthode

Constructs a new TabBar @arg parent the parent of this widget
public TabBar ( QGraphicsWidget parent ) : System
parent Qyoto.QGraphicsWidget
Résultat System

TabBar() protected méthode

protected TabBar ( Type dummy ) : System
dummy System.Type
Résultat System

TabIcon() public méthode

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

TabText() public méthode

@arg index the index of the tab we want to know its label
public TabText ( int index ) : string
index int
Résultat string

TakeTab() public méthode

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
Résultat IQGraphicsLayoutItem