C# Класс Plasma.TabBar

Наследование: Qyoto.QGraphicsWidget, IDisposable
Показать файл Открыть проект

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