Commit 3b7d6e94 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Set the appropiate FITS view type

parent 09efca46
...@@ -232,7 +232,7 @@ Focus::Focus() ...@@ -232,7 +232,7 @@ Focus::Focus()
connect(thresholdSpin, SIGNAL(valueChanged(double)), this, SLOT(setThreshold(double))); connect(thresholdSpin, SIGNAL(valueChanged(double)), this, SLOT(setThreshold(double)));
//connect(focusFramesSpin, SIGNAL(valueChanged(int)), this, SLOT(setFrames(int))); //connect(focusFramesSpin, SIGNAL(valueChanged(int)), this, SLOT(setFrames(int)));
focusView = new FITSView(focusingWidget); focusView = new FITSView(focusingWidget, FITS_FOCUS);
focusView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); focusView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
focusView->setBaseSize(focusingWidget->size()); focusView->setBaseSize(focusingWidget->size());
QVBoxLayout *vlayout = new QVBoxLayout(); QVBoxLayout *vlayout = new QVBoxLayout();
......
...@@ -75,7 +75,7 @@ Guide::Guide() : QWidget() ...@@ -75,7 +75,7 @@ Guide::Guide() : QWidget()
// To do calibrate + guide in one command // To do calibrate + guide in one command
autoCalibrateGuide = false; autoCalibrateGuide = false;
guideView = new FITSView(guideWidget); guideView = new FITSView(guideWidget, FITS_GUIDE);
guideView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); guideView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
guideView->setBaseSize(guideWidget->size()); guideView->setBaseSize(guideWidget->size());
QVBoxLayout *vlayout = new QVBoxLayout(); QVBoxLayout *vlayout = new QVBoxLayout();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment