Major graphical change: add a vertical line between the repeat/playlist buttons and the playlist length label

This commit is contained in:
David Sansome 2010-06-14 16:18:15 +00:00
parent 1e80ac8c5b
commit b6a642ab15
2 changed files with 16 additions and 6 deletions

View File

@ -38,6 +38,12 @@ PlaylistSequence::PlaylistSequence(QWidget *parent, SettingsProvider *settings)
{
ui_->setupUi(this);
// Windows puts lines between status bar widgets already
#ifdef Q_OS_WIN32
ui_->line_left->hide();
ui_->line_right->hide();
#endif
// Icons
ui_->repeat->setIcon(AddDesaturatedIcon(IconLoader::Load("media-playlist-repeat")));
ui_->shuffle->setIcon(AddDesaturatedIcon(IconLoader::Load("media-playlist-shuffle")));

View File

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>62</width>
<width>80</width>
<height>37</height>
</rect>
</property>
@ -15,10 +15,7 @@
border: 0px;
background: transparent;
}
#line {
margin: 3px 0px 3px 0px;
}</string>
</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
@ -27,6 +24,13 @@
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="Line" name="line_left">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="repeat">
<property name="toolTip">
@ -66,7 +70,7 @@
</widget>
</item>
<item>
<widget class="Line" name="line">
<widget class="Line" name="line_right">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>