mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
As of workshop RW/KB
* Allow to "jump" to text message channel from ATC / aircraft * changed timer connections for components to new SLOT syntax * housekeeping: ** new function in network context for station by callsign ** refactored textmessage component, allow to select tab by slot ** wired up signal / slots in main GUI ** removed unused functions ** allow to select area and "myself" in infoarea
This commit is contained in:
@@ -297,7 +297,7 @@ namespace BlackGui
|
||||
}
|
||||
else
|
||||
{
|
||||
this->setCurrentTabIndex(dw);
|
||||
this->selectArea(dw);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -599,7 +599,7 @@ namespace BlackGui
|
||||
return getTabBarIndexByTitle(dockWidgetInfoArea->windowTitle());
|
||||
}
|
||||
|
||||
void CInfoArea::setCurrentTabIndex(const CDockWidgetInfoArea *dockWidgetInfoArea)
|
||||
void CInfoArea::selectArea(const CDockWidgetInfoArea *dockWidgetInfoArea)
|
||||
{
|
||||
if (!this->m_tabBar) { return; }
|
||||
int tabIndex = this->dockWidgetInfoAreaToTabBarIndex(dockWidgetInfoArea);
|
||||
@@ -654,7 +654,7 @@ namespace BlackGui
|
||||
if (!topLevel)
|
||||
{
|
||||
CDockWidgetInfoArea *dwia = dynamic_cast<CDockWidgetInfoArea *>(dockWidget);
|
||||
this->setCurrentTabIndex(dwia);
|
||||
this->selectArea(dwia);
|
||||
}
|
||||
|
||||
// when toplevel is changed, I need a round in the event loop until
|
||||
|
||||
Reference in New Issue
Block a user