From 36d643da276a90ed8c8fc920d3e6a150d0bfc809 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 25 Aug 2018 07:58:43 +0200 Subject: Create keyboard Shortcuts for Views In order of the bottom Icons: Alt+1 = Artist, Alt+6 = Folder --- playerwidget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'playerwidget.h') diff --git a/playerwidget.h b/playerwidget.h index da13747..f24700f 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -19,6 +19,7 @@ class QTextBrowser; class QMediaPlayer; class QToolBar; class QAction; +class QActionGroup; class QTimer; class QStackedLayout; class BeetPlayerProxy; @@ -35,6 +36,7 @@ class PlayerWidget : public QWidget { explicit PlayerWidget(QSplashScreen *splash, QWidget *parent = nullptr); ~PlayerWidget(); const QMediaPlayer* player() const { return mPlayer; } + const QActionGroup* bottomAG() const { return mBottomTBG; } public slots: void rightCurrentChanged(const QModelIndex &cur, const QModelIndex &prev); @@ -125,6 +127,7 @@ class PlayerWidget : public QWidget { QMap mOtherMeta; QStackedWidget *mCollectionStack; QTabWidget *mPlaylistTab; + QActionGroup *mBottomTBG; }; #endif // PLAYERWIDGET_H -- cgit v1.2.3-70-g09d2