From: Dirk H Bartley Date: Mon, 30 Jul 2007 23:35:57 +0000 (+0000) Subject: Only use the svg files for the generation of the png files. X-Git-Tag: Release-7.0.0~5919 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=197da8d929fd0e433e2ed0f38b62c5fa228cc99c;p=bacula%2Fbacula Only use the svg files for the generation of the png files. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5267 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/clients/clients.cpp b/bacula/src/qt-console/clients/clients.cpp index 267820a2a6..93cfa7a51a 100644 --- a/bacula/src/qt-console/clients/clients.cpp +++ b/bacula/src/qt-console/clients/clients.cpp @@ -47,7 +47,7 @@ Clients::Clients() m_name = "Clients"; pgInitialize(); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); - thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/network-server.svg"))); + thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/network-server.png"))); /* mp_treeWidget, Storage Tree Tree Widget inherited from ui_client.h */ m_populated = false; diff --git a/bacula/src/qt-console/clients/clients.ui b/bacula/src/qt-console/clients/clients.ui index 888aab5a8d..0f69dbc51d 100644 --- a/bacula/src/qt-console/clients/clients.ui +++ b/bacula/src/qt-console/clients/clients.ui @@ -25,7 +25,7 @@ - :/images/view-refresh.svg + :/images/view-refresh.png Refresh Client List @@ -36,7 +36,7 @@ - :/images/emblem-system.svg + :/images/emblem-system.png List Jobs of Client @@ -58,7 +58,7 @@ - :/images/weather-severe-alert.svg + :/images/weather-severe-alert.png Purge Jobs diff --git a/bacula/src/qt-console/console/console.ui b/bacula/src/qt-console/console/console.ui index e29de7d36c..6d8bcd92a0 100644 --- a/bacula/src/qt-console/console/console.ui +++ b/bacula/src/qt-console/console/console.ui @@ -87,7 +87,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png Console Help @@ -95,7 +95,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png Request Messages @@ -103,7 +103,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png Reload bacula-dir.conf diff --git a/bacula/src/qt-console/fileset/fileset.cpp b/bacula/src/qt-console/fileset/fileset.cpp index e74092b946..2ce029af61 100644 --- a/bacula/src/qt-console/fileset/fileset.cpp +++ b/bacula/src/qt-console/fileset/fileset.cpp @@ -46,7 +46,7 @@ FileSet::FileSet() m_name = "FileSets"; pgInitialize(); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); - thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/system-file-manager.svg"))); + thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/system-file-manager.png"))); /* mp_treeWidget, FileSet Tree Tree Widget inherited from ui_fileset.h */ m_populated = false; diff --git a/bacula/src/qt-console/fileset/fileset.ui b/bacula/src/qt-console/fileset/fileset.ui index edabb21dac..7df6809b30 100644 --- a/bacula/src/qt-console/fileset/fileset.ui +++ b/bacula/src/qt-console/fileset/fileset.ui @@ -25,7 +25,7 @@ - :/images/view-refresh.svg + :/images/view-refresh.png Refresh FileSet List @@ -44,7 +44,7 @@ - :/images/emblem-system.svg + :/images/emblem-system.png ShowJobs diff --git a/bacula/src/qt-console/images/cartridge-edit.png b/bacula/src/qt-console/images/cartridge-edit.png new file mode 100644 index 0000000000..e686ca1da4 Binary files /dev/null and b/bacula/src/qt-console/images/cartridge-edit.png differ diff --git a/bacula/src/qt-console/images/cartridge.png b/bacula/src/qt-console/images/cartridge.png new file mode 100644 index 0000000000..8df920af66 Binary files /dev/null and b/bacula/src/qt-console/images/cartridge.png differ diff --git a/bacula/src/qt-console/images/edit-delete.png b/bacula/src/qt-console/images/edit-delete.png new file mode 100644 index 0000000000..ba2e237d8c Binary files /dev/null and b/bacula/src/qt-console/images/edit-delete.png differ diff --git a/bacula/src/qt-console/images/emblem-system.png b/bacula/src/qt-console/images/emblem-system.png new file mode 100644 index 0000000000..89082dadb2 Binary files /dev/null and b/bacula/src/qt-console/images/emblem-system.png differ diff --git a/bacula/src/qt-console/images/emblem-system.svg b/bacula/src/qt-console/images/emblem-system.svg index 3aba321cea..1d2b5bb9f3 100644 --- a/bacula/src/qt-console/images/emblem-system.svg +++ b/bacula/src/qt-console/images/emblem-system.svg @@ -11,7 +11,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:export-ydpi="90.000000" inkscape:export-xdpi="90.000000" - inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png" + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/emblem-system.png" width="48px" height="48px" id="svg11300" diff --git a/bacula/src/qt-console/images/estimate-job.png b/bacula/src/qt-console/images/estimate-job.png new file mode 100644 index 0000000000..b47d13cc38 Binary files /dev/null and b/bacula/src/qt-console/images/estimate-job.png differ diff --git a/bacula/src/qt-console/images/estimate-job.svg b/bacula/src/qt-console/images/estimate-job.svg index ed8792d117..16326edf4a 100644 --- a/bacula/src/qt-console/images/estimate-job.svg +++ b/bacula/src/qt-console/images/estimate-job.svg @@ -9,9 +9,9 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - inkscape:export-ydpi="90.000000" - inkscape:export-xdpi="90.000000" - inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png" + inkscape:export-ydpi="60" + inkscape:export-xdpi="60" + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/estimate-job.png" width="48px" height="48px" id="svg11300" diff --git a/bacula/src/qt-console/images/help-browser.png b/bacula/src/qt-console/images/help-browser.png new file mode 100644 index 0000000000..e712112a6e Binary files /dev/null and b/bacula/src/qt-console/images/help-browser.png differ diff --git a/bacula/src/qt-console/images/help-browser.svg b/bacula/src/qt-console/images/help-browser.svg index 669dda345f..cc80f77687 100644 --- a/bacula/src/qt-console/images/help-browser.svg +++ b/bacula/src/qt-console/images/help-browser.svg @@ -13,10 +13,12 @@ height="48.000000px" id="svg6361" sodipodi:version="0.32" - inkscape:version="0.43+devel" - sodipodi:docbase="/home/tigert/cvs/freedesktop.org/tango-icon-theme/scalable/apps" + inkscape:version="0.43" + sodipodi:docbase="/home/dbartley/src/bacula/src/qt-console/images" sodipodi:docname="help-browser.svg" - inkscape:output_extension="org.inkscape.output.svg.inkscape"> + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/help-browser.png" + inkscape:export-xdpi="30" + inkscape:export-ydpi="30"> + width="48px" + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/mail-message-new.png" + inkscape:export-xdpi="60" + inkscape:export-ydpi="60"> + width="48px" + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/network-server.png" + inkscape:export-xdpi="30" + inkscape:export-ydpi="30"> + inkscape:version="0.43" + sodipodi:docbase="/home/dbartley/src/bacula/src/qt-console/images" + sodipodi:docname="system-file-manager.svg" + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/system-file-manager.png" + inkscape:export-xdpi="30" + inkscape:export-ydpi="30"> + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/utilities-terminal.png" + inkscape:export-xdpi="30" + inkscape:export-ydpi="30"> diff --git a/bacula/src/qt-console/images/weather-severe-alert.png b/bacula/src/qt-console/images/weather-severe-alert.png new file mode 100644 index 0000000000..7670df3fdb Binary files /dev/null and b/bacula/src/qt-console/images/weather-severe-alert.png differ diff --git a/bacula/src/qt-console/images/weather-severe-alert.svg b/bacula/src/qt-console/images/weather-severe-alert.svg index 1506120821..2e96850da9 100644 --- a/bacula/src/qt-console/images/weather-severe-alert.svg +++ b/bacula/src/qt-console/images/weather-severe-alert.svg @@ -7,15 +7,18 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="48px" height="48px" id="svg1306" sodipodi:version="0.32" - inkscape:version="0.44" - sodipodi:docbase="/home/jimmac/src/cvs/tango-icon-theme/scalable/status" - sodipodi:docname="weather-severe-alert.svg"> + inkscape:version="0.43" + sodipodi:docbase="/home/dbartley/src/bacula/src/qt-console/images" + sodipodi:docname="weather-severe-alert.svg" + inkscape:export-filename="/home/dbartley/src/bacula/src/qt-console/images/weather-severe-alert.png" + inkscape:export-xdpi="30" + inkscape:export-ydpi="30"> Refresh - :/images/view-refresh.svg + :/images/view-refresh.png diff --git a/bacula/src/qt-console/joblist/joblist.cpp b/bacula/src/qt-console/joblist/joblist.cpp index 159ba120fe..376b5c48a6 100644 --- a/bacula/src/qt-console/joblist/joblist.cpp +++ b/bacula/src/qt-console/joblist/joblist.cpp @@ -54,7 +54,7 @@ JobList::JobList(const QString &mediaName, const QString &clientName, m_filesetName = filesetName; pgInitialize(parentTreeWidgetItem); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); - thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/emblem-system.svg"))); + thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/emblem-system.png"))); m_resultCount = 0; m_populated = false; diff --git a/bacula/src/qt-console/joblist/joblist.ui b/bacula/src/qt-console/joblist/joblist.ui index c0ee9eb989..172d2325ff 100644 --- a/bacula/src/qt-console/joblist/joblist.ui +++ b/bacula/src/qt-console/joblist/joblist.ui @@ -318,7 +318,7 @@ Refresh - :/images/view-refresh.svg + :/images/view-refresh.png @@ -362,7 +362,7 @@ - :/images/view-refresh.svg + :/images/view-refresh.png Refresh Job List @@ -373,7 +373,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png ListJobid @@ -381,7 +381,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png List Files On Job @@ -389,7 +389,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png ListJobMedia @@ -397,7 +397,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png ListVolumes @@ -405,7 +405,7 @@ - :/images/weather-severe-alert.svg + :/images/weather-severe-alert.png DeleteJob @@ -413,7 +413,7 @@ - :/images/weather-severe-alert.svg + :/images/weather-severe-alert.png PurgeFiles @@ -453,7 +453,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png List Job Totals in Console diff --git a/bacula/src/qt-console/jobs/jobs.ui b/bacula/src/qt-console/jobs/jobs.ui index 21d25d83d0..e245948deb 100644 --- a/bacula/src/qt-console/jobs/jobs.ui +++ b/bacula/src/qt-console/jobs/jobs.ui @@ -25,7 +25,7 @@ - :/images/view-refresh.svg + :/images/view-refresh.png Refresh Jobs List @@ -36,7 +36,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png List Files Command @@ -53,7 +53,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png List Volumes Command @@ -70,7 +70,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png List Next Volume Command @@ -87,7 +87,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png Enable Job Command @@ -104,7 +104,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png Disable Job Command @@ -121,7 +121,7 @@ - :/images/emblem-system.svg + :/images/emblem-system.png Open JobList on Job @@ -138,7 +138,7 @@ - :/images/utilities-terminal.svg + :/images/utilities-terminal.png Cancel Job Command diff --git a/bacula/src/qt-console/main.qrc b/bacula/src/qt-console/main.qrc index 2681725652..31646d0785 100644 --- a/bacula/src/qt-console/main.qrc +++ b/bacula/src/qt-console/main.qrc @@ -5,30 +5,30 @@ images/bat_icon.png images/big-server.png images/browse.png - images/cartridge-edit.svg - images/cartridge.svg + images/cartridge-edit.png + images/cartridge.png images/check.png images/connected.png images/copy.png images/cut.png images/disconnected.png images/edit-cut.png - images/edit-delete.svg - images/emblem-system.svg - images/estimate-job.svg + images/edit-delete.png + images/emblem-system.png + images/estimate-job.png + images/folder.png images/folder.png - images/folder.svg images/folderchecked.png images/folderunchecked.png images/folderbothchecked.png images/graph1.png - images/help-browser.svg + images/help-browser.png images/home.png images/joblog.png images/label.png - images/mail-message-new.svg + images/mail-message-new.png images/mark.png - images/network-server.svg + images/network-server.png images/new.png images/next.png images/open.png @@ -39,13 +39,13 @@ images/run.png images/save.png images/status.png - images/system-file-manager.svg + images/system-file-manager.png images/unchecked.png images/undo.png images/unmark.png images/up.png - images/utilities-terminal.svg - images/view-refresh.svg - images/weather-severe-alert.svg + images/utilities-terminal.png + images/view-refresh.png + images/weather-severe-alert.png diff --git a/bacula/src/qt-console/main.ui b/bacula/src/qt-console/main.ui index 83b05f8348..95e09894a1 100644 --- a/bacula/src/qt-console/main.ui +++ b/bacula/src/qt-console/main.ui @@ -438,7 +438,7 @@ false - :/images/estimate-job.svg + :/images/estimate-job.png Estimate Job @@ -516,7 +516,7 @@ - :/images/mail-message-new.svg + :/images/mail-message-new.png Messages @@ -541,7 +541,7 @@ - :/images/help-browser.svg + :/images/help-browser.png bat &Help diff --git a/bacula/src/qt-console/mainwin.cpp b/bacula/src/qt-console/mainwin.cpp index 4f073cf1a5..189b5e3453 100644 --- a/bacula/src/qt-console/mainwin.cpp +++ b/bacula/src/qt-console/mainwin.cpp @@ -122,7 +122,7 @@ void MainWin::createPages() item = new QTreeWidgetItem(topItem); item->setText(0, "Console"); if (!m_firstItem){ m_firstItem = item; } - item->setIcon(0,QIcon(QString::fromUtf8(":images/utilities-terminal.svg"))); + item->setIcon(0,QIcon(QString::fromUtf8(":images/utilities-terminal.png"))); /* insert the cosole and tree widget item into the hashes */ hashInsert(item, m_currentConsole); diff --git a/bacula/src/qt-console/mediaedit/mediaedit.cpp b/bacula/src/qt-console/mediaedit/mediaedit.cpp index 89ac90c64a..3022a6f5c1 100644 --- a/bacula/src/qt-console/mediaedit/mediaedit.cpp +++ b/bacula/src/qt-console/mediaedit/mediaedit.cpp @@ -47,7 +47,7 @@ MediaEdit::MediaEdit(QTreeWidgetItem *parentWidget, QString &mediaId) m_name = "Media Edit"; pgInitialize(parentWidget); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); - thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/cartridge-edit.svg"))); + thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/cartridge-edit.png"))); m_closeable = true; dockPage(); setCurrent(); diff --git a/bacula/src/qt-console/medialist/medialist.cpp b/bacula/src/qt-console/medialist/medialist.cpp index dc062c731e..b7b3367213 100644 --- a/bacula/src/qt-console/medialist/medialist.cpp +++ b/bacula/src/qt-console/medialist/medialist.cpp @@ -50,7 +50,7 @@ MediaList::MediaList() m_name = "Media"; pgInitialize(); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); - thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/cartridge.svg"))); + thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/cartridge.png"))); /* mp_treeWidget, Storage Tree Tree Widget inherited from ui_medialist.h */ m_populated = false; diff --git a/bacula/src/qt-console/medialist/medialist.ui b/bacula/src/qt-console/medialist/medialist.ui index 422fe8dceb..b4117bb5f4 100644 --- a/bacula/src/qt-console/medialist/medialist.ui +++ b/bacula/src/qt-console/medialist/medialist.ui @@ -25,7 +25,7 @@ - :/images/view-refresh.svg + :/images/view-refresh.png Refresh Media List @@ -36,7 +36,7 @@ - :/images/cartridge-edit.svg + :/images/cartridge-edit.png Edit Volume @@ -44,7 +44,7 @@ - :/images/emblem-system.svg + :/images/emblem-system.png List Jobs On Volume @@ -52,7 +52,7 @@ - :/images/edit-delete.svg + :/images/edit-delete.png Delete Volume @@ -68,7 +68,7 @@ - :/images/weather-severe-alert.svg + :/images/weather-severe-alert.png Purge Volume @@ -84,7 +84,7 @@ - :/images/cartridge-edit.svg + :/images/cartridge-edit.png Update all Volumes From Pool @@ -101,7 +101,7 @@ - :/images/cartridge-edit.svg + :/images/cartridge-edit.png Volume From Pool diff --git a/bacula/src/qt-console/restore/restore.cpp b/bacula/src/qt-console/restore/restore.cpp index f4527e2572..26114225db 100644 --- a/bacula/src/qt-console/restore/restore.cpp +++ b/bacula/src/qt-console/restore/restore.cpp @@ -195,7 +195,7 @@ void restorePage::addDirectory(QString &newdirr) /* add unix '/' directory first */ if (m_dirPaths.empty() && (regex.indexIn(fullpath,0) == -1)) { QTreeWidgetItem *item = new QTreeWidgetItem(directoryWidget); - item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.svg"))); + item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.png"))); QString text("/"); item->setText(0, text.toUtf8().data()); @@ -222,14 +222,14 @@ void restorePage::addDirectory(QString &newdirr) /* this is the base widget */ item = new QTreeWidgetItem(directoryWidget); item->setText(0, fullpath.toUtf8().data()); - item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.svg"))); + item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.png"))); } else { QTreeWidgetItem *parent = m_dirPaths.value(m_cwd); if (parent) { /* new directories to add */ item = new QTreeWidgetItem(parent); item->setText(0, newdir.toUtf8().data()); - item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.svg"))); + item->setIcon(0,QIcon(QString::fromUtf8(":images/folder.png"))); directoryWidget->expandItem(parent); } else { ok = false; diff --git a/bacula/src/qt-console/restore/restoretree.cpp b/bacula/src/qt-console/restore/restoretree.cpp index 17b1e8f8e4..3ced6dd765 100644 --- a/bacula/src/qt-console/restore/restoretree.cpp +++ b/bacula/src/qt-console/restore/restoretree.cpp @@ -657,7 +657,7 @@ void restoreTree::readSettings() /* * This is a funcion to accomplish the one thing I struggled to figure out what * was taking so long. It add the icons, but after the tree is made. Seemed to - * work fast after changing from svg to png file for graphic. + * work fast after changing from png to png file for graphic. */ void restoreTree::directoryItemExpanded(QTreeWidgetItem *item) { diff --git a/bacula/src/qt-console/restore/restoretree.ui b/bacula/src/qt-console/restore/restoretree.ui index eb25ce2e50..9362ac0ea5 100644 --- a/bacula/src/qt-console/restore/restoretree.ui +++ b/bacula/src/qt-console/restore/restoretree.ui @@ -195,7 +195,7 @@ Refresh - :/images/view-refresh.svg + :/images/view-refresh.png diff --git a/bacula/src/qt-console/run/estimate.cpp b/bacula/src/qt-console/run/estimate.cpp index c2906b2fa5..9ce3ced578 100644 --- a/bacula/src/qt-console/run/estimate.cpp +++ b/bacula/src/qt-console/run/estimate.cpp @@ -59,7 +59,7 @@ estimatePage::estimatePage() connect(okButton, SIGNAL(pressed()), this, SLOT(okButtonPushed())); connect(cancelButton, SIGNAL(pressed()), this, SLOT(cancelButtonPushed())); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); - thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/estimate-job.svg"))); + thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/estimate-job.png"))); dockPage(); setCurrent(); diff --git a/bacula/src/qt-console/storage/storage.ui b/bacula/src/qt-console/storage/storage.ui index 8acac961c8..d4e2261be3 100644 --- a/bacula/src/qt-console/storage/storage.ui +++ b/bacula/src/qt-console/storage/storage.ui @@ -25,7 +25,7 @@ - :/images/view-refresh.svg + :/images/view-refresh.png Refresh Storage List @@ -58,7 +58,7 @@ - :/images/cartridge.svg + :/images/cartridge.png MountStorage @@ -69,7 +69,7 @@ - :/images/cartridge.svg + :/images/cartridge.png UnMount Storage @@ -102,7 +102,7 @@ - :/images/cartridge.svg + :/images/cartridge.png Release