mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 09:39:13 +02:00
Qt: added TQtTabWidget.setTabIcon(), part of #17635
git-svn-id: trunk@27715 -
This commit is contained in:
parent
520d367826
commit
1b805137bf
@ -779,6 +779,7 @@ type
|
||||
procedure setCurrentIndex(AIndex: Integer);
|
||||
procedure setCurrentWidget(APage: TQtWidget);
|
||||
procedure setTabPosition(ATabPosition: QTabWidgetTabPosition);
|
||||
procedure setTabIcon(index: Integer; icon: QIconH);
|
||||
procedure setTabText(index: Integer; p2: WideString);
|
||||
procedure setTabsClosable(AValue: Boolean);
|
||||
function tabAt(APoint: TPoint): Integer;
|
||||
@ -7143,6 +7144,11 @@ begin
|
||||
QTabWidget_setTabPosition(QTabWidgetH(Widget), ATabPosition);
|
||||
end;
|
||||
|
||||
procedure TQtTabWidget.setTabIcon(index: Integer; icon: QIconH);
|
||||
begin
|
||||
QTabWidget_setTabIcon(QTabWidgetH(Widget), index, icon);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Function: TQtTabWidget.SignalCurrentChanged
|
||||
Params: None
|
||||
|
Loading…
Reference in New Issue
Block a user