Skip to content

Commit 4188d69

Browse files
authored
Dock area currentChanging signal introduced(part1)
currentChanging signal helps to save previous layout state before tab will be changed
1 parent 3fc7c19 commit 4188d69

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/DockAreaWidget.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ public slots:
187187
*/
188188
void tabBarClicked(int index);
189189

190+
/**
191+
* This signal is emitted when the tab bar's current tab is about to be changed. The new
192+
* current has the given index, or -1 if there isn't a new one.
193+
* @param index
194+
*/
195+
void currentChanging(int index);
196+
190197
/**
191198
* This signal is emitted when the tab bar's current tab changes. The new
192199
* current has the given index, or -1 if there isn't a new one

0 commit comments

Comments
 (0)