mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 23:57:34 +02:00
* Renamed contextual view to 'Footnotes'.
This commit is contained in:
@@ -87,7 +87,6 @@ ContextWidget::ContextWidget( QWidget* parent )
|
|||||||
boldFont.setPixelSize( 12 );
|
boldFont.setPixelSize( 12 );
|
||||||
boldFont.setBold( true );
|
boldFont.setBold( true );
|
||||||
ui->toggleButton->setFont( boldFont );
|
ui->toggleButton->setFont( boldFont );
|
||||||
ui->toggleButton->setText( tr( "Open Dashboard" ) );
|
|
||||||
|
|
||||||
setAutoFillBackground( true );
|
setAutoFillBackground( true );
|
||||||
setFixedHeight( m_minHeight );
|
setFixedHeight( m_minHeight );
|
||||||
@@ -239,15 +238,12 @@ ContextWidget::toggleSize()
|
|||||||
|
|
||||||
if ( height() == m_minHeight )
|
if ( height() == m_minHeight )
|
||||||
{
|
{
|
||||||
ui->toggleButton->setText( tr( "Close Dashboard" ) );
|
|
||||||
|
|
||||||
m_timeLine->setFrameRange( height(), m_maxHeight );
|
m_timeLine->setFrameRange( height(), m_maxHeight );
|
||||||
m_timeLine->setDirection( QTimeLine::Forward );
|
m_timeLine->setDirection( QTimeLine::Forward );
|
||||||
m_timeLine->start();
|
m_timeLine->start();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui->toggleButton->setText( tr( "Open Dashboard" ) );
|
|
||||||
m_visible = false;
|
m_visible = false;
|
||||||
ui->contextView->hide();
|
ui->contextView->hide();
|
||||||
|
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Dashboard</string>
|
<string>Footnotes</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
Reference in New Issue
Block a user