#include <QProgressDialog>
#include <QSpinBox>
#include <QToolBar>
+#include <QProcess>
#include "qui/MussaAlignedWindow.hpp"
#include "qui/motif_editor/MotifEditor.hpp"
class QStringList;
class Mussa;
class QAssistantClient;
+class MussaWindow;
+
+typedef boost::shared_ptr<MussaWindow> MussaWindowRef;
class MussaWindow : public QMainWindow
{
public:
MussaWindow(MussaRef analysis, QWidget *parent=0);
+public:
//! reset any attached window
void clear();
//! set the soft threshold used by the Nway_Path algorithm
void setSoftThreshold(int thres);
//! update progress bar
- void updateProgress(const std::string& description, int cur, int max);
+ void updateProgress(const QString& description, int cur, int max);
//! open a new mussa window so one can compare analyses
void newMussaWindow();
QAction *whatsThisAction;
QAction *viewMussaAlignmentAction;
- QAssistantClient *manualAssistant;
+ //QAssistantClient *manualAssistant;
+ QProcess *assistantProcess;
//! initialze the actions
void setupActions();
void closeEvent(QCloseEvent *event);
//! initialize this windows menu object
void setupMainMenu();
+ //! initialize all of our widgets
+ void setupWidgets();
//! initialize assistant client
void setupAssistant();
//! stub function to fill in QActions
//! update annotations?
void updateAnnotations();
};
+
#endif