diff options
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/detailsdialog.cpp | 2 | ||||
| -rw-r--r-- | src/qmmpui/forms/detailsdialog.ui | 73 |
2 files changed, 52 insertions, 23 deletions
diff --git a/src/qmmpui/detailsdialog.cpp b/src/qmmpui/detailsdialog.cpp index 1c967e6e2..2b936bc0f 100644 --- a/src/qmmpui/detailsdialog.cpp +++ b/src/qmmpui/detailsdialog.cpp @@ -46,6 +46,8 @@ DetailsDialog::DetailsDialog(QList<PlayListTrack *> tracks, QWidget *parent) setWindowTitle (m_path.section('/',-1)); m_ui->pathEdit->setText(m_path); m_ui->directoryButton->setIcon(QApplication::style()->standardIcon(QStyle::SP_DirOpenIcon)); + m_ui->nextButton->setIcon(QApplication::style()->standardIcon(QStyle::SP_ArrowRight)); + m_ui->prevButton->setIcon(QApplication::style()->standardIcon(QStyle::SP_ArrowLeft)); m_metaDataModel = MetaDataManager::instance()->createMetaDataModel(m_item->url(), this); if(m_metaDataModel) diff --git a/src/qmmpui/forms/detailsdialog.ui b/src/qmmpui/forms/detailsdialog.ui index e7855f2f7..ca53bb78a 100644 --- a/src/qmmpui/forms/detailsdialog.ui +++ b/src/qmmpui/forms/detailsdialog.ui @@ -23,33 +23,67 @@ <property name="bottomMargin"> <number>6</number> </property> - <item row="0" column="0"> - <widget class="QLineEdit" name="pathEdit"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <item row="0" column="4"> + <widget class="QToolButton" name="directoryButton"> + <property name="toolTip"> + <string>Open the directory containing this file</string> </property> - <property name="readOnly"> + <property name="text"> + <string>...</string> + </property> + <property name="autoRaise"> <bool>true</bool> </property> </widget> </item> - <item row="0" column="1"> - <widget class="QToolButton" name="directoryButton"> - <property name="toolTip"> - <string>Open the directory containing this file</string> + <item row="2" column="0"> + <widget class="QToolButton" name="prevButton"> + <property name="text"> + <string notr="true"><</string> </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QToolButton" name="nextButton"> <property name="text"> - <string>...</string> + <string notr="true">></string> </property> <property name="autoRaise"> <bool>true</bool> </property> </widget> </item> - <item row="1" column="0" colspan="2"> + <item row="2" column="2"> + <widget class="QLabel" name="pageLabel"> + <property name="text"> + <string notr="true">-/-</string> + </property> + </widget> + </item> + <item row="2" column="3" colspan="2"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set> + </property> + </widget> + </item> + <item row="0" column="0" colspan="4"> + <widget class="QLineEdit" name="pathEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0" colspan="5"> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> <number>0</number> @@ -71,8 +105,8 @@ <string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string> +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;"><br /></p></body></html></string> </property> </widget> </item> @@ -80,13 +114,6 @@ p, li { white-space: pre-wrap; } </widget> </widget> </item> - <item row="2" column="0" colspan="2"> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="standardButtons"> - <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set> - </property> - </widget> - </item> </layout> </widget> <resources/> |
