summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-08-25 07:58:43 +0200
committerArno <arno@disconnect.de>2018-08-25 07:58:43 +0200
commit36d643da276a90ed8c8fc920d3e6a150d0bfc809 (patch)
treedce1c4543e2ad2c671dd95be9514bc0cbbb82c56 /playerwidget.h
parent295114f77a4ed6ed8957485c0ceaf5c6d38b3485 (diff)
downloadBeetPlayer-36d643da276a90ed8c8fc920d3e6a150d0bfc809.tar.gz
BeetPlayer-36d643da276a90ed8c8fc920d3e6a150d0bfc809.tar.bz2
BeetPlayer-36d643da276a90ed8c8fc920d3e6a150d0bfc809.zip
Create keyboard Shortcuts for Views
In order of the bottom Icons: Alt+1 = Artist, Alt+6 = Folder
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h3
1 files changed, 3 insertions, 0 deletions
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<QString, QVariant> mOtherMeta;
QStackedWidget *mCollectionStack;
QTabWidget *mPlaylistTab;
+ QActionGroup *mBottomTBG;
};
#endif // PLAYERWIDGET_H