Browse Source

Improved alternative speed limits icons

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
81ecb5c7c8
  1. BIN
      src/Icons/slow.png
  2. BIN
      src/Icons/slow48.png
  3. BIN
      src/Icons/slow_off.png
  4. 5
      src/icons.qrc
  5. 4
      src/statusbar.h
  6. 56
      src/ui/options.ui

BIN
src/Icons/slow.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

BIN
src/Icons/slow48.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
src/Icons/slow_off.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 B

5
src/icons.qrc

@ -1,18 +1,17 @@
<!DOCTYPE RCC><RCC version="1.0"> <!DOCTYPE RCC><RCC version="1.0">
<qresource> <qresource>
<file>Icons/slow48.png</file>
<file>Icons/rss32.png</file> <file>Icons/rss32.png</file>
<file>Icons/sphere2.png</file> <file>Icons/sphere2.png</file>
<file>Icons/downarrow.png</file> <file>Icons/downarrow.png</file>
<file>Icons/url.png</file> <file>Icons/url.png</file>
<file>Icons/locale.png</file> <file>Icons/locale.png</file>
<file>Icons/loading.png</file> <file>Icons/loading.png</file>
<file>Icons/slow.png</file> <file>Icons/slow_off.gif</file>
<file>Icons/magnet.png</file> <file>Icons/magnet.png</file>
<file>Icons/sphere.png</file> <file>Icons/sphere.png</file>
<file>Icons/slow_off.png</file>
<file>Icons/uparrow.png</file> <file>Icons/uparrow.png</file>
<file>Icons/rss16.png</file> <file>Icons/rss16.png</file>
<file>Icons/slow.gif</file>
<file>Icons/skin/checkingUP.png</file> <file>Icons/skin/checkingUP.png</file>
<file>Icons/skin/bg-handle-horizontal.gif</file> <file>Icons/skin/bg-handle-horizontal.gif</file>
<file>Icons/skin/play.png</file> <file>Icons/skin/play.png</file>

4
src/statusbar.h

@ -190,10 +190,10 @@ public slots:
void updateAltSpeedsBtn(bool alternative) { void updateAltSpeedsBtn(bool alternative) {
if(alternative) { if(alternative) {
altSpeedsBtn->setIcon(QIcon(":/Icons/slow.png")); altSpeedsBtn->setIcon(QIcon(":/Icons/slow.gif"));
altSpeedsBtn->setToolTip(tr("Click to disable alternative speed limits")); altSpeedsBtn->setToolTip(tr("Click to disable alternative speed limits"));
} else { } else {
altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.png")); altSpeedsBtn->setIcon(QIcon(":/Icons/slow_off.gif"));
altSpeedsBtn->setToolTip(tr("Click to enable alternative speed limits")); altSpeedsBtn->setToolTip(tr("Click to enable alternative speed limits"));
} }
} }

56
src/ui/options.ui

@ -221,7 +221,7 @@
</widget> </widget>
<widget class="QStackedWidget" name="tabOption"> <widget class="QStackedWidget" name="tabOption">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>3</number>
</property> </property>
<widget class="QWidget" name="tabOptionPage1"> <widget class="QWidget" name="tabOptionPage1">
<layout class="QVBoxLayout" name="verticalLayout_10"> <layout class="QVBoxLayout" name="verticalLayout_10">
@ -241,8 +241,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>513</width> <width>515</width>
<height>565</height> <height>543</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_9">
@ -555,8 +555,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>631</width> <width>658</width>
<height>694</height> <height>684</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_17"> <layout class="QVBoxLayout" name="verticalLayout_17">
@ -729,6 +729,18 @@ QGroupBox {
<attribute name="verticalHeaderVisible"> <attribute name="verticalHeaderVisible">
<bool>false</bool> <bool>false</bool>
</attribute> </attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>80</number>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
@ -1099,8 +1111,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>447</width> <width>524</width>
<height>294</height> <height>398</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_28"> <layout class="QVBoxLayout" name="verticalLayout_28">
@ -1344,8 +1356,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>364</width> <width>524</width>
<height>333</height> <height>406</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_33"> <layout class="QVBoxLayout" name="verticalLayout_33">
@ -1576,10 +1588,10 @@ QGroupBox {
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="../icons.qrc">:/Icons/slow48.png</pixmap> <pixmap resource="../icons.qrc">:/Icons/slow.gif</pixmap>
</property> </property>
<property name="scaledContents"> <property name="scaledContents">
<bool>true</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
@ -1749,8 +1761,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>459</width> <width>482</width>
<height>422</height> <height>407</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_20"> <layout class="QVBoxLayout" name="verticalLayout_20">
@ -2166,7 +2178,7 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>426</width> <width>496</width>
<height>308</height> <height>308</height>
</rect> </rect>
</property> </property>
@ -2600,8 +2612,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>287</width> <width>296</width>
<height>123</height> <height>124</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_21"> <layout class="QVBoxLayout" name="verticalLayout_21">
@ -2697,8 +2709,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>213</width> <width>226</width>
<height>220</height> <height>221</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_23"> <layout class="QVBoxLayout" name="verticalLayout_23">
@ -2864,8 +2876,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>445</width> <width>459</width>
<height>195</height> <height>192</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_24"> <layout class="QVBoxLayout" name="verticalLayout_24">
@ -3039,8 +3051,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>96</width> <width>98</width>
<height>26</height> <height>28</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_36"/> <layout class="QVBoxLayout" name="verticalLayout_36"/>

Loading…
Cancel
Save