diff options
| author | Arno <arno@disconnect.de> | 2017-05-06 02:35:54 +0200 |
|---|---|---|
| committer | Arno <arno@disconnect.de> | 2017-05-06 02:35:54 +0200 |
| commit | 3380fd84e8a8f73fc5523111821c743bde988009 (patch) | |
| tree | acaeaebb2a950833ef100a3605a808450713f73c | |
| parent | 3ded08ff5b68d5a66a0032d85480ede7dd07dcab (diff) | |
| download | BeetPlayer-3380fd84e8a8f73fc5523111821c743bde988009.tar.gz BeetPlayer-3380fd84e8a8f73fc5523111821c743bde988009.tar.bz2 BeetPlayer-3380fd84e8a8f73fc5523111821c743bde988009.zip | |
Indicate position of selected file
Indicate the position of the selected file (left or right of the view) by
unicode sign 0x26a5 on the respective side.
| -rw-r--r-- | playerwidget.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp index f34725a..ec6fe0b 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -192,7 +192,8 @@ void PlayerWidget::setupGui(){ songSliderL->addWidget(mPos); //now playing info - QGroupBox *currentInfoGB = new QGroupBox(tr("Now playing")); + QString currentInfoGBS = QString(tr("Now Playing %1")).arg(QChar(0x26A5)); + QGroupBox *currentInfoGB = new QGroupBox(currentInfoGBS); mCurrentTE = new QTextEdit; mCurrentTE->setFont(QFont("courier")); mCurrentTE->setReadOnly(true); @@ -201,7 +202,8 @@ void PlayerWidget::setupGui(){ currentInfoGB->setLayout(currentInfoL); //current left info - QGroupBox *leftInfoGB = new QGroupBox(tr("<-- Selected")); + QString leftInfoGBS = QString(tr("%1 Selected")).arg(QChar(0x26A5)); + QGroupBox *leftInfoGB = new QGroupBox(leftInfoGBS); mLeftTE = new QTextEdit; mLeftTE->setFont(QFont("courier")); mLeftTE->setReadOnly(true); @@ -210,7 +212,8 @@ void PlayerWidget::setupGui(){ leftInfoGB->setLayout(leftInfoL); //current right info - QGroupBox *rightInfoGB = new QGroupBox(tr("Selected -->")); + QString rightInfoGBS = QString(tr("Selected %1")).arg(QChar(0x26A5)); + QGroupBox *rightInfoGB = new QGroupBox(rightInfoGBS); mRightTE = new QTextEdit; mRightTE->setFont(QFont("courier")); mRightTE->setReadOnly(true); |
