Crystal Icons added to repository + Added icons to menu.
[mussa.git] / qui / PathWindow.cxx
index 935591ea64e69cd55d54214fa1a1e5f63044b95b..477270a90092f5b03394a32945dc6cb782e4e3d8 100644 (file)
@@ -46,15 +46,18 @@ void PathWindow::setupActions()
   // the ever popular about box
   aboutAction = new QAction(tr("&About"), this);
   connect(aboutAction, SIGNAL(triggered()), this, SLOT(about()));
+  aboutAction->setIcon(QIcon("icons/info.png"));
 
   // add exit
   closeAction = new QAction(tr("&Close"), this);
   closeAction->setStatusTip(tr("Close this window"));
   connect(closeAction, SIGNAL(triggered()), this, SLOT(close()));
+  closeAction->setIcon(QIcon("icons/exit.png"));
   
   createNewAnalysisAction = new QAction(tr("Define Analysis"), this);
   connect(createNewAnalysisAction, SIGNAL(triggered()), 
           this, SLOT(createNewAnalysis()));
+  createNewAnalysisAction->setIcon(QIcon("icons/filenew.png"));
   
   createSubAnalysisAction = new QAction(tr("Define SubAnalysis"), this);
   connect(createSubAnalysisAction, SIGNAL(triggered()), 
@@ -71,10 +74,12 @@ void PathWindow::setupActions()
   loadSavedAnalysisAction = new QAction(tr("Load &Analysis"), this);
   connect(loadSavedAnalysisAction, SIGNAL(triggered()), 
           this, SLOT(loadSavedAnalysis()));
+  loadSavedAnalysisAction->setIcon(QIcon("icons/fileopen.png"));
 
   saveMotifListAction = new QAction(tr("Save Motifs"), this);
   connect(saveMotifListAction, SIGNAL(triggered()), 
           this, SLOT(saveMotifList()));
+  saveMotifListAction->setIcon(QIcon("icons/filesave.png"));
 
   showMussaViewToolbarAction = new QAction(tr("Show Toolbar"), this);
   connect(showMussaViewToolbarAction, SIGNAL(triggered()),