More dynamic gui / player autoplay / add lightsensor to hw setup

This commit is contained in:
hawkeyexp 2018-11-24 15:23:09 +01:00
parent a06504a2a5
commit cc2e3d67ba
6 changed files with 784 additions and 811 deletions

View File

@ -146,6 +146,8 @@ private slots:
private:
Ui::MainWindow* ui_;
configuration::IConfiguration::Pointer configuration_;
QString brightnessFilename = "/sys/class/backlight/rpi_backlight/brightness";
QString brightnessFilenameAlt = "/tmp/custombrightness";
QFile *brightnessFile;
@ -226,12 +228,11 @@ private:
bool c7ButtonForce = false;
bool hotspotActive = false;
int currentPlaylistIndex = 0;
bool background_set = false;
bool mediacontentchanged = true;
bool lightsensor = false;
};
}

View File

@ -61,7 +61,6 @@ private slots:
void onStartHotspot();
void onStopHotspot();
void syncNTPTime();
void on_pushButtonRescan_clicked();
void on_pushButtonAudioTest_clicked();
void updateNetworkInfo();

View File

@ -53,6 +53,8 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
QFont _font(family, 11);
qApp->setFont(_font);
this->configuration_ = configuration;
// trigger files
QFileInfo nightModeFile("/tmp/night_mode_enabled");
this->nightModeEnabled = nightModeFile.exists();
@ -72,6 +74,9 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
QFileInfo DebugmodeFile("/tmp/usb_debug_mode");
this->systemDebugmode = DebugmodeFile.exists();
QFileInfo lightsensorFile("/etc/cs_lightsensor");
this->lightsensor = lightsensorFile.exists();
QFileInfo c1ButtonFile(this->custom_button_file_c1);
this->c1ButtonForce = c1ButtonFile.exists();
@ -192,7 +197,6 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
connect(ui_->pushButtonStop, &QPushButton::clicked, this, &MainWindow::cameraStop);
connect(ui_->pushButtonRecord, &QPushButton::clicked, this, &MainWindow::cameraRecord);
connect(ui_->pushButtonSave, &QPushButton::clicked, this, &MainWindow::cameraSave);
ui_->pushButtonDummyCamWifi->hide();
} else {
ui_->pushButtonCameraShow->hide();
ui_->pushButtonCameraShow2->hide();
@ -226,10 +230,8 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
ui_->VolumeSliderControlPlayer->hide();
// as default hide power buttons
ui_->pushButtonShutdown->hide();
ui_->pushButtonReboot->hide();
ui_->pushButtonCancel->hide();
ui_->exitWidget->hide();
ui_->horizontalWidgetPower->hide();
// as default hide phone connected label
ui_->phoneConnected->hide();
@ -241,8 +243,6 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
if (!this->wifiButtonForce) {
ui_->pushButtonWifi->hide();
ui_->pushButtonWifi2->hide();
} else {
ui_->pushButtonDummyCamWifi->hide();
}
// set custom buttons if file enabled by trigger file
@ -348,23 +348,6 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
connect(ui_->pushButton_c6, &QPushButton::clicked, this, &MainWindow::customButtonPressed6);
}
if (!this->c7ButtonForce) {
ui_->pushButton_c7->hide();
} else {
// read button config 7
QFile paramFile(this->custom_button_file_c7);
paramFile.open(QIODevice::ReadOnly);
QTextStream data(&paramFile);
QStringList params = data.readAll().split("#");
paramFile.close();
ui_->pushButton_c7->setText(params[0].simplified());
this->custom_button_command_c7 = params[1].simplified();
if (params[2] != "") {
this->custom_button_color_c7 = params[2].simplified();
}
connect(ui_->pushButton_c7, &QPushButton::clicked, this, &MainWindow::customButtonPressed7);
}
// as default hide camera controls
ui_->cameraWidget->hide();
ui_->pushButtonRecordActive->hide();
@ -504,6 +487,7 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
ui_->Digital_clock->hide();
}
} else {
ui_->oldmenuDummy->show();
ui_->Digital_clock->show();
ui_->bigClock->hide();
}
@ -524,6 +508,16 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
ui_->horizontalSliderAlpha->setValue(int(configuration->getAlphaTrans()));
MainWindow::on_horizontalSliderAlpha_valueChanged(int(configuration->getAlphaTrans()));
// Hide auto day/night if needed
if (this->lightsensor) {
ui_->pushButtonDay->hide();
ui_->pushButtonNight->hide();
ui_->pushButtonDay2->hide();
ui_->pushButtonNight2->hide();
ui_->pushButtonBrightness->hide();
ui_->pushButtonBrightness2->hide();
}
player = new QMediaPlayer(this);
playlist = new QMediaPlaylist(this);
connect(player, &QMediaPlayer::positionChanged, this, &MainWindow::on_positionChanged);
@ -549,7 +543,16 @@ MainWindow::MainWindow(configuration::IConfiguration::Pointer configuration, QWi
MainWindow::scanFolders();
ui_->comboBoxAlbum->setCurrentText(QString::fromStdString(configuration->getMp3SubFolder()));
MainWindow::scanFiles();
player->setPlaylist(this->playlist);
ui_->mp3List->setCurrentRow(configuration->getMp3Track());
this->currentPlaylistIndex = configuration->getMp3Track();
if (configuration->mp3AutoPlay()) {
MainWindow::playerShow();
MainWindow::playerHide();
MainWindow::on_pushButtonPlayerPlayList_clicked();
MainWindow::playerShow();
}
watcher = new QFileSystemWatcher(this);
watcher->addPath("/media/USBDRIVES");
@ -757,7 +760,6 @@ void f1x::openauto::autoapp::ui::MainWindow::on_horizontalSliderAlpha_valueChang
ui_->pushButtonDay->setStyleSheet( "background: rgba(252, 233, 79, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButtonNight->setStyleSheet( "background-color: rgba(114, 159, 207, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButtonCameraShow->setStyleSheet( "background-color: rgba(100, 62, 4, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButtonDummyCamWifi->setStyleSheet( "background-color: rgba(117, 80, 123, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButtonWifi->setStyleSheet( "background-color: rgba(252, 175, 62, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButtonToggleGUI->setStyleSheet( "background-color: rgba(237, 164, 255, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButton_c1->setStyleSheet( "background-color: rgba(" + this->custom_button_color_c1 + ", " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5); color: rgb(255,255,255);");
@ -766,7 +768,6 @@ void f1x::openauto::autoapp::ui::MainWindow::on_horizontalSliderAlpha_valueChang
ui_->pushButton_c4->setStyleSheet( "background-color: rgba(" + this->custom_button_color_c4 + ", " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5); color: rgb(255,255,255);");
ui_->pushButton_c5->setStyleSheet( "background-color: rgba(" + this->custom_button_color_c5 + ", " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5); color: rgb(255,255,255);");
ui_->pushButton_c6->setStyleSheet( "background-color: rgba(" + this->custom_button_color_c6 + ", " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5); color: rgb(255,255,255);");
ui_->pushButton_c7->setStyleSheet( "background-color: rgba(" + this->custom_button_color_c7 + ", " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5); color: rgb(255,255,255);");
ui_->pushButtonDummy1->setStyleSheet( "background-color: rgba(186, 189, 182, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButtonDummy2->setStyleSheet( "background-color: rgba(186, 189, 182, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
ui_->pushButtonDummy3->setStyleSheet( "background-color: rgba(186, 189, 182, " + alp + " ); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5);");
@ -876,20 +877,16 @@ void f1x::openauto::autoapp::ui::MainWindow::playerHide()
void f1x::openauto::autoapp::ui::MainWindow::toggleExit()
{
if (!this->exitMenuVisible) {
ui_->pushButtonExit->hide();
ui_->pushButtonShutdown->show();
ui_->pushButtonReboot->show();
ui_->pushButtonCancel->show();
ui_->exitWidget->show();
ui_->buttonWidget->hide();
ui_->horizontalWidgetButtons->hide();
ui_->horizontalWidgetPower->show();
this->exitMenuVisible = true;
} else {
ui_->pushButtonShutdown->hide();
ui_->pushButtonReboot->hide();
ui_->pushButtonCancel->hide();
ui_->pushButtonExit->show();
ui_->buttonWidget->show();
ui_->exitWidget->hide();
ui_->horizontalWidgetButtons->show();
ui_->horizontalWidgetPower->hide();
this->exitMenuVisible = false;
}
}
@ -1146,10 +1143,10 @@ void f1x::openauto::autoapp::ui::MainWindow::metaDataChanged()
ui_->labelTrack->setText(QString::number(playlist->currentIndex()+1));
ui_->labelTrackCount->setText(QString::number(playlist->mediaCount()));
// Here a write to config is needed to keep playlist index
//
//configuration->setMp3Track(ui_->mp3List->currentRow());
//
// Write current playing album and track to config
this->configuration_->setMp3Track(playlist->currentIndex());
this->configuration_->setMp3SubFolder(ui_->comboBoxAlbum->currentText().toStdString());
this->configuration_->save();
}
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPlayList_clicked()
@ -1205,13 +1202,10 @@ void f1x::openauto::autoapp::ui::MainWindow::scanFolders()
}
this->currentPlaylistIndex = 0;
ui_->SysinfoTopLeft->hide();
//timerscan->stop();
}
}
catch(...) {
ui_->SysinfoTopLeft->hide();
//timerscan->stop();
qDebug() << "Fail in Folderscan";
}
}
@ -1515,15 +1509,11 @@ void f1x::openauto::autoapp::ui::MainWindow::tmpChanged()
if ((ui_->pushButtonWifi->isVisible() == true) || (ui_->pushButtonWifi2->isVisible() == true)){
ui_->pushButtonWifi->hide();
ui_->pushButtonWifi2->hide();
if (!this->cameraButtonForce) {
ui_->pushButtonDummyCamWifi->show();
}
}
} else {
if ((ui_->pushButtonWifi->isVisible() == false) || (ui_->pushButtonWifi2->isVisible() == false)) {
ui_->pushButtonWifi->show();
ui_->pushButtonWifi2->show();
ui_->pushButtonDummyCamWifi->hide();
}
}
@ -1557,4 +1547,60 @@ void f1x::openauto::autoapp::ui::MainWindow::tmpChanged()
ui_->pushButtonDummyClassic1->show();
ui_->pushButtonDummyClassic2->show();
}
// Hide auto day/night if needed
if (this->lightsensor) {
ui_->pushButtonDay->hide();
ui_->pushButtonNight->hide();
ui_->pushButtonDay2->hide();
ui_->pushButtonNight2->hide();
ui_->pushButtonBrightness->hide();
ui_->pushButtonBrightness2->hide();
}
// use big clock in classic gui?
if (this->configuration_->showBigClock()) {
this->UseBigClock = true;
} else {
this->UseBigClock = false;
}
// clock viibility by settings
if (!this->configuration_->showClock()) {
ui_->Digital_clock->hide();
ui_->bigClock->hide();
this->NoClock = true;
} else {
this->NoClock = false;
if (this->UseBigClock) {
ui_->oldmenuDummy->hide();
ui_->bigClock->show();
if (oldGUIStyle) {
ui_->Digital_clock->hide();
}
} else {
ui_->oldmenuDummy->show();
ui_->Digital_clock->show();
ui_->bigClock->hide();
}
}
// hide gui toggle if enabled in settings
if (this->configuration_->hideMenuToggle()) {
ui_->pushButtonToggleGUI->hide();
ui_->pushButtonToggleGUI2->hide();
} else {
ui_->pushButtonToggleGUI->show();
ui_->pushButtonToggleGUI2->show();
}
// hide alpha controls if enabled in settings
if (!this->configuration_->hideAlpha()) {
ui_->pushButtonAlpha->show();
} else {
ui_->pushButtonAlpha->hide();
}
if (QString::number(this->configuration_->getAlphaTrans()) != QString::number(ui_->horizontalSliderAlpha->value())) {
ui_->horizontalSliderAlpha->setValue(static_cast<int>(this->configuration_->getAlphaTrans()));
}
}

View File

@ -94,8 +94,6 @@ SettingsWindow::SettingsWindow(configuration::IConfiguration::Pointer configurat
QString time_text_minute=time.toString("mm");
ui_->spinBoxHour->setValue((time_text_hour).toInt());
ui_->spinBoxMinute->setValue((time_text_minute).toInt());
SettingsWindow::on_pushButtonRescan_clicked();
ui_->label_modeswitchprogress->hide();
QFileInfo hotspotFile("/tmp/hotspot_active");
@ -127,7 +125,6 @@ void SettingsWindow::onSave()
configuration_->setAlphaTrans(static_cast<size_t>(ui_->horizontalSliderAlphaTrans->value()));
configuration_->hideMenuToggle(ui_->checkBoxHideMenuToggle->isChecked());
configuration_->hideAlpha(ui_->checkBoxHideAlpha->isChecked());
configuration_->setMp3SubFolder(ui_->comboBoxSubFolder->currentText().toStdString());
configuration_->mp3AutoPlay(ui_->checkBoxAutoPlay->isChecked());
configuration_->setVideoFPS(ui_->radioButton30FPS->isChecked() ? aasdk::proto::enums::VideoFPS::_30 : aasdk::proto::enums::VideoFPS::_60);
@ -273,6 +270,8 @@ void SettingsWindow::onSave()
params.append("#");
params.append( std::string(ui_->comboBoxSDOC->currentText().split(" ")[0].toStdString()) );
params.append("#");
params.append( std::string(ui_->comboBoxLS->currentText().split(" ")[0].toStdString()) );
params.append("#");
system((std::string("/usr/local/bin/autoapp_helper setparams#") + std::string(params) + std::string(" &") ).c_str());
@ -307,8 +306,6 @@ void SettingsWindow::load()
ui_->checkBoxOldGUI->setChecked(configuration_->oldGUI());
ui_->checkBoxHideMenuToggle->setChecked(configuration_->hideMenuToggle());
ui_->checkBoxHideAlpha->setChecked(configuration_->hideAlpha());
ui_->comboBoxSubFolder->setCurrentText(QString::fromStdString(configuration_->getMp3SubFolder()));
ui_->mp3track->setText(QString::number(configuration_->getMp3Track()));
ui_->checkBoxAutoPlay->setChecked(configuration_->mp3AutoPlay());
ui_->radioButton30FPS->setChecked(configuration_->getVideoFPS() == aasdk::proto::enums::VideoFPS::_30);
@ -722,6 +719,12 @@ void SettingsWindow::loadSystemValues()
} else {
ui_->comboBoxSDOC->setCurrentIndex(0);
}
// set lightsensor
if (getparams[40] == "enabled") {
ui_->comboBoxLS->setCurrentIndex(1);
} else {
ui_->comboBoxLS->setCurrentIndex(0);
}
}
}
@ -875,24 +878,6 @@ void SettingsWindow::show_tab8()
}
}
void f1x::openauto::autoapp::ui::SettingsWindow::on_pushButtonRescan_clicked()
{
int cleaner = ui_->comboBoxSubFolder->count();
// clean and rebuild subfolder box
while (cleaner > -1) {
ui_->comboBoxSubFolder->removeItem(cleaner);
cleaner--;
}
ui_->comboBoxSubFolder->addItem("/");
QDir directory("/media/MYMEDIA");
QStringList folders = directory.entryList(QStringList() << "*", QDir::AllDirs, QDir::Name);
foreach (QString foldername, folders) {
if (foldername != ".." && foldername != ".") {
ui_->comboBoxSubFolder->addItem(foldername);
}
}
}
void f1x::openauto::autoapp::ui::SettingsWindow::on_pushButtonAudioTest_clicked()
{
ui_->labelTestInProgress->show();

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>862</width>
<height>1297</height>
<height>1301</height>
</rect>
</property>
<property name="sizePolicy">
@ -554,11 +554,8 @@ color: rgb(255, 255, 255);</string>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="Layout_DayNight">
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0" colspan="2">
<layout class="QHBoxLayout" name="Layout_Sliderselect">
<item>
<widget class="QPushButton" name="pushButtonDay">
<property name="sizePolicy">
@ -670,15 +667,8 @@ outline: none;</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<layout class="QHBoxLayout" name="Layout_Camera">
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonCameraShow">
<widget class="QPushButton" name="pushButtonBrightness">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -686,7 +676,7 @@ outline: none;</string>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(100, 62, 4, 0.5);
<string notr="true">background-color: rgba(245, 121, 0, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
@ -696,7 +686,7 @@ outline: none;</string>
</property>
<property name="icon">
<iconset>
<normalon>:/camera-hot.png</normalon>
<normalon>:/brightness-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
@ -708,7 +698,7 @@ outline: none;</string>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonWifi">
<widget class="QPushButton" name="pushButtonVolume">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -716,10 +706,9 @@ outline: none;</string>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(252, 175, 62, 0.5);
<string notr="true">background-color: rgba(64, 191, 191, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
@ -727,7 +716,7 @@ outline: none;</string>
</property>
<property name="icon">
<iconset>
<normalon>:/wifi-hot.png</normalon>
<normalon>:/volume-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
@ -738,280 +727,6 @@ outline: none;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonDummyCamWifi">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(100, 62, 4, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonWifiSetup">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(100, 62, 4, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string>Setup</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_c7">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(186, 189, 182, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="3">
<layout class="QHBoxLayout" name="Layout_Exit">
<item>
<widget class="QPushButton" name="pushButtonExit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(164, 0, 0, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/power-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonShutdown">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(239, 41, 41, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/power-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonReboot">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(252, 175, 62, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/reboot-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonCancel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(32, 74, 135, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/back-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="Layout_Custom2">
<item>
<widget class="QPushButton" name="pushButton_c3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(186, 189, 182, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_c4">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(186, 189, 182, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonDummy2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(186, 189, 182, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="3">
<layout class="QHBoxLayout" name="Layout_Settings">
<item>
<widget class="QPushButton" name="pushButtonToggleGUI">
<property name="sizePolicy">
@ -1109,7 +824,7 @@ outline: none;</string>
</item>
</layout>
</item>
<item row="1" column="0">
<item row="1" column="0" colspan="2">
<layout class="QHBoxLayout" name="Layout_Custom1">
<item>
<widget class="QPushButton" name="pushButton_c1">
@ -1198,10 +913,84 @@ outline: none;</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="3">
<layout class="QHBoxLayout" name="Layout_Custom3">
<item>
<widget class="QPushButton" name="pushButton_c3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(186, 189, 182, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_c4">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(186, 189, 182, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonDummy2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(186, 189, 182, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_c5">
<property name="sizePolicy">
@ -1282,137 +1071,321 @@ outline: none;</string>
</item>
</layout>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="Layout_BCenter">
<item row="2" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QPushButton" name="pushButtonDebug">
<widget class="QWidget" name="horizontalWidgetButtons" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(85, 87, 83, 0.5);
<layout class="QHBoxLayout" name="Layout_BCenter">
<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="pushButtonCameraShow">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(100, 62, 4, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/bug-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonMusic">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(78, 154, 6, 0.5);
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/camera-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonWifi">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(252, 175, 62, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
color: rgb(255, 255, 255);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/wifi-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonWifiSetup">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(100, 62, 4, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string>Setup</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonDebug">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(85, 87, 83, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/bug-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonMusic">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(78, 154, 6, 0.5);
color: rgb(255, 255, 255);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/mp3-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/mp3-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonExit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(164, 0, 0, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/power-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="Layout_Sliderselect">
<item>
<widget class="QPushButton" name="pushButtonBrightness">
<widget class="QWidget" name="horizontalWidgetPower" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(245, 121, 0, 0.5);
<layout class="QHBoxLayout" name="horizontalLayoutPower">
<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="pushButtonShutdown">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(239, 41, 41, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/brightness-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonVolume">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(64, 191, 191, 0.5);
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/power-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonReboot">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(252, 175, 62, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/volume-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/reboot-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonCancel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(32, 74, 135, 0.5);
border-radius: 4px;
border: 2px solid rgba(255,255,255,0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/back-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
@ -1525,6 +1498,34 @@ outline: none;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonToggleGUI2">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(136, 138, 133, 0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/eye-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonDay2">
<property name="sizePolicy">
@ -1859,34 +1860,6 @@ outline: none;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonToggleGUI2">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(136, 138, 133, 0.5);
outline: none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normalon>:/eye-hot.png</normalon>
</iconset>
</property>
<property name="iconSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonWifi2">
<property name="sizePolicy">

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>963</width>
<height>3152</height>
<height>3006</height>
</rect>
</property>
<property name="sizePolicy">
@ -253,6 +253,9 @@ outline: none;
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_19">
<property name="spacing">
<number>6</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
@ -406,165 +409,32 @@ outline: none;
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBoxMP3">
<widget class="QGroupBox" name="groupBoxMediaPlayer">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>MP3 Player defaults </string>
<string>Media player defaults</string>
</property>
<layout class="QFormLayout" name="formLayout_6">
<property name="horizontalSpacing">
<number>9</number>
</property>
<property name="leftMargin">
<number>2</number>
</property>
<layout class="QFormLayout" name="formLayout_5">
<property name="topMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item row="2" column="0">
<widget class="QPushButton" name="pushButtonRescan">
<property name="minimumSize">
<size>
<width>140</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>140</width>
<height>32</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(85, 87, 83);
outline: none;</string>
</property>
<property name="text">
<string>Rescan Folders</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="comboBoxSubFolder">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QScrollBar {
width: 40px;
background-color: rgba(85, 87, 83, 0.7);
}</string>
</property>
</widget>
</item>
<item row="8" column="0" colspan="2">
<layout class="QFormLayout" name="formLayout_8">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_17">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/ico_warning.png&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_18">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>If you select a subfolder the player will start with listing the files inside this folder (on system start).</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_19">
<property name="text">
<string>Last Played Index</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="mp3track">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="0">
<item row="0" column="0">
<widget class="QCheckBox" name="checkBoxAutoPlay">
<property name="text">
<string>auto play</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="label_16">
<item row="0" column="1">
<widget class="QLabel" name="label_AutoPlay">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
@ -5660,6 +5530,205 @@ QComboBox::item:selected {
</item>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QComboBox" name="comboBoxHardwareRTC">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QScrollBar {
width: 40px;
background-color: rgba(85, 87, 83, 0.7);
}
QComboBox::item {
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}
QComboBox::item:selected {
background-color: rgb(78, 154, 6);
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}</string>
</property>
<item>
<property name="text">
<string>none</string>
</property>
</item>
<item>
<property name="text">
<string>abx80x</string>
</property>
</item>
<item>
<property name="text">
<string>ds1307</string>
</property>
</item>
<item>
<property name="text">
<string>ds1339</string>
</property>
</item>
<item>
<property name="text">
<string>ds3231</string>
</property>
</item>
<item>
<property name="text">
<string>mcp7940x</string>
</property>
</item>
<item>
<property name="text">
<string>mcp7941x</string>
</property>
</item>
<item>
<property name="text">
<string>pcf2127</string>
</property>
</item>
<item>
<property name="text">
<string>pcf8523</string>
</property>
</item>
<item>
<property name="text">
<string>pcf8563</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QWidget" name="formWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QFormLayout" name="formLayout_7">
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>0</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 row="0" column="0">
<widget class="QLabel" name="labelHardwareTZ">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>Timezone</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboBoxTZ">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QScrollBar {
width: 40px;
background-color: rgba(85, 87, 83, 0.7);
}
QComboBox::item {
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}
QComboBox::item:selected {
background-color: rgb(78, 154, 6);
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelHardwareRTC">
<property name="sizePolicy">
@ -5679,172 +5748,7 @@ QComboBox::item:selected {
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="comboBoxHardwareRTC">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QScrollBar {
width: 40px;
background-color: rgba(85, 87, 83, 0.7);
}
QComboBox::item {
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}
QComboBox::item:selected {
background-color: rgb(78, 154, 6);
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}</string>
</property>
<item>
<property name="text">
<string>none</string>
</property>
</item>
<item>
<property name="text">
<string>abx80x</string>
</property>
</item>
<item>
<property name="text">
<string>ds1307</string>
</property>
</item>
<item>
<property name="text">
<string>ds1339</string>
</property>
</item>
<item>
<property name="text">
<string>ds3231</string>
</property>
</item>
<item>
<property name="text">
<string>mcp7940x</string>
</property>
</item>
<item>
<property name="text">
<string>mcp7941x</string>
</property>
</item>
<item>
<property name="text">
<string>pcf2127</string>
</property>
</item>
<item>
<property name="text">
<string>pcf8523</string>
</property>
</item>
<item>
<property name="text">
<string>pcf8563</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelHardwareTZ">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>Timezone</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="comboBoxTZ">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QScrollBar {
width: 40px;
background-color: rgba(85, 87, 83, 0.7);
}
QComboBox::item {
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}
QComboBox::item:selected {
background-color: rgb(78, 154, 6);
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="labelHardwareCam">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -5863,7 +5767,7 @@ QComboBox::item:selected {
</property>
</widget>
</item>
<item row="3" column="1">
<item row="2" column="1">
<widget class="QComboBox" name="comboBoxCam">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -5921,7 +5825,7 @@ QComboBox::item:selected {
</item>
</widget>
</item>
<item row="4" column="0">
<item row="3" column="0">
<widget class="QLabel" name="labelHardwareBluetooth">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -5940,7 +5844,7 @@ QComboBox::item:selected {
</property>
</widget>
</item>
<item row="4" column="1">
<item row="3" column="1">
<widget class="QComboBox" name="comboBoxBluetooth">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -6003,7 +5907,7 @@ QComboBox::item:selected {
</item>
</widget>
</item>
<item row="5" column="0">
<item row="4" column="0">
<widget class="QLabel" name="labelHardwareSDOC">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@ -6022,7 +5926,7 @@ QComboBox::item:selected {
</property>
</widget>
</item>
<item row="5" column="1">
<item row="4" column="1">
<widget class="QComboBox" name="comboBoxSDOC">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -6080,6 +5984,71 @@ QComboBox::item:selected {
</item>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="labelHardwareLS">
<property name="text">
<string>Lightsensor</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="comboBoxLS">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QScrollBar {
width: 40px;
background-color: rgba(85, 87, 83, 0.7);
}
QComboBox::item {
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}
QComboBox::item:selected {
background-color: rgb(78, 154, 6);
padding-top: 6px;
padding-bottom: 6px;
height: 32px;
min-height: 32px;
}</string>
</property>
<item>
<property name="text">
<string>none</string>
</property>
</item>
<item>
<property name="text">
<string>enabled (tsl2561)</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>