mussaViewTB("Path Views"),
zoomBox(),
threshold(),
+ zoomLabel(),
closeAction(0) // initialize one of the pointers to null as a saftey flag
{
setupActions();
setCentralWidget(&browser);
mussaViewTB.addAction(toggleMotifsAction);
+
+ zoomLabel.setPixmap(QIcon("icons/viewmag.png").pixmap(16, 16));
+ zoomLabel.setToolTip(tr("Zoom"));
+ zoomLabel.setWhatsThis(tr("Zoom magnification factor"));
+ mussaViewTB.addWidget(&zoomLabel);
- zoomBox.setWhatsThis("zoom magnification factor");
+ zoomBox.setToolTip(tr("Zoom"));
+ zoomBox.setWhatsThis(tr("Zoom magnification factor"));
zoomBox.setRange(2,1000);
mussaViewTB.addWidget(&zoomBox);
connect(&zoomBox, SIGNAL(valueChanged(int)),
#include "qui/ThresholdWidget.hpp"
class QAction;
+class QLabel;
class Mussa;
class MussaWindow : public QMainWindow
QToolBar mussaViewTB;
QSpinBox zoomBox;
ThresholdWidget threshold;
+ QLabel zoomLabel;
QAction *aboutAction;
QAction *closeAction;