From 4527e9f61b11261019ec681472af92e51179c051 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 14 Sep 2012 15:19:09 +0000 Subject: [PATCH] should be completely done except for mods in mythen for debuggin git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@57 af1100a4-978c-4157-bff7-07162d2ba061 --- slsDetectorGui/slsDetectorGui.pro | 2 +- slsDetectorGui/src/qDetectorMain.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/slsDetectorGui/slsDetectorGui.pro b/slsDetectorGui/slsDetectorGui.pro index 4a8021f79..c6eb217ad 100644 --- a/slsDetectorGui/slsDetectorGui.pro +++ b/slsDetectorGui/slsDetectorGui.pro @@ -6,7 +6,7 @@ UI_HEADERS_DIR = forms/include RESOURCES += icons.qrc -DEFINES += VERBOSE #VERYVERBOSE #DACS_INT +DEFINES += VERBOSE DACS_INT #VERYVERBOSE target.path += $(DESTDIR) diff --git a/slsDetectorGui/src/qDetectorMain.cpp b/slsDetectorGui/src/qDetectorMain.cpp index 8d13a7265..21f8e557d 100644 --- a/slsDetectorGui/src/qDetectorMain.cpp +++ b/slsDetectorGui/src/qDetectorMain.cpp @@ -155,8 +155,9 @@ void qDetectorMain::SetUpWidgetWindow(){ dockWidgetPlot->setFeatures(QDockWidget::NoDockWidgetFeatures); tabs->setTabEnabled(Developer,isDeveloper); if(!digitalDetector) actionExpert->setEnabled(false); - - +#ifdef VERBOSE + cout << "Advanced Enabled:" << digitalDetector << endl; +#endif // Other setup //Height of plot and central widget heightPlotWindow = dockWidgetPlot->size().height();