Crystal Icons added to repository + Added icons to menu.
authorBrandon King <kingb@caltech.edu>
Mon, 27 Feb 2006 23:51:36 +0000 (23:51 +0000)
committerBrandon King <kingb@caltech.edu>
Mon, 27 Feb 2006 23:51:36 +0000 (23:51 +0000)
Crystal SVG Icons are LGPL, comment in README.txt about license.

icons/README.txt [new file with mode: 0644]
icons/exit.png [new file with mode: 0644]
icons/filenew.png [new file with mode: 0644]
icons/fileopen.png [new file with mode: 0644]
icons/filesave.png [new file with mode: 0644]
icons/help.png [new file with mode: 0644]
icons/info.png [new file with mode: 0644]
qui/PathWindow.cxx

diff --git a/icons/README.txt b/icons/README.txt
new file mode 100644 (file)
index 0000000..381bd98
--- /dev/null
@@ -0,0 +1,14 @@
+The following icons are from Crystal SVG which is available for use
+under LGPL, visit http://www.everaldo.com/ for more info on Crystal
+SVG.
+
+Crystal SVG Icons:
+------------------
+ * exit.png
+ * filenew.png
+ * fileopen.png
+ * filesave.png
+ * help.png
+ * icon.png
+
diff --git a/icons/exit.png b/icons/exit.png
new file mode 100644 (file)
index 0000000..4877f19
Binary files /dev/null and b/icons/exit.png differ
diff --git a/icons/filenew.png b/icons/filenew.png
new file mode 100644 (file)
index 0000000..8a303b7
Binary files /dev/null and b/icons/filenew.png differ
diff --git a/icons/fileopen.png b/icons/fileopen.png
new file mode 100644 (file)
index 0000000..503a004
Binary files /dev/null and b/icons/fileopen.png differ
diff --git a/icons/filesave.png b/icons/filesave.png
new file mode 100644 (file)
index 0000000..dd00abd
Binary files /dev/null and b/icons/filesave.png differ
diff --git a/icons/help.png b/icons/help.png
new file mode 100644 (file)
index 0000000..5858f03
Binary files /dev/null and b/icons/help.png differ
diff --git a/icons/info.png b/icons/info.png
new file mode 100644 (file)
index 0000000..4405fae
Binary files /dev/null and b/icons/info.png differ
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()),