#include "qui/PathScene.h"
#include "qui/ThresholdWidget.h"
+#include <iostream>
+
PathWindow::PathWindow(QWidget *) :
closeAction(0) // initialize one of the pointers to null as a saftey flag
{
connect(saveMotifListAction, SIGNAL(triggered()),
this, SLOT(saveMotifList()));
+ showMussaViewToolbarAction = new QAction(tr("Show Toolbar"), this);
+ connect(showMussaViewToolbarAction, SIGNAL(triggered()),
+ this, SLOT(showMussaToolbar()));
+
toggleMotifsAction = new QAction(tr("Toggle Motifs"), this);
connect(toggleMotifsAction, SIGNAL(triggered()),
this, SLOT(toggleMotifs()));
newMenu->addSeparator();
newMenu->addAction(closeAction);
+ newMenu = menuBar()->addMenu(tr("&View"));
+ newMenu->addAction(showMussaViewToolbarAction);
+
newMenu = menuBar()->addMenu(tr("&Help"));
newMenu->addAction(aboutAction);
}
NotImplementedBox();
}
+void PathWindow::showMussaToolbar()
+{
+ std::clog << "isVis?" << mussaViewTB->isVisible() <<std::endl;
+ mussaViewTB->show();
+ std::clog << "isVis?" << mussaViewTB->isVisible() <<std::endl;
+}
+
void PathWindow::toggleMotifs()
{
NotImplementedBox();
void toggleMotifs();
//\@}
+ void showMussaToolbar();
+
protected:
// display our wonderful mussa output
PathScene *scene;
QAction *loadMupaAction;
QAction *loadSavedAnalysisAction;
QAction *saveMotifListAction;
+ QAction *showMussaViewToolbarAction;
QAction *toggleMotifsAction;
//! initialze the actions