Add album next/prev and optimize gui
This commit is contained in:
parent
f2e27a8d64
commit
c7772617a3
@ -121,13 +121,16 @@ private slots:
|
|||||||
void on_mp3List_itemClicked(QListWidgetItem *item);
|
void on_mp3List_itemClicked(QListWidgetItem *item);
|
||||||
void metaDataChanged();
|
void metaDataChanged();
|
||||||
void on_pushButtonPlayerPlayList_clicked();
|
void on_pushButtonPlayerPlayList_clicked();
|
||||||
void on_pushButtonNextBig_clicked();
|
void on_pushButtonPlayerNextBig_clicked();
|
||||||
void on_pushButtonPrevBig_clicked();
|
void on_pushButtonPlayerPrevBig_clicked();
|
||||||
|
void on_pushButtonPlayerPrevAlbum_clicked();
|
||||||
|
void on_pushButtonPlayerNextAlbum_clicked();
|
||||||
void on_comboBoxAlbum_currentIndexChanged(const QString &arg1);
|
void on_comboBoxAlbum_currentIndexChanged(const QString &arg1);
|
||||||
void on_mp3List_currentRowChanged(int currentRow);
|
void on_mp3List_currentRowChanged(int currentRow);
|
||||||
void scanFolders();
|
void scanFolders();
|
||||||
void scanFiles();
|
void scanFiles();
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::MainWindow* ui_;
|
Ui::MainWindow* ui_;
|
||||||
QString brightnessFilename = "/sys/class/backlight/rpi_backlight/brightness";
|
QString brightnessFilename = "/sys/class/backlight/rpi_backlight/brightness";
|
||||||
|
@ -1224,6 +1224,7 @@ void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerStop_clicked()
|
|||||||
ui_->PlayerPlayingWidget->hide();
|
ui_->PlayerPlayingWidget->hide();
|
||||||
ui_->playerPositionTime->setText("00:00 / 00:00");
|
ui_->playerPositionTime->setText("00:00 / 00:00");
|
||||||
ui_->labelCurrentPlaying->setText("");
|
ui_->labelCurrentPlaying->setText("");
|
||||||
|
ui_->labelTrack->setText("");
|
||||||
}
|
}
|
||||||
|
|
||||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPause_clicked()
|
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPause_clicked()
|
||||||
@ -1305,6 +1306,9 @@ void f1x::openauto::autoapp::ui::MainWindow::metaDataChanged()
|
|||||||
}
|
}
|
||||||
QString Title = player->metaData(QMediaMetaData::Title).toString();
|
QString Title = player->metaData(QMediaMetaData::Title).toString();
|
||||||
QString AlbumInterpret = player->metaData(QMediaMetaData::AlbumArtist).toString();
|
QString AlbumInterpret = player->metaData(QMediaMetaData::AlbumArtist).toString();
|
||||||
|
if (AlbumInterpret == "" && ui_->comboBoxAlbum->currentText() != ".") {
|
||||||
|
AlbumInterpret = ui_->comboBoxAlbum->currentText();
|
||||||
|
}
|
||||||
QString currentPlaying = "";
|
QString currentPlaying = "";
|
||||||
if (AlbumInterpret != "") {
|
if (AlbumInterpret != "") {
|
||||||
currentPlaying.append(AlbumInterpret);
|
currentPlaying.append(AlbumInterpret);
|
||||||
@ -1318,6 +1322,8 @@ void f1x::openauto::autoapp::ui::MainWindow::metaDataChanged()
|
|||||||
ui_->labelCurrentPlaying->setText(currentPlaying);
|
ui_->labelCurrentPlaying->setText(currentPlaying);
|
||||||
QString fullpathplaying = player->currentMedia().canonicalUrl().toString();
|
QString fullpathplaying = player->currentMedia().canonicalUrl().toString();
|
||||||
QString filename = QFileInfo(fullpathplaying).fileName();
|
QString filename = QFileInfo(fullpathplaying).fileName();
|
||||||
|
ui_->labelTrack->setText(QString::number(playlist->currentIndex()+1));
|
||||||
|
ui_->labelTrackCount->setText(QString::number(playlist->mediaCount()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPlayList_clicked()
|
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPlayList_clicked()
|
||||||
@ -1328,6 +1334,8 @@ void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPlayList_clicked
|
|||||||
ui_->mp3selectWidget->hide();
|
ui_->mp3selectWidget->hide();
|
||||||
ui_->PlayerPlayingWidget->show();
|
ui_->PlayerPlayingWidget->show();
|
||||||
ui_->pushButtonPlayerPause->setStyleSheet( "background-color: rgb(233, 185, 110); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5); color: rgb(0,0,0);");
|
ui_->pushButtonPlayerPause->setStyleSheet( "background-color: rgb(233, 185, 110); border-radius: 4px; border: 2px solid rgba(255,255,255,0.5); color: rgb(0,0,0);");
|
||||||
|
int currentalbum = ui_->comboBoxAlbum->currentIndex();
|
||||||
|
ui_->labelCurrentAlbumIndex->setText(QString::number(currentalbum+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
void f1x::openauto::autoapp::ui::MainWindow::on_comboBoxAlbum_currentIndexChanged(const QString &arg1)
|
void f1x::openauto::autoapp::ui::MainWindow::on_comboBoxAlbum_currentIndexChanged(const QString &arg1)
|
||||||
@ -1348,6 +1356,7 @@ void f1x::openauto::autoapp::ui::MainWindow::scanFolders()
|
|||||||
foreach (QString foldername, folders) {
|
foreach (QString foldername, folders) {
|
||||||
if (foldername != "..") {
|
if (foldername != "..") {
|
||||||
ui_->comboBoxAlbum->addItem(foldername);
|
ui_->comboBoxAlbum->addItem(foldername);
|
||||||
|
ui_->labelAlbumCount->setText(QString::number(ui_->comboBoxAlbum->count()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this->currentPlaylistIndex = 0;
|
this->currentPlaylistIndex = 0;
|
||||||
@ -1381,12 +1390,46 @@ void f1x::openauto::autoapp::ui::MainWindow::on_mp3List_currentRowChanged(int cu
|
|||||||
this->currentPlaylistIndex = currentRow;
|
this->currentPlaylistIndex = currentRow;
|
||||||
}
|
}
|
||||||
|
|
||||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonNextBig_clicked()
|
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerNextBig_clicked()
|
||||||
{
|
{
|
||||||
playlist->next();
|
playlist->next();
|
||||||
}
|
}
|
||||||
|
|
||||||
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPrevBig_clicked()
|
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPrevBig_clicked()
|
||||||
{
|
{
|
||||||
playlist->previous();
|
playlist->previous();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerPrevAlbum_clicked()
|
||||||
|
{
|
||||||
|
int albumcount = ui_->comboBoxAlbum->count();
|
||||||
|
int currentalbum = ui_->comboBoxAlbum->currentIndex();
|
||||||
|
if (currentalbum >= 1) {
|
||||||
|
currentalbum = currentalbum-1;
|
||||||
|
ui_->comboBoxAlbum->setCurrentIndex(currentalbum);
|
||||||
|
ui_->labelCurrentAlbumIndex->setText(QString::number(currentalbum+1));
|
||||||
|
player->play();
|
||||||
|
} else {
|
||||||
|
currentalbum = albumcount-1;
|
||||||
|
ui_->comboBoxAlbum->setCurrentIndex(currentalbum);
|
||||||
|
ui_->labelCurrentAlbumIndex->setText(QString::number(currentalbum+1));
|
||||||
|
player->play();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void f1x::openauto::autoapp::ui::MainWindow::on_pushButtonPlayerNextAlbum_clicked()
|
||||||
|
{
|
||||||
|
int albumcount = ui_->comboBoxAlbum->count();
|
||||||
|
int currentalbum = ui_->comboBoxAlbum->currentIndex();
|
||||||
|
if (currentalbum < albumcount-1) {
|
||||||
|
currentalbum = currentalbum + 1;
|
||||||
|
ui_->comboBoxAlbum->setCurrentIndex(currentalbum);
|
||||||
|
ui_->labelCurrentAlbumIndex->setText(QString::number(currentalbum+1));
|
||||||
|
player->play();
|
||||||
|
} else {
|
||||||
|
currentalbum = 0;
|
||||||
|
ui_->comboBoxAlbum->setCurrentIndex(currentalbum);
|
||||||
|
ui_->labelCurrentAlbumIndex->setText(QString::number(currentalbum+1));
|
||||||
|
player->play();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>936</width>
|
<width>956</width>
|
||||||
<height>1286</height>
|
<height>1296</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@ -2302,6 +2302,9 @@ outline: none;
|
|||||||
<property name="horizontalScrollBarPolicy">
|
<property name="horizontalScrollBarPolicy">
|
||||||
<enum>Qt::ScrollBarAsNeeded</enum>
|
<enum>Qt::ScrollBarAsNeeded</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="sizeAdjustPolicy">
|
||||||
|
<enum>QAbstractScrollArea::AdjustIgnored</enum>
|
||||||
|
</property>
|
||||||
<property name="autoScrollMargin">
|
<property name="autoScrollMargin">
|
||||||
<number>16</number>
|
<number>16</number>
|
||||||
</property>
|
</property>
|
||||||
@ -2311,10 +2314,19 @@ outline: none;
|
|||||||
<property name="movement">
|
<property name="movement">
|
||||||
<enum>QListView::Static</enum>
|
<enum>QListView::Static</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isWrapping" stdset="0">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="resizeMode">
|
||||||
|
<enum>QListView::Adjust</enum>
|
||||||
|
</property>
|
||||||
|
<property name="layoutMode">
|
||||||
|
<enum>QListView::SinglePass</enum>
|
||||||
|
</property>
|
||||||
<property name="gridSize">
|
<property name="gridSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>0</width>
|
||||||
<height>20</height>
|
<height>30</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="viewMode">
|
<property name="viewMode">
|
||||||
@ -2323,6 +2335,86 @@ outline: none;
|
|||||||
<property name="sortingEnabled">
|
<property name="sortingEnabled">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Neues Element</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
@ -2353,82 +2445,225 @@ outline: none;
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton">
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||||
<property name="sizePolicy">
|
<item>
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
||||||
<horstretch>0</horstretch>
|
<item>
|
||||||
<verstretch>0</verstretch>
|
<spacer name="horizontalSpacer_3">
|
||||||
</sizepolicy>
|
<property name="orientation">
|
||||||
</property>
|
<enum>Qt::Horizontal</enum>
|
||||||
<property name="minimumSize">
|
</property>
|
||||||
<size>
|
<property name="sizeHint" stdset="0">
|
||||||
<width>100</width>
|
<size>
|
||||||
<height>0</height>
|
<width>40</width>
|
||||||
</size>
|
<height>20</height>
|
||||||
</property>
|
</size>
|
||||||
<property name="maximumSize">
|
</property>
|
||||||
<size>
|
</spacer>
|
||||||
<width>100</width>
|
</item>
|
||||||
<height>16777215</height>
|
<item>
|
||||||
</size>
|
<widget class="QLabel" name="label_4">
|
||||||
</property>
|
<property name="sizePolicy">
|
||||||
<property name="styleSheet">
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
<string notr="true">outline: none;</string>
|
<horstretch>0</horstretch>
|
||||||
</property>
|
<verstretch>0</verstretch>
|
||||||
<property name="text">
|
</sizepolicy>
|
||||||
<string/>
|
</property>
|
||||||
</property>
|
<property name="font">
|
||||||
<property name="icon">
|
<font>
|
||||||
<iconset>
|
<pointsize>12</pointsize>
|
||||||
<normalon>:/prevbig-hot.png</normalon>
|
<weight>75</weight>
|
||||||
</iconset>
|
<bold>true</bold>
|
||||||
</property>
|
</font>
|
||||||
<property name="iconSize">
|
</property>
|
||||||
<size>
|
<property name="styleSheet">
|
||||||
<width>128</width>
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||||
<height>140</height>
|
</property>
|
||||||
</size>
|
<property name="text">
|
||||||
</property>
|
<string>Title</string>
|
||||||
</widget>
|
</property>
|
||||||
</item>
|
</widget>
|
||||||
<item>
|
</item>
|
||||||
<widget class="QPushButton" name="pushButtonPrevBig">
|
<item>
|
||||||
<property name="sizePolicy">
|
<widget class="QLabel" name="labelTrack">
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
<property name="sizePolicy">
|
||||||
<horstretch>0</horstretch>
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
<verstretch>0</verstretch>
|
<horstretch>0</horstretch>
|
||||||
</sizepolicy>
|
<verstretch>0</verstretch>
|
||||||
</property>
|
</sizepolicy>
|
||||||
<property name="minimumSize">
|
</property>
|
||||||
<size>
|
<property name="font">
|
||||||
<width>100</width>
|
<font>
|
||||||
<height>0</height>
|
<pointsize>12</pointsize>
|
||||||
</size>
|
<weight>75</weight>
|
||||||
</property>
|
<bold>true</bold>
|
||||||
<property name="maximumSize">
|
</font>
|
||||||
<size>
|
</property>
|
||||||
<width>100</width>
|
<property name="styleSheet">
|
||||||
<height>16777215</height>
|
<string notr="true">color: rgb(255, 255, 255);
|
||||||
</size>
|
background-color: rgba(0, 0, 0, 0);</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="text">
|
||||||
<string notr="true">outline: none;</string>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="alignment">
|
||||||
<string/>
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
</widget>
|
||||||
<iconset>
|
</item>
|
||||||
<normalon>:/prevbig-hot.png</normalon>
|
<item>
|
||||||
</iconset>
|
<widget class="QLabel" name="labelTrackDash">
|
||||||
</property>
|
<property name="sizePolicy">
|
||||||
<property name="iconSize">
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||||
<size>
|
<horstretch>0</horstretch>
|
||||||
<width>128</width>
|
<verstretch>0</verstretch>
|
||||||
<height>160</height>
|
</sizepolicy>
|
||||||
</size>
|
</property>
|
||||||
</property>
|
<property name="minimumSize">
|
||||||
</widget>
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>/</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labelTrackCount">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_4">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButtonPlayerPrevAlbum">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">outline: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset>
|
||||||
|
<normalon>:/prevbig-hot.png</normalon>
|
||||||
|
</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>128</width>
|
||||||
|
<height>140</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButtonPlayerPrevBig">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">outline: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset>
|
||||||
|
<normalon>:/prevbig-hot.png</normalon>
|
||||||
|
</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>128</width>
|
||||||
|
<height>160</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButtonBack">
|
<widget class="QPushButton" name="pushButtonBack">
|
||||||
@ -2477,82 +2712,236 @@ outline: none;</string>
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButtonNextBig">
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
||||||
<property name="sizePolicy">
|
<item>
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
||||||
<horstretch>0</horstretch>
|
<item>
|
||||||
<verstretch>0</verstretch>
|
<spacer name="horizontalSpacer">
|
||||||
</sizepolicy>
|
<property name="orientation">
|
||||||
</property>
|
<enum>Qt::Horizontal</enum>
|
||||||
<property name="minimumSize">
|
</property>
|
||||||
<size>
|
<property name="sizeHint" stdset="0">
|
||||||
<width>100</width>
|
<size>
|
||||||
<height>0</height>
|
<width>1</width>
|
||||||
</size>
|
<height>1</height>
|
||||||
</property>
|
</size>
|
||||||
<property name="maximumSize">
|
</property>
|
||||||
<size>
|
</spacer>
|
||||||
<width>100</width>
|
</item>
|
||||||
<height>16777215</height>
|
<item>
|
||||||
</size>
|
<widget class="QLabel" name="labelAlbum">
|
||||||
</property>
|
<property name="sizePolicy">
|
||||||
<property name="styleSheet">
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
<string notr="true">outline: none;</string>
|
<horstretch>0</horstretch>
|
||||||
</property>
|
<verstretch>0</verstretch>
|
||||||
<property name="text">
|
</sizepolicy>
|
||||||
<string/>
|
</property>
|
||||||
</property>
|
<property name="font">
|
||||||
<property name="icon">
|
<font>
|
||||||
<iconset>
|
<pointsize>12</pointsize>
|
||||||
<normalon>:/nextbig-hot.png</normalon>
|
<weight>75</weight>
|
||||||
</iconset>
|
<bold>true</bold>
|
||||||
</property>
|
</font>
|
||||||
<property name="iconSize">
|
</property>
|
||||||
<size>
|
<property name="styleSheet">
|
||||||
<width>128</width>
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||||
<height>160</height>
|
</property>
|
||||||
</size>
|
<property name="text">
|
||||||
</property>
|
<string>Album</string>
|
||||||
</widget>
|
</property>
|
||||||
</item>
|
<property name="alignment">
|
||||||
<item>
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
<widget class="QPushButton" name="pushButton_2">
|
</property>
|
||||||
<property name="sizePolicy">
|
</widget>
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
</item>
|
||||||
<horstretch>0</horstretch>
|
<item>
|
||||||
<verstretch>0</verstretch>
|
<widget class="QLabel" name="labelCurrentAlbumIndex">
|
||||||
</sizepolicy>
|
<property name="sizePolicy">
|
||||||
</property>
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
<property name="minimumSize">
|
<horstretch>0</horstretch>
|
||||||
<size>
|
<verstretch>0</verstretch>
|
||||||
<width>100</width>
|
</sizepolicy>
|
||||||
<height>0</height>
|
</property>
|
||||||
</size>
|
<property name="font">
|
||||||
</property>
|
<font>
|
||||||
<property name="maximumSize">
|
<pointsize>12</pointsize>
|
||||||
<size>
|
<weight>75</weight>
|
||||||
<width>100</width>
|
<bold>true</bold>
|
||||||
<height>16777215</height>
|
</font>
|
||||||
</size>
|
</property>
|
||||||
</property>
|
<property name="styleSheet">
|
||||||
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||||
<string notr="true">outline: none;</string>
|
</property>
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="text">
|
<string/>
|
||||||
<string/>
|
</property>
|
||||||
</property>
|
<property name="alignment">
|
||||||
<property name="icon">
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
<iconset>
|
</property>
|
||||||
<normalon>:/nextbig-hot.png</normalon>
|
</widget>
|
||||||
</iconset>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
<property name="iconSize">
|
<widget class="QLabel" name="labelAlbumDash">
|
||||||
<size>
|
<property name="sizePolicy">
|
||||||
<width>128</width>
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||||
<height>140</height>
|
<horstretch>0</horstretch>
|
||||||
</size>
|
<verstretch>0</verstretch>
|
||||||
</property>
|
</sizepolicy>
|
||||||
</widget>
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>/</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labelAlbumCount">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>1</width>
|
||||||
|
<height>1</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButtonPlayerNextBig">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">outline: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset>
|
||||||
|
<normalon>:/nextbig-hot.png</normalon>
|
||||||
|
</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>128</width>
|
||||||
|
<height>160</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButtonPlayerNextAlbum">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">outline: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset>
|
||||||
|
<normalon>:/nextbig-hot.png</normalon>
|
||||||
|
</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>128</width>
|
||||||
|
<height>140</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
@ -2678,7 +3067,7 @@ color: rgb(255, 255, 255);</string>
|
|||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>150</width>
|
<width>150</width>
|
||||||
<height>17</height>
|
<height>16</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
@ -2708,13 +3097,13 @@ background-color: rgba(0, 0, 0, 0);</string>
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>0</width>
|
||||||
<height>10</height>
|
<height>20</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>16777215</width>
|
||||||
<height>10</height>
|
<height>20</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="layoutDirection">
|
<property name="layoutDirection">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user