#4078 #4094 Improve icons in animation toolbar

This commit is contained in:
Gaute Lindkvist 2019-03-26 12:57:48 +01:00
parent c379a87306
commit b956e6ed70
8 changed files with 7 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 792 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1020 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -12,5 +12,8 @@
<file>PlayBwd.png</file>
<file>Slow.png</file>
<file>Fast.png</file>
<file>SlowHorizontal.png</file>
<file>FastHorizontal.png</file>
<file>Speed.png</file>
</qresource>
</RCC>

View File

@ -94,17 +94,17 @@ void AnimationToolBar::init()
m_animRepeatFromStartAction->setCheckable(true);
m_animSpeedButton = new PopupMenuButton(this);
m_animSpeedButton->setIcon(QIcon(":/cafAnimControl/Fast.png"));
m_animSpeedButton->setIcon(QIcon(":/cafAnimControl/Speed.png"));
m_animSpeedButton->setToolTip("Adjust Animation Speed");
m_frameRateSlowLabel = new QLabel(this);
m_frameRateSlowLabel->setPixmap(QPixmap(":/cafAnimControl/Slow.png"));
m_frameRateSlowLabel->setPixmap(QPixmap(":/cafAnimControl/SlowHorizontal.png"));
m_frameRateSlowLabel->setToolTip(tr("Slow"));
m_frameRateFastLabel = new QLabel(this);
m_frameRateFastLabel->setPixmap(QPixmap(":/cafAnimControl/Fast.png"));
m_frameRateFastLabel->setPixmap(QPixmap(":/cafAnimControl/FastHorizontal.png"));
m_frameRateFastLabel->setToolTip(tr("Fast"));
m_frameRateFastLabel->setAlignment(Qt::AlignRight);
m_frameRateFastLabel->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
m_frameRateSlider = new QSlider(Qt::Horizontal, this);
m_frameRateSlider->setToolTip(tr("Animation speed"));