add bt now playing and radio
This commit is contained in:
parent
82bffdb514
commit
a3656500e7
1
assets/album.svg
Normal file
1
assets/album.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192zm0 224a128 128 0 1 0 0-256 128 128 0 1 0 0 256zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"/></svg>
|
After Width: | Height: | Size: 409 B |
1
assets/artist.svg
Normal file
1
assets/artist.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M406.5 399.6C387.4 352.9 341.5 320 288 320l-64 0c-53.5 0-99.4 32.9-118.5 79.6C69.9 362.2 48 311.7 48 256C48 141.1 141.1 48 256 48s208 93.1 208 208c0 55.7-21.9 106.2-57.5 143.6zm-40.1 32.7C334.4 452.4 296.6 464 256 464s-78.4-11.6-110.5-31.7c7.3-36.7 39.7-64.3 78.5-64.3l64 0c38.8 0 71.2 27.6 78.5 64.3zM256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-272a40 40 0 1 1 0-80 40 40 0 1 1 0 80zm-88-40a88 88 0 1 0 176 0 88 88 0 1 0 -176 0z"/></svg>
|
After Width: | Height: | Size: 667 B |
1
assets/bluetooth.svg
Normal file
1
assets/bluetooth.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M292.6 171.1L249.7 214l-.3-86 43.2 43.1m-43.2 219.8l43.1-43.1-42.9-42.9-.2 86zM416 259.4C416 465 344.1 512 230.9 512S32 465 32 259.4 115.4 0 228.6 0 416 53.9 416 259.4zm-158.5 0l79.4-88.6L211.8 36.5v176.9L138 139.6l-27 26.9 92.7 93-92.7 93 26.9 26.9 73.8-73.8 2.3 170 127.4-127.5-83.9-88.7z"/></svg>
|
After Width: | Height: | Size: 521 B |
1
assets/radio.svg
Normal file
1
assets/radio.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M494.8 47c12.7-3.7 20-17.1 16.3-29.8S494-2.8 481.2 1L51.7 126.9c-9.4 2.7-17.9 7.3-25.1 13.2C10.5 151.7 0 170.6 0 192l0 4L0 304 0 448c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64l-229.5 0L494.8 47zM368 240a80 80 0 1 1 0 160 80 80 0 1 1 0-160zM80 256c0-8.8 7.2-16 16-16l96 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-96 0c-8.8 0-16-7.2-16-16zM64 320c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 336c-8.8 0-16-7.2-16-16zm16 64c0-8.8 7.2-16 16-16l96 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-96 0c-8.8 0-16-7.2-16-16z"/></svg>
|
After Width: | Height: | Size: 776 B |
@ -1,43 +1,48 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>ico_warning.png</file>
|
||||
<file>ico_info.png</file>
|
||||
<file>aausb-hot.png</file>
|
||||
<file>aawifi-hot.png</file>
|
||||
<file>cursor-hot.png</file>
|
||||
<file>power-hot.png</file>
|
||||
<file>settings-hot.png</file>
|
||||
<file>sleep-hot.png</file>
|
||||
<file>wifi-hot.png</file>
|
||||
<file>brightness-hot.png</file>
|
||||
<file>camera-hot.png</file>
|
||||
<file>day-hot.png</file>
|
||||
<file>night-hot.png</file>
|
||||
<file>record-hot.png</file>
|
||||
<file>stop-hot.png</file>
|
||||
<file>save-hot.png</file>
|
||||
<file>reboot-hot.png</file>
|
||||
<file>back-hot.png</file>
|
||||
<file>rearcam-hot.png</file>
|
||||
<file>recordactive-hot.png</file>
|
||||
<file>lock-hot.png</file>
|
||||
<file>volume-hot.png</file>
|
||||
<file>bug-hot.png</file>
|
||||
<file>eye-hot.png</file>
|
||||
<file>skin-hot.png</file>
|
||||
<file>mp3-hot.png</file>
|
||||
<file>play-hot.png</file>
|
||||
<file>prev-hot.png</file>
|
||||
<file>next-hot.png</file>
|
||||
<file>pause-hot.png</file>
|
||||
<file>prevbig-hot.png</file>
|
||||
<file>nextbig-hot.png</file>
|
||||
<file>list-hot.png</file>
|
||||
<file>home-hot.png</file>
|
||||
<file>player-hot.png</file>
|
||||
<file>coverlogo.png</file>
|
||||
<file>black.png</file>
|
||||
<file>album-hot.png</file>
|
||||
<file>Roboto-Regular.ttf</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>radio.svg</file>
|
||||
<file>ico_warning.png</file>
|
||||
<file>ico_info.png</file>
|
||||
<file>artist.svg</file>
|
||||
<file>album.svg</file>
|
||||
<file>song.svg</file>
|
||||
<file>bluetooth.svg</file>
|
||||
<file>aausb-hot.png</file>
|
||||
<file>aawifi-hot.png</file>
|
||||
<file>cursor-hot.png</file>
|
||||
<file>power-hot.png</file>
|
||||
<file>settings-hot.png</file>
|
||||
<file>sleep-hot.png</file>
|
||||
<file>wifi-hot.png</file>
|
||||
<file>brightness-hot.png</file>
|
||||
<file>camera-hot.png</file>
|
||||
<file>day-hot.png</file>
|
||||
<file>night-hot.png</file>
|
||||
<file>record-hot.png</file>
|
||||
<file>stop-hot.png</file>
|
||||
<file>save-hot.png</file>
|
||||
<file>reboot-hot.png</file>
|
||||
<file>back-hot.png</file>
|
||||
<file>rearcam-hot.png</file>
|
||||
<file>recordactive-hot.png</file>
|
||||
<file>lock-hot.png</file>
|
||||
<file>volume-hot.png</file>
|
||||
<file>bug-hot.png</file>
|
||||
<file>eye-hot.png</file>
|
||||
<file>skin-hot.png</file>
|
||||
<file>mp3-hot.png</file>
|
||||
<file>play-hot.png</file>
|
||||
<file>prev-hot.png</file>
|
||||
<file>next-hot.png</file>
|
||||
<file>pause-hot.png</file>
|
||||
<file>prevbig-hot.png</file>
|
||||
<file>nextbig-hot.png</file>
|
||||
<file>list-hot.png</file>
|
||||
<file>home-hot.png</file>
|
||||
<file>player-hot.png</file>
|
||||
<file>coverlogo.png</file>
|
||||
<file>black.png</file>
|
||||
<file>album-hot.png</file>
|
||||
<file>Roboto-Regular.ttf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
1
assets/song.svg
Normal file
1
assets/song.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M499.1 6.3c8.1 6 12.9 15.6 12.9 25.7l0 72 0 264c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L448 147 192 223.8 192 432c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L128 200l0-72c0-14.1 9.3-26.6 22.8-30.7l320-96c9.7-2.9 20.2-1.1 28.3 5z"/></svg>
|
After Width: | Height: | Size: 509 B |
@ -108,8 +108,6 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
|
||||
connect(ui_->pushButtonNight2, &QPushButton::clicked, this, &MainWindow::switchGuiToNight);
|
||||
connect(ui_->pushButtonBrightness, &QPushButton::clicked, this, &MainWindow::showBrightnessSlider);
|
||||
connect(ui_->pushButtonBrightness2, &QPushButton::clicked, this, &MainWindow::showBrightnessSlider);
|
||||
connect(ui_->pushButtonVolume, &QPushButton::clicked, this, &MainWindow::showVolumeSlider);
|
||||
connect(ui_->pushButtonVolume2, &QPushButton::clicked, this, &MainWindow::showVolumeSlider);
|
||||
connect(ui_->pushButtonDebug, &QPushButton::clicked, this, &MainWindow::createDebuglog);
|
||||
connect(ui_->pushButtonDebug2, &QPushButton::clicked, this, &MainWindow::createDebuglog);
|
||||
connect(ui_->pushButtonBluetooth, &QPushButton::clicked, this, &MainWindow::setPairable);
|
||||
@ -130,6 +128,8 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
|
||||
connect(ui_->pushButtonAndroidAuto2, &QPushButton::clicked, this, &MainWindow::TriggerAppStart);
|
||||
connect(ui_->pushButtonAndroidAuto2, &QPushButton::clicked, this, &MainWindow::setRetryUSBConnect);
|
||||
|
||||
ui_->radioView->hide();
|
||||
|
||||
ui_->clockOnlyWidget->hide();
|
||||
|
||||
ui_->pushButtonBluetooth->hide();
|
||||
@ -159,6 +159,7 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
|
||||
ui_->labelLockDummy->hide();
|
||||
}
|
||||
|
||||
|
||||
if (std::ifstream("/etc/crankshaft.branch")) {
|
||||
QString branch = configuration_->readFileContent("/etc/crankshaft.branch");
|
||||
if (branch != "crankshaft-ng") {
|
||||
@ -230,9 +231,6 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
|
||||
// as default hide brightness slider
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
|
||||
// as default hide volume slider player
|
||||
ui_->VolumeSliderControlPlayer->hide();
|
||||
|
||||
// as default hide power buttons
|
||||
ui_->exitWidget->hide();
|
||||
ui_->horizontalWidgetPower->hide();
|
||||
@ -485,9 +483,6 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
|
||||
ui_->pushButtonBrightness->hide();
|
||||
ui_->pushButtonBrightness2->hide();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
// also hide volume button cause not needed if brightness not visible
|
||||
ui_->pushButtonVolume->hide();
|
||||
ui_->pushButtonVolume2->hide();
|
||||
}
|
||||
|
||||
// init alpha values
|
||||
@ -501,9 +496,6 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
|
||||
ui_->pushButtonNight2->hide();
|
||||
ui_->pushButtonBrightness->hide();
|
||||
ui_->pushButtonBrightness2->hide();
|
||||
// hide also volume cause not needed without brightness
|
||||
ui_->pushButtonVolume->hide();
|
||||
ui_->pushButtonVolume2->hide();
|
||||
}
|
||||
|
||||
// Hide recordings button
|
||||
@ -680,7 +672,6 @@ void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonBrightness_clicked()
|
||||
}
|
||||
}
|
||||
ui_->BrightnessSliderControl->show();
|
||||
ui_->VolumeSliderControl->hide();
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonBrightness2_clicked()
|
||||
@ -711,33 +702,6 @@ void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonBrightness2_clicked()
|
||||
}
|
||||
}
|
||||
ui_->BrightnessSliderControl->show();
|
||||
ui_->VolumeSliderControl->hide();
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonVolume_clicked()
|
||||
{
|
||||
ui_->horizontalSliderVolume->show();
|
||||
ui_->volumeValueLabel->show();
|
||||
if (this->toggleMute) {
|
||||
ui_->pushButtonUnMute->show();
|
||||
} else {
|
||||
ui_->pushButtonMute->show();
|
||||
}
|
||||
ui_->VolumeSliderControl->show();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonVolume2_clicked()
|
||||
{
|
||||
ui_->horizontalSliderVolume->show();
|
||||
ui_->volumeValueLabel->show();
|
||||
if (this->toggleMute) {
|
||||
ui_->pushButtonUnMute->show();
|
||||
} else {
|
||||
ui_->pushButtonMute->show();
|
||||
}
|
||||
ui_->VolumeSliderControl->show();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::on_horizontalSliderBrightness_valueChanged(int value)
|
||||
@ -786,7 +750,6 @@ void f1x::openauto::autoapp::ui::MainWindow::updateAlpha()
|
||||
ui_->pushButtonReboot->setStyleSheet( "QPushButton{background-color: rgba(252, 175, 62, " + alp + " ); outline-style: dotted; outline-color: #92a8d1; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);} QPushButton:focus {border: 2px solid rgba(125,125,125,0.5);}");
|
||||
ui_->pushButtonCancel->setStyleSheet( "QPushButton{background-color: rgba(32, 74, 135, " + alp + " ); outline-style: dotted; outline-color: #92a8d1; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);} QPushButton:focus {border: 2px solid rgba(125,125,125,0.5);}");
|
||||
ui_->pushButtonBrightness->setStyleSheet( "QPushButton{background-color: rgba(245, 121, 0, " + alp + " ); outline-style: dotted; outline-color: #92a8d1; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);} QPushButton:focus {border: 2px solid rgba(125,125,125,0.5);}");
|
||||
ui_->pushButtonVolume->setStyleSheet( "QPushButton{background-color: rgba(64, 191, 191, " + alp + " ); outline-style: dotted; outline-color: #92a8d1; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);} QPushButton:focus {border: 2px solid rgba(125,125,125,0.5);}");
|
||||
ui_->pushButtonLock->setStyleSheet( "QPushButton{background-color: rgba(15, 54, 5, " + alp + " ); outline-style: dotted; outline-color: #92a8d1; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);} QPushButton:focus {border: 2px solid rgba(125,125,125,0.5);}");
|
||||
ui_->pushButtonSettings->setStyleSheet( "QPushButton{background-color: rgba(138, 226, 52, " + alp + " ); outline-style: dotted; outline-color: #92a8d1; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);} QPushButton:focus {border: 2px solid rgba(125,125,125,0.5);}");
|
||||
ui_->pushButtonDay->setStyleSheet( "QPushButton{background: rgba(252, 233, 79, " + alp + " ); outline-style: dotted; outline-color: #92a8d1; border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);} QPushButton:focus {border: 2px solid rgba(125,125,125,0.5);}");
|
||||
@ -827,37 +790,28 @@ void f1x::openauto::autoapp::ui::MainWindow::updateAlpha()
|
||||
ui_->pushButtonDay2->setStyleSheet( "background-color: rgba(136, 138, 133, " + alp + " ); color: rgb(255, 255, 255); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
|
||||
ui_->pushButtonNight2->setStyleSheet( "background-color: rgba(136, 138, 133, " + alp + " ); color: rgb(255, 255, 255); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
|
||||
ui_->pushButtonCameraShow2->setStyleSheet( "background-color: rgba(136, 138, 133, " + alp + " ); color: rgb(255, 255, 255); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
|
||||
ui_->pushButtonVolume2->setStyleSheet( "background-color: rgba(136, 138, 133, " + alp + " ); color: rgb(255, 255, 255); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
|
||||
ui_->pushButtonDebug2->setStyleSheet( "background-color: rgba(136, 138, 133, " + alp + " ); color: rgb(255, 255, 255); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
|
||||
}
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::switchGuiToNight()
|
||||
{
|
||||
//MainWindow::on_pushButtonVolume_clicked();
|
||||
f1x::openauto::autoapp::ui::MainWindow::updateBG();
|
||||
ui_->pushButtonDay->show();
|
||||
ui_->pushButtonDay2->show();
|
||||
ui_->pushButtonNight->hide();
|
||||
ui_->pushButtonNight2->hide();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
if (ui_->mediaWidget->isVisible() == true) {
|
||||
ui_->VolumeSliderControl->hide();
|
||||
}
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::switchGuiToDay()
|
||||
{
|
||||
//MainWindow::on_pushButtonVolume_clicked();
|
||||
f1x::openauto::autoapp::ui::MainWindow::updateBG();
|
||||
ui_->pushButtonNight->show();
|
||||
ui_->pushButtonNight2->show();
|
||||
ui_->pushButtonDay->hide();
|
||||
ui_->pushButtonDay2->hide();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
if (ui_->mediaWidget->isVisible() == true) {
|
||||
ui_->VolumeSliderControl->hide();
|
||||
}
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::cameraControlHide()
|
||||
@ -911,18 +865,14 @@ void f1x::openauto::autoapp::ui::MainWindow::playerShow()
|
||||
ui_->oldmenuWidget->hide();
|
||||
}
|
||||
ui_->mediaWidget->show();
|
||||
ui_->VolumeSliderControlPlayer->show();
|
||||
ui_->VolumeSliderControl->hide();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
ui_->networkInfo->hide();
|
||||
ui_->Info->hide();
|
||||
ui_->horizontalSliderProgressPlayer->hide();
|
||||
ui_->VolumeSliderControlPlayer->hide();
|
||||
if (player->state() == QMediaPlayer::PlayingState) {
|
||||
on_pushButtonBackToPlayer_clicked();
|
||||
ui_->Info->show();
|
||||
ui_->horizontalSliderProgressPlayer->show();
|
||||
ui_->VolumeSliderControlPlayer->show();
|
||||
ui_->pushButtonPlayerPlayList->hide();
|
||||
}
|
||||
if (ui_->mp3List->isVisible() == true) {
|
||||
@ -940,8 +890,6 @@ void f1x::openauto::autoapp::ui::MainWindow::playerHide()
|
||||
ui_->oldmenuWidget->show();
|
||||
}
|
||||
ui_->mediaWidget->hide();
|
||||
ui_->VolumeSliderControl->show();
|
||||
ui_->VolumeSliderControlPlayer->hide();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
if (configuration_->showNetworkinfo()) {
|
||||
ui_->networkInfo->hide();
|
||||
@ -995,7 +943,6 @@ void f1x::openauto::autoapp::ui::MainWindow::toggleGUI()
|
||||
ui_->bigClock->hide();
|
||||
}
|
||||
}
|
||||
MainWindow::on_pushButtonVolume_clicked();
|
||||
} else {
|
||||
ui_->menuWidget->show();
|
||||
ui_->oldmenuWidget->hide();
|
||||
@ -1089,14 +1036,9 @@ void f1x::openauto::autoapp::ui::MainWindow::showTime()
|
||||
{
|
||||
QTime time=QTime::currentTime();
|
||||
QDate date=QDate::currentDate();
|
||||
QString time_text=time.toString("hh : mm : ss");
|
||||
QString time_text=time.toString("hh : mm");
|
||||
this->date_text=date.toString("MM/dd");
|
||||
|
||||
if ((time.second() % 2) == 0) {
|
||||
time_text[3] = ' ';
|
||||
time_text[8] = ' ';
|
||||
}
|
||||
|
||||
ui_->Digital_clock->setText(time_text);
|
||||
ui_->bigClock->setText(time_text);
|
||||
ui_->bigClock2->setText(time_text);
|
||||
@ -1125,6 +1067,27 @@ void f1x::openauto::autoapp::ui::MainWindow::showTime()
|
||||
if (ui_->btDevice->isVisible() == false) {
|
||||
ui_->btDevice->show();
|
||||
}
|
||||
if (std::ifstream("/tmp/btnowplaying")) {
|
||||
ui_->btNowPlaying->show();
|
||||
using namespace std;
|
||||
ifstream inFile;
|
||||
string line;
|
||||
inFile.open("/tmp/btnowplaying");
|
||||
if(inFile) {
|
||||
getline(inFile, line);
|
||||
ui_->btSongName->setText(QString::fromStdString(line));
|
||||
getline(inFile, line);
|
||||
ui_->btArtistName->setText(QString::fromStdString(line));
|
||||
getline(inFile, line);
|
||||
ui_->btAlbumName->setText(QString::fromStdString(line));
|
||||
}
|
||||
}
|
||||
else {
|
||||
ui_->btNowPlaying->hide();
|
||||
ui_->btSongName->setText("");
|
||||
ui_->btArtistName->setText("");
|
||||
ui_->btAlbumName->setText("");
|
||||
}
|
||||
if (std::ifstream("/tmp/btdevice")) {
|
||||
ui_->btDevice->setText(configuration_->readFileContent("/tmp/btdevice"));
|
||||
}
|
||||
@ -1191,7 +1154,6 @@ void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerStop_clicked()
|
||||
ui_->mp3List->show();
|
||||
ui_->AlbumCoverListView->hide();
|
||||
ui_->pushButtonAlbum->show();
|
||||
ui_->VolumeSliderControlPlayer->hide();
|
||||
}
|
||||
|
||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPause_clicked()
|
||||
@ -1769,12 +1731,6 @@ void f1x::openauto::autoapp::ui::MainWindow::tmpChanged()
|
||||
if (ui_->cameraWidget->isVisible() == true) {
|
||||
ui_->cameraWidget->hide();
|
||||
}
|
||||
if (ui_->VolumeSliderControlPlayer->isVisible() == true) {
|
||||
ui_->VolumeSliderControlPlayer->hide();
|
||||
}
|
||||
if (ui_->VolumeSliderControl->isVisible() == true) {
|
||||
ui_->VolumeSliderControl->hide();
|
||||
}
|
||||
if (ui_->BrightnessSliderControl->isVisible() == true) {
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
}
|
||||
@ -1786,11 +1742,6 @@ void f1x::openauto::autoapp::ui::MainWindow::tmpChanged()
|
||||
if (ui_->headerWidget->isVisible() == false) {
|
||||
ui_->headerWidget->show();
|
||||
}
|
||||
if (ui_->VolumeSliderControl->isVisible() == false) {
|
||||
if (ui_->mediaWidget->isVisible() == false) {
|
||||
ui_->VolumeSliderControl->show();
|
||||
}
|
||||
}
|
||||
if (ui_->clockOnlyWidget->isVisible() == true) {
|
||||
ui_->clockOnlyWidget->hide();
|
||||
toggleGUI();
|
||||
@ -2030,9 +1981,6 @@ void f1x::openauto::autoapp::ui::MainWindow::tmpChanged()
|
||||
if (ui_->pushButtonDebug2->isVisible() == true) {
|
||||
button_count = button_count + 1;
|
||||
}
|
||||
if (ui_->pushButtonVolume2->isVisible() == true) {
|
||||
button_count = button_count + 1;
|
||||
}
|
||||
|
||||
// Hide auto day/night if needed
|
||||
if (this->lightsensor || std::ifstream("/tmp/daynight_gpio")) {
|
||||
@ -2100,11 +2048,6 @@ void f1x::openauto::autoapp::ui::MainWindow::tmpChanged()
|
||||
ui_->pushButtonBrightness2->hide();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
// also hide volume button if brightness hidden
|
||||
ui_->pushButtonVolume->hide();
|
||||
ui_->pushButtonVolume2->hide();
|
||||
if (ui_->mediaWidget->isVisible() == false) {
|
||||
ui_->VolumeSliderControl->show();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (!this->lightsensor) {
|
||||
@ -2112,8 +2055,6 @@ void f1x::openauto::autoapp::ui::MainWindow::tmpChanged()
|
||||
ui_->pushButtonBrightness->show();
|
||||
ui_->pushButtonBrightness2->show();
|
||||
// also show volume button if brightness visible
|
||||
ui_->pushButtonVolume->show();
|
||||
ui_->pushButtonVolume2->show();
|
||||
ui_->BrightnessSliderControl->hide();
|
||||
}
|
||||
}
|
||||
|
@ -47,21 +47,6 @@
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<property name="spacing">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="clockOnlyWidget" native="true">
|
||||
<property name="sizePolicy">
|
||||
@ -1595,6 +1580,9 @@ border-top: 0px;</string>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(48, 140, 198, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
@ -1606,9 +1594,6 @@ outline: none;</string>
|
||||
<string>No
|
||||
USB Device</string>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@ -1680,6 +1665,9 @@ color: rgb(255, 255, 255);
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(252, 175, 62, 0.5);
|
||||
border-radius: 4px;
|
||||
@ -1691,9 +1679,6 @@ outline: none;</string>
|
||||
<string>No
|
||||
WiFi Clients</string>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@ -2908,6 +2893,470 @@ outline: none;</string>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="btNowPlaying" native="true">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>800</width>
|
||||
<height>400</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>800</width>
|
||||
<height>400</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>22</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>200</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>200</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../../../assets/resources.qrc">:/bluetooth.svg</pixmap>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="verticalWidget" native="true">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>250</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>250</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_18">
|
||||
<property name="spacing">
|
||||
<number>7</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QFrame" name="horizontalFrame_3">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>400</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>10</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>5</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../../../assets/resources.qrc">:/song.svg</pixmap>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="btSongName">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>SONG NAME</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="horizontalWidget" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_19">
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../../../assets/resources.qrc">:/artist.svg</pixmap>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="btArtistName">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ARTIST NAME</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="horizontalWidget_2" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_21">
|
||||
<property name="topMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_9">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../../../assets/resources.qrc">:/album.svg</pixmap>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="btAlbumName">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ALBUM NAME</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item alignment="Qt::AlignLeft">
|
||||
<widget class="QWidget" name="radioView" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>600</width>
|
||||
<height>210</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>200</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_24">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../../../assets/resources.qrc">:/radio.svg</pixmap>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QFrame" name="verticalFrame">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_19">
|
||||
<item>
|
||||
<widget class="QFrame" name="horizontalFrame">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_25">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>32</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ABCD,EFGH</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_11">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>0</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Tuner List</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item alignment="Qt::AlignTop">
|
||||
<widget class="QLabel" name="bigClock">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
@ -2915,9 +3364,21 @@ outline: none;</string>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>80</pointsize>
|
||||
<pointsize>32</pointsize>
|
||||
<weight>50</weight>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
@ -2926,26 +3387,13 @@ outline: none;</string>
|
||||
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>12:00:00</string>
|
||||
<string>12:00</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="oldmenuDummy">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="verticalWidget_2" native="true">
|
||||
<property name="sizePolicy">
|
||||
@ -5465,270 +5913,6 @@ outline: none;</string>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="VolumeSliderControl" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="Layout_Volume">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButtonUnMute">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 255);
|
||||
background-color: rgb(164, 0, 0);
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Muted</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButtonMute">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 255);
|
||||
background-color: #6d6d6d;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Mute</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QSlider" name="horizontalSliderVolume">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QSlider::groove:horizontal { background: #6d6d6d; height: 32px;}
|
||||
QSlider::handle:horizontal { background: rgb(64, 191, 191); height: 52px; width: 52px; margin: 0 0;};
|
||||
outline: none;</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="volumeValueLabel">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 255);
|
||||
background-color: #6d6d6d;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>-</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="VolumeSliderControlPlayer" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QSlider" name="horizontalSliderVolumePlayer">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QSlider::groove:horizontal { background: #6d6d6d; height: 32px;}
|
||||
QSlider::handle:horizontal { background: rgb(64, 191, 191); height: 52px; width: 52px; margin: 0 0;};
|
||||
outline: none;</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="volumeValueLabelPlayer">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 255);
|
||||
background-color: #6d6d6d;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>100%</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="BrightnessSliderControl" native="true">
|
||||
<property name="sizePolicy">
|
||||
@ -5852,6 +6036,8 @@ background-color: #6d6d6d;</string>
|
||||
</widget>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources/>
|
||||
<resources>
|
||||
<include location="../../../assets/resources.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Loading…
x
Reference in New Issue
Block a user