From: Brandon King Date: Mon, 27 Feb 2006 23:51:36 +0000 (+0000) Subject: Crystal Icons added to repository + Added icons to menu. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=cd2e6d30173f506dcc079f920b2e722416d1d559 Crystal Icons added to repository + Added icons to menu. Crystal SVG Icons are LGPL, comment in README.txt about license. --- diff --git a/icons/README.txt b/icons/README.txt new file mode 100644 index 0000000..381bd98 --- /dev/null +++ b/icons/README.txt @@ -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 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 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 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 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 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 index 0000000..4405fae Binary files /dev/null and b/icons/info.png differ diff --git a/qui/PathWindow.cxx b/qui/PathWindow.cxx index 935591e..477270a 100644 --- a/qui/PathWindow.cxx +++ b/qui/PathWindow.cxx @@ -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()),