[Marble-commits] branches/KDE/4.5/kdeedu/marble
Torsten Rahn
tackat at kde.org
Sat Aug 21 18:17:49 CEST 2010
SVN commit 1166356 by rahn:
- Icon refresh for Qt-Only version
- Should fix icons not being displayed in the plugins dialog
M +0 -2 data/CMakeLists.txt
D data/svg/configure.svgz
D data/svg/help-about.svgz
M +4 -4 src/QtMainWindow.cpp
M src/icons/application-exit.png
M src/icons/document-open.png
M src/icons/edit-copy.png
M src/icons/zoom-in.png
M src/icons/zoom-out.png
M +2 -2 src/lib/QtMarbleConfigDialog.cpp
M +6 -1 src/marble.qrc
--- branches/KDE/4.5/kdeedu/marble/data/CMakeLists.txt #1166355:1166356
@@ -37,8 +37,6 @@
svg/coordinate.svg
svg/wikipedia.svg
svg/wikipedia_shadow.svg
-svg/help-about.svgz
-svg/configure.svgz
DESTINATION ${MARBLE_DATA_INSTALL_PATH}/svg)
FILE (GLOB SVG_FILES flags/*.svg)
--- branches/KDE/4.5/kdeedu/marble/src/QtMainWindow.cpp #1166355:1166356
@@ -147,7 +147,7 @@
m_copyMapAct->setStatusTip(tr("Copy a screenshot of the map"));
connect(m_copyMapAct, SIGNAL(triggered()), this, SLOT(copyMap()));
- m_configDialogAct = new QAction( tr("&Configure Marble"), this);
+ m_configDialogAct = new QAction( QIcon(":/icons/settings-configure.png"),tr("&Configure Marble"), this);
m_configDialogAct->setStatusTip(tr("Show the configuration dialog"));
connect(m_configDialogAct, SIGNAL(triggered()), this, SLOT(editSettings()));
@@ -155,14 +155,14 @@
m_copyCoordinatesAct->setStatusTip(tr("Copy the center coordinates as text"));
connect(m_copyCoordinatesAct, SIGNAL(triggered()), this, SLOT(copyCoordinates()));
- m_sideBarAct = new QAction( tr("Show &Navigation Panel"), this);
+ m_sideBarAct = new QAction( QIcon(":/icons/view-sidetree.png"), tr("Show &Navigation Panel"), this);
m_sideBarAct->setShortcut(tr("F9"));
m_sideBarAct->setCheckable( true );
m_sideBarAct->setChecked( true );
m_sideBarAct->setStatusTip(tr("Show Navigation Panel"));
connect(m_sideBarAct, SIGNAL(triggered( bool )), this, SLOT( showSideBar( bool )));
- m_fullScreenAct = new QAction( tr("&Full Screen Mode"), this);
+ m_fullScreenAct = new QAction( QIcon(":/icons/view-fullscreen.png"), tr("&Full Screen Mode"), this);
m_fullScreenAct->setShortcut(tr("Ctrl+Shift+F"));
m_fullScreenAct->setCheckable( true );
m_fullScreenAct->setStatusTip(tr("Full Screen Mode"));
@@ -197,7 +197,7 @@
m_controlSunAct->setStatusTip(tr("Configure Sun Control"));
connect(m_controlSunAct, SIGNAL(triggered()), this, SLOT( controlSun()));
- m_reloadAct = new QAction( tr("&Redisplay"), this);
+ m_reloadAct = new QAction( QIcon(":/icons/view-refresh.png"), tr("&Redisplay"), this);
m_reloadAct->setShortcut(tr("F5"));
m_reloadAct->setStatusTip(tr("Reload Current Map"));
connect(m_reloadAct, SIGNAL(triggered()), this, SLOT(reload()));
--- branches/KDE/4.5/kdeedu/marble/src/lib/QtMarbleConfigDialog.cpp #1166355:1166356
@@ -146,8 +146,8 @@
tabWidget->addTab( d->w_pluginSettings, tr( "Plugins" ) );
// Setting the icons for the plugin dialog.
- d->w_pluginSettings->setAboutIcon( QIcon( MarbleDirs::path( "svg/help-about.svgz" ) ) );
- d->w_pluginSettings->setConfigIcon( QIcon( MarbleDirs::path( "svg/configure.svgz" ) ) );
+ d->w_pluginSettings->setAboutIcon( QIcon(":/icons/help-about.png") );
+ d->w_pluginSettings->setConfigIcon( QIcon(":/icons/settings-configure.png") );
connect( d->w_pluginSettings, SIGNAL( aboutPluginClicked( QString ) ),
SLOT( showPluginAboutDialog( QString ) ) );
--- branches/KDE/4.5/kdeedu/marble/src/marble.qrc #1166355:1166356
@@ -12,15 +12,20 @@
<file>icons/go-home.png</file>
<file>icons/go-home-large.png</file>
<file>icons/get-hot-new-stuff.png</file>
+ <file>icons/help-about.png</file>
<file>icons/help-contents.png</file>
<file>icons/help-whatsthis.png</file>
<file>icons/map-flat.png</file>
<file>icons/map-globe.png</file>
<file>icons/map-mercator.png</file>
<file>icons/marble.png</file>
- <file>icons/wikipedia.png</file>
+ <file>icons/settings-configure.png</file>
<file>icons/user-online.png</file>
<file>icons/user-offline.png</file>
+ <file>icons/view-fullscreen.png</file>
+ <file>icons/view-sidetree.png</file>
+ <file>icons/view-refresh.png</file>
+ <file>icons/wikipedia.png</file>
<file>icons/zoom-in.png</file>
<file>icons/zoom-out.png</file>
<file>icons/zoom-in-large.png</file>
More information about the Marble-commits
mailing list