[Kst] branches/work/kst/portto4/kst/src

Nicolas Brisset nicolas.brisset at eurocopter.com
Tue Sep 21 00:23:01 CEST 2010


SVN commit 1177696 by brisset:

Continue icons (from oxygen). There are still some improvements to be made, but that should hopefully look better already and 
it will meld into KDE much better.



 AM            images/code-class.png  
 AM            images/configure.png  
 AM            images/dialog-information.png  
 AM            images/document-export.png  
 AM            images/document-save-as.png  
 AM            images/draw-eraser.png  
 AM            images/folder-development.png  
 AM            images/image-x-generic.png  
 M  +16 -1     images/images.qrc  
 AM            images/kbugbuster.png  
 AM            images/office-chart-area-stacked.png  
 AM            images/resource-group.png  
 AM            images/tab-close.png  
 AM            images/tab-new.png  
 AM            images/text-x-log.png  
 AM            images/tools-wizard.png  
 AM            images/transform-move.png  
 M  +17 -8     libkstapp/mainwindow.cpp  


--- branches/work/kst/portto4/kst/src/images/images.qrc #1177695:1177696
@@ -10,7 +10,6 @@
         <file>kst.png</file>
         <file>lo32-app-kst.png</file>
         <file>kst_advance.png</file>
-        <file>kst_back.png</file>
         <file>kst_blank.png</file>
         <file>kst_changefile.png</file>
         <file>kst_changenpts.png</file>
@@ -82,5 +81,21 @@
         <file>edit-redo.png</file>
         <file>edit-undo.png</file>
         <file>draw-bezier-curves.png</file>
+        <file>document-save-as.png</file>
+        <file>kbugbuster.png</file>
+        <file>tab-close.png</file>
+        <file>tab-new.png</file>
+        <file>tools-wizard.png</file>
+        <file>transform-move.png</file>
+        <file>configure.png</file>
+        <file>office-chart-area-stacked.png</file>
+        <file>code-class.png</file>
+        <file>resource-group.png</file>
+        <file>draw-eraser.png</file>
+        <file>image-x-generic.png</file>
+        <file>dialog-information.png</file>
+        <file>text-x-log.png</file>
+        <file>folder-development.png</file>
+        <file>document-export.png</file>
     </qresource>
 </RCC>
--- branches/work/kst/portto4/kst/src/libkstapp/mainwindow.cpp #1177695:1177696
@@ -660,6 +660,7 @@
 
   _saveAsAct = new QAction(tr("Save &as..."), this);
   _saveAsAct->setStatusTip(tr("Save the current session"));
+  _saveAsAct->setIcon(QPixmap(":document-save-as.png"));
   connect(_saveAsAct, SIGNAL(triggered()), this, SLOT(saveAs()));
 
   _reloadAct = new QAction(tr("Reload all Data Sources"), this);
@@ -674,15 +675,17 @@
 
   _exportGraphicsAct = new QAction(tr("&Export..."), this);
   _exportGraphicsAct->setStatusTip(tr("Export graphics to disk"));
+  _exportGraphicsAct->setIcon(QPixmap(":document-export.png"));
   connect(_exportGraphicsAct, SIGNAL(triggered()), this, SLOT(showExportGraphicsDialog()));
 
   _closeTabAct = new QAction(tr("&Close Tab"), this);
   _closeTabAct->setStatusTip(tr("Close the current tab"));
-  _closeTabAct->setIcon(QPixmap(":kst_closetab.png"));
+  _closeTabAct->setIcon(QPixmap(":tab-close.png"));
   connect(_closeTabAct, SIGNAL(triggered()), tabWidget(), SLOT(closeCurrentView()));
 
   _clearSession = new QAction(tr("C&lear Session"), this);
   _clearSession->setStatusTip(tr("Clear current session"));
+  _clearSession->setIcon(QPixmap(":draw-eraser.png"));
   connect(_clearSession, SIGNAL(triggered()), this, SLOT(newDoc()));
 
   _exitAct = new QAction(tr("E&xit"), this);
@@ -702,7 +705,7 @@
   // ********************* View Actions ********************************** //
   _dataManagerAct = new QAction(tr("&Data Manager"), this);
   _dataManagerAct->setStatusTip(tr("Show Kst's data manager window"));
-  _dataManagerAct->setIcon(QPixmap(":kst_datamanager.png"));
+  _dataManagerAct->setIcon(QPixmap(":resource-group.png"));
   _dataManagerAct->setShortcut(QString("d"));
   connect(_dataManagerAct, SIGNAL(triggered()), this, SLOT(showDataManager()));
 
@@ -753,12 +756,12 @@
   // ************************ Create Actions ************************** //
   _newTabAct = new QAction(tr("&New Tab"), this);
   _newTabAct->setStatusTip(tr("Create a new tab"));
-  _newTabAct->setIcon(QPixmap(":kst_newtab.png"));
+  _newTabAct->setIcon(QPixmap(":tab-new.png"));
   connect(_newTabAct, SIGNAL(triggered()), tabWidget(), SLOT(createView()));
 
   _createPlotAct = new QAction(tr("&Plot"), this);
   _createPlotAct->setStatusTip(tr("Create a plot for the current view"));
-  _createPlotAct->setIcon(QPixmap(":kst_newplot.png"));
+  _createPlotAct->setIcon(QPixmap(":office-chart-area-stacked.png"));
   _createPlotAct->setShortcut(QString("F10"));
   _createPlotAct->setCheckable(true);
   connect(_createPlotAct, SIGNAL(triggered()), this, SLOT(createPlot()));
@@ -829,7 +832,7 @@
 
   _createPictureAct = new QAction(tr("&Picture"), this);
   _createPictureAct->setStatusTip(tr("Create a picture for the current view"));
-  _createPictureAct->setIcon(QPixmap(":kst_gfx_picture.png"));
+  _createPictureAct->setIcon(QPixmap(":image-x-generic.png"));
   _createPictureAct->setShortcut(QString("F9"));
   _createPictureAct->setCheckable(true);
   connect(_createPictureAct, SIGNAL(triggered()), this, SLOT(createPicture()));
@@ -870,7 +873,7 @@
 
   _layoutModeAct = new QAction(tr("&Layout Mode"), this);
   _layoutModeAct->setStatusTip(tr("Toggle the current view's layout mode"));
-  _layoutModeAct->setIcon(QPixmap(":kst_layoutmode.png"));
+  _layoutModeAct->setIcon(QPixmap(":transform-move.png"));
   _layoutModeAct->setCheckable(true);
   _layoutModeAct->setShortcut(QString("F2"));
   connect(_layoutModeAct, SIGNAL(toggled(bool)), this, SLOT(setLayoutMode(bool)));
@@ -878,40 +881,46 @@
   // *********************** Tools actions ************************************** //
   _dataWizardAct = new QAction(tr("&Data Wizard"), this);
   _dataWizardAct->setStatusTip(tr("Show Kst's Data Wizard"));
-  _dataWizardAct->setIcon(QPixmap(":kst_datawizard.png"));
+  _dataWizardAct->setIcon(QPixmap(":tools-wizard.png"));
   _dataWizardAct->setShortcut(QString("w"));
   connect(_dataWizardAct, SIGNAL(triggered()), this, SLOT(showDataWizard()));
 
   _changeFileDialogAct = new QAction(tr("Change Data &File"), this);
   _changeFileDialogAct->setStatusTip(tr("Show Kst's Change Data File Dialog"));
-  _changeFileDialogAct->setIcon(QPixmap(":kst_changefile.png"));
+  _changeFileDialogAct->setIcon(QPixmap(":folder-development.png"));
   _changeFileDialogAct->setShortcut(QString("f"));
   connect(_changeFileDialogAct, SIGNAL(triggered()), this, SLOT(showChangeFileDialog()));
 
   _chooseColorDialogAct = new QAction(tr("Assign &Curve Color per File"), this);
   _chooseColorDialogAct->setStatusTip(tr("Show Kst's Choose Color Dialog"));
+  _chooseColorDialogAct->setIcon(QPixmap(":code-class.png"));
   connect(_chooseColorDialogAct, SIGNAL(triggered()), this, SLOT(showChooseColorDialog()));
 
   _differentiateCurvesDialogAct = new QAction(tr("&Differentiate Curves"), this);
   _differentiateCurvesDialogAct->setStatusTip(tr("Show Kst's Differentiate Curves Dialog"));
+  _differentiateCurvesDialogAct->setIcon(QPixmap(":kst_differentiatecurves.png"));
   connect(_differentiateCurvesDialogAct, SIGNAL(triggered()), this, SLOT(showDifferentiateCurvesDialog()));
 
   // *********************** Settings actions ************************************** //
   _settingsDialogAct = new QAction(tr("&Configure Kst"), this);
   _settingsDialogAct->setStatusTip(tr("Show Kst's Configuration Dialog"));
+  _settingsDialogAct->setIcon(QPixmap(":configure.png"));
   connect(_settingsDialogAct, SIGNAL(triggered()), this, SLOT(showSettingsDialog()));
 
   // *********************** Help actions ************************************** //
   _debugDialogAct = new QAction(tr("&Debug Dialog"), this);
   _debugDialogAct->setStatusTip(tr("Show the Kst debugging dialog"));
+  _debugDialogAct->setIcon(QPixmap(":text-x-log.png"));
   connect(_debugDialogAct, SIGNAL(triggered()), this, SLOT(showDebugDialog()));
 
   _bugReportWizardAct = new QAction(tr("&Bug Report Wizard"), this);
   _bugReportWizardAct->setStatusTip(tr("Show Kst's Bug Report Wizard"));
+  _bugReportWizardAct->setIcon(QPixmap(":kbugbuster.png"));
   connect(_bugReportWizardAct, SIGNAL(triggered()), this, SLOT(showBugReportWizard()));
 
   _aboutAct = new QAction(tr("&About"), this);
   _aboutAct->setStatusTip(tr("Show Kst's About box"));
+  _aboutAct->setIcon(QPixmap(":dialog-information.png"));
   connect(_aboutAct, SIGNAL(triggered()), this, SLOT(about()));
 }
 


More information about the Kst mailing list