Also allow to use SHIFT + button for models, aircraft

* added setTab functions
* shift can be used to reset to first tab
This commit is contained in:
Klaus Basan
2018-08-08 01:12:31 +02:00
parent 461d146619
commit 92deb19572
11 changed files with 62 additions and 29 deletions

View File

@@ -45,6 +45,9 @@ namespace BlackGui
//! Destructor
virtual ~CMainKeypadAreaComponent();
//! Main info area changed
void onMainInfoAreaChanged(int currentTabIndex, QList<int> dockedIndexes, QList<int> floatingIndexes);
signals:
//! Button to select main info area has been pressed
//! \sa CMainInfoAreaComponent
@@ -68,10 +71,6 @@ namespace BlackGui
//! Request audio
void audioPressed();
public slots:
//! Main info area changed
void onMainInfoAreaChanged(int currentTabIndex, QList<int> dockedIndexes, QList<int> floatingIndexes);
private:
//! Button was clicked
void buttonSelected();