provide python interpreter for mussa qui via a seperate thread
[mussa.git] / qui / subanalysis / SubanalysisWindow.cpp
index fec991c75e4bf614b605ae6824743add819a3726..4f3b399e178bef47da84e9416fb721f7e9f5bd75 100644 (file)
 SubanalysisWindow::SubanalysisWindow(MussaRef m, QWidget *parent)
   : QWidget(parent),
     analysis(m),
+    parameterLayout(0),
+    thresholdLabel(0),
+    windowLabel(0),
     window(0),
     threshold(0),
     table(0),
     ok(0),
     cancel(0)
 {
-  QGridLayout *parameterLayout = new QGridLayout;
+  parameterLayout = new QGridLayout;
 
-  QLabel *thresholdLabel = new QLabel(tr("threshold (bp)"));
+  thresholdLabel = new QLabel(tr("threshold (bp)"));
   parameterLayout->addWidget(thresholdLabel, 0, 0);
   threshold = new QSpinBox(this);
   threshold->setValue(8);
   parameterLayout->addWidget(threshold, 1, 0);
-  QLabel *windowLabel = new QLabel(tr("window (bp)"));
+  windowLabel = new QLabel(tr("window (bp)"));
   parameterLayout->addWidget(windowLabel, 0, 1);
   window = new QSpinBox(this);
   window->setValue(10);