From: Brandon King Date: Mon, 27 Feb 2006 21:54:45 +0000 (+0000) Subject: Added icon for motif toggle. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=4b45487df22bdfc5485c6909d8eb2eb3bc09eb21 Added icon for motif toggle. --- diff --git a/icons/motif_icon.png b/icons/motif_icon.png new file mode 100644 index 0000000..29b7db3 Binary files /dev/null and b/icons/motif_icon.png differ diff --git a/qui/PathWindow.cxx b/qui/PathWindow.cxx index 279fa56..fb2f9e2 100644 --- a/qui/PathWindow.cxx +++ b/qui/PathWindow.cxx @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -82,6 +83,9 @@ void PathWindow::setupActions() toggleMotifsAction = new QAction(tr("Toggle Motifs"), this); connect(toggleMotifsAction, SIGNAL(triggered()), this, SLOT(toggleMotifs())); + + toggleMotifsAction->setCheckable(true); + toggleMotifsAction->setIcon(QIcon("icons/motif_icon.png")); } void PathWindow::setupMainMenu()