File: DockAreaTabBar.sip

package info (click to toggle)
qt-advanced-docking-system 3.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 13,600 kB
  • sloc: cpp: 11,678; python: 2,623; makefile: 12
file content (50 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%Import QtWidgets/QtWidgetsmod.sip

%If (Qt_5_0_0 -)

namespace ads
{

class CDockAreaTabBar : QScrollArea
{
    %TypeHeaderCode
    #include <DockAreaTabBar.h>
    %End
    
protected:
	virtual void wheelEvent(QWheelEvent* Event);

public:
	CDockAreaTabBar(ads::CDockAreaWidget* parent /TransferThis/);
	virtual ~CDockAreaTabBar();
	void insertTab(int Index, ads::CDockWidgetTab* Tab /Transfer/);
	void removeTab(ads::CDockWidgetTab* Tab) /TransferBack/;
	int count() const;
	int currentIndex() const;
	ads::CDockWidgetTab* currentTab() const;
	ads::CDockWidgetTab* tab(int Index) const;
	virtual bool eventFilter(QObject *watched, QEvent *event);
	bool isTabOpen(int Index) const;
	virtual QSize minimumSizeHint() const;
	virtual QSize sizeHint() const;
 	void elidedChanged(bool elided);

public slots:
	void setCurrentIndex(int Index);
	void closeTab(int Index);

signals:
	void currentChanging(int Index);
	void currentChanged(int Index);
	void tabBarClicked(int index);
	void tabCloseRequested(int index);
	void tabClosed(int index);
	void tabOpened(int index);
	void tabMoved(int from, int to);
	void removingTab(int index);
	void tabInserted(int index);
};

};

%End