included sls defs in every file so that int is 32 bit

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@132 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d 2013-01-11 09:59:29 +00:00
parent 74654b1ebc
commit 0b05f67f9d
37 changed files with 98 additions and 23 deletions

View File

@ -8,6 +8,8 @@
#ifndef QACTIONSWIDGET_H_ #ifndef QACTIONSWIDGET_H_
#define QACTIONSWIDGET_H_ #define QACTIONSWIDGET_H_
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_action.h" #include "ui_form_action.h"
/** Project Class Headers */ /** Project Class Headers */

View File

@ -8,6 +8,9 @@
#ifndef QCLONEWIDGET_H_ #ifndef QCLONEWIDGET_H_
#define QCLONEWIDGET_H_ #define QCLONEWIDGET_H_
#include "qDefs.h"
/** Qt Project Class Headers */ /** Qt Project Class Headers */
class SlsQtH1D; class SlsQtH1D;
#include "SlsQt1DPlot.h" #include "SlsQt1DPlot.h"

View File

@ -9,6 +9,9 @@
#define QDEBUGSTREAM_H_ #define QDEBUGSTREAM_H_
#include "qDefs.h"
#include <QApplication> #include <QApplication>
#include <QWidget> #include <QWidget>
#include <QString> #include <QString>

View File

@ -8,6 +8,7 @@
#ifndef QDEFS_H #ifndef QDEFS_H
#define QDEFS_H #define QDEFS_H
#include "sls_detector_defs.h"
#include <iostream> #include <iostream>
#include <QMessageBox> #include <QMessageBox>
using namespace std; using namespace std;

View File

@ -7,6 +7,8 @@
#ifndef QDETECTORMAIN_H #ifndef QDETECTORMAIN_H
#define QDETECTORMAIN_H #define QDETECTORMAIN_H
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_detectormain.h" #include "ui_form_detectormain.h"
/** Qt Project Class Headers */ /** Qt Project Class Headers */
@ -22,7 +24,6 @@ class qTabDeveloper;
class qTabMessages; class qTabMessages;
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "sls_detector_defs.h"
/** Qt Include Headers */ /** Qt Include Headers */
#include <QScrollArea> #include <QScrollArea>
#include <QGridLayout> #include <QGridLayout>

View File

@ -8,13 +8,14 @@
#define QDRAWPLOT_H #define QDRAWPLOT_H
#include "qDefs.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "detectorData.h" #include "detectorData.h"
/** Qt Project Class Headers */ /** Qt Project Class Headers */
#include "SlsQt1DPlot.h" #include "SlsQt1DPlot.h"
#include "SlsQt2DPlotLayout.h" #include "SlsQt2DPlotLayout.h"
#include "qDefs.h"
class qCloneWidget; class qCloneWidget;
/** Qt Include Headers */ /** Qt Include Headers */
#include <QWidget> #include <QWidget>

View File

@ -8,6 +8,8 @@
#ifndef QSCANWIDGET_H_ #ifndef QSCANWIDGET_H_
#define QSCANWIDGET_H_ #define QSCANWIDGET_H_
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_scan.h" #include "ui_form_scan.h"
/** Project Class Headers */ /** Project Class Headers */

View File

@ -8,13 +8,14 @@
#ifndef QTABACTIONS_H_ #ifndef QTABACTIONS_H_
#define QTABACTIONS_H_ #define QTABACTIONS_H_
#include "qDefs.h"
/* Qt Project Class Headers */ /* Qt Project Class Headers */
#include "qActionsWidget.h" #include "qActionsWidget.h"
#include "qScanWidget.h" #include "qScanWidget.h"
/** C++ Project Class Headers */ /** C++ Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "sls_detector_defs.h"
/** Qt Include Headers */ /** Qt Include Headers */
#include <QWidget> #include <QWidget>
#include <QPushButton> #include <QPushButton>

View File

@ -8,11 +8,13 @@
#ifndef QTABADVANCED_H_ #ifndef QTABADVANCED_H_
#define QTABADVANCED_H_ #define QTABADVANCED_H_
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_tab_advanced.h" #include "ui_form_tab_advanced.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "sls_detector_defs.h"
/** Qt Project Class Headers */ /** Qt Project Class Headers */
class qDrawPlot; class qDrawPlot;
/** Qt Include Header */ /** Qt Include Header */

View File

@ -8,11 +8,13 @@
#ifndef QTABDATAOUTPUT_H_ #ifndef QTABDATAOUTPUT_H_
#define QTABDATAOUTPUT_H_ #define QTABDATAOUTPUT_H_
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_tab_dataoutput.h" #include "ui_form_tab_dataoutput.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "sls_detector_defs.h"
/** Qt Include Headers */ /** Qt Include Headers */
#include <QString> #include <QString>

View File

@ -8,12 +8,14 @@
#ifndef QTABDEBUGGING_H_ #ifndef QTABDEBUGGING_H_
#define QTABDEBUGGING_H_ #define QTABDEBUGGING_H_
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_tab_debugging.h" #include "ui_form_tab_debugging.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
class slsDetector; class slsDetector;
#include "sls_detector_defs.h"
/** Qt Include Headers */ /** Qt Include Headers */
#include <QTreeWidget> #include <QTreeWidget>

View File

@ -8,9 +8,11 @@
#ifndef QTABDEVELOPER_H_ #ifndef QTABDEVELOPER_H_
#define QTABDEVELOPER_H_ #define QTABDEVELOPER_H_
#include "qDefs.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "sls_detector_defs.h"
/** Qt Include Headers */ /** Qt Include Headers */
#include <QWidget> #include <QWidget>
#include <QGridLayout> #include <QGridLayout>

View File

@ -7,6 +7,9 @@
#ifndef QTABMEASUREMENT #ifndef QTABMEASUREMENT
#define QTABMEASUREMENT #define QTABMEASUREMENT
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_tab_measurement.h" #include "ui_form_tab_measurement.h"
/** Project Class Headers */ /** Project Class Headers */

View File

@ -9,6 +9,9 @@
#define QTABMESSAGES_H_ #define QTABMESSAGES_H_
#include "qDefs.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;

View File

@ -8,11 +8,13 @@
#ifndef QTABPLOT_H_ #ifndef QTABPLOT_H_
#define QTABPLOT_H_ #define QTABPLOT_H_
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_tab_plot.h" #include "ui_form_tab_plot.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "sls_detector_defs.h"
/** Qt Project Class Headers */ /** Qt Project Class Headers */
class qDrawPlot; class qDrawPlot;
/** Qt Include Headers */ /** Qt Include Headers */

View File

@ -8,11 +8,13 @@
#ifndef QTABSETTINGS_H_ #ifndef QTABSETTINGS_H_
#define QTABSETTINGS_H_ #define QTABSETTINGS_H_
#include "qDefs.h"
/** Form Header */ /** Form Header */
#include "ui_form_tab_settings.h" #include "ui_form_tab_settings.h"
/** Project Class Headers */ /** Project Class Headers */
class multiSlsDetector; class multiSlsDetector;
#include "sls_detector_defs.h"
/** Qt Include Headers */ /** Qt Include Headers */
#include <QStandardItemModel> #include <QStandardItemModel>

View File

@ -13,6 +13,13 @@
#ifndef SLSQT1DPLOT_H #ifndef SLSQT1DPLOT_H
#define SLSQT1DPLOT_H #define SLSQT1DPLOT_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
#include <qwt_plot.h> #include <qwt_plot.h>
#include <qwt_plot_curve.h> #include <qwt_plot_curve.h>
#include <qwt_plot_marker.h> #include <qwt_plot_marker.h>

View File

@ -6,6 +6,14 @@
#ifndef SLSQT1DZOOMER_H #ifndef SLSQT1DZOOMER_H
#define SLSQT1DZOOMER_H #define SLSQT1DZOOMER_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
#include <qwt_plot_zoomer.h> #include <qwt_plot_zoomer.h>
#include <qwt_plot_panner.h> #include <qwt_plot_panner.h>
#include <qwt_global.h> #include <qwt_global.h>

View File

@ -9,6 +9,13 @@
#define SLSQT2DHIST_H #define SLSQT2DHIST_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
#if QT_VERSION >= 0x040000 #if QT_VERSION >= 0x040000
#include <qprintdialog.h> #include <qprintdialog.h>

View File

@ -14,6 +14,13 @@
#ifndef SLSQT2DPLOT_H #ifndef SLSQT2DPLOT_H
#define SLSQT2DPLOT_H #define SLSQT2DPLOT_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
#include <qwt_plot.h> #include <qwt_plot.h>
#include <qlist.h> #include <qlist.h>

View File

@ -11,6 +11,13 @@
#ifndef SLSQT2DPLOTLAYOUT_H #ifndef SLSQT2DPLOTLAYOUT_H
#define SLSQT2DPLOTLAYOUT_H #define SLSQT2DPLOTLAYOUT_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
#include <qwidget.h> #include <qwidget.h>
#include <qgroupbox.h> #include <qgroupbox.h>

View File

@ -9,6 +9,13 @@
#ifndef SLSQT2DZOOMER_H #ifndef SLSQT2DZOOMER_H
#define SLSQT2DZOOMER_H #define SLSQT2DZOOMER_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
/**included by Dhanya on 05.12.2012 to avoid compile time errors with the latest gcc*/ /**included by Dhanya on 05.12.2012 to avoid compile time errors with the latest gcc*/
#include <cstdio> #include <cstdio>
/**end of Change by Dhanya*/ /**end of Change by Dhanya*/

View File

@ -7,6 +7,13 @@
#ifndef SLSQTNUMBERENTRY_H #ifndef SLSQTNUMBERENTRY_H
#define SLSQTNUMBERENTRY_H #define SLSQTNUMBERENTRY_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
#include <qwidget.h> #include <qwidget.h>
#include <qgroupbox.h> #include <qgroupbox.h>

View File

@ -7,6 +7,12 @@
#ifndef SLSQTVALIDATORS_H #ifndef SLSQTVALIDATORS_H
#define SLSQTVALIDATORS_H #define SLSQTVALIDATORS_H
#ifndef IAN
typedef double double32_t;
typedef float float32_t;
typedef int int32_t;
#endif
#include <iostream> #include <iostream>
#include <math.h> #include <math.h>

View File

@ -9,7 +9,6 @@
#include "multiSlsDetector.h" #include "multiSlsDetector.h"
// Qt Project Class Headers // Qt Project Class Headers
#include "qActionsWidget.h" #include "qActionsWidget.h"
#include "qDefs.h"
// Qt Include Headers // Qt Include Headers
#include <QFileDialog> #include <QFileDialog>
// C++ Include Headers // C++ Include Headers

View File

@ -7,7 +7,6 @@
/** Qt Project Class Headers */ /** Qt Project Class Headers */
#include "qCloneWidget.h" #include "qCloneWidget.h"
#include "qDefs.h"
/** Qt Include Headers */ /** Qt Include Headers */
#include <QImage> #include <QImage>
#include <QPainter> #include <QPainter>

View File

@ -4,7 +4,6 @@
* ********************************************************************/ * ********************************************************************/
// Qt Project Class Headers // Qt Project Class Headers
#include "qDetectorMain.h" #include "qDetectorMain.h"
#include "qDefs.h"
#include "qDrawPlot.h" #include "qDrawPlot.h"
#include "qTabMeasurement.h" #include "qTabMeasurement.h"
#include "qTabDataOutput.h" #include "qTabDataOutput.h"
@ -36,7 +35,7 @@ using namespace std;
int main (int argc, char **argv) { int main (int argc, char **argv) {
QApplication *theApp = new QApplication(argc, argv); QApplication *theApp = new QApplication(argc, argv);
theApp->setStyle(new QPlastiqueStyle); theApp->setStyle(new QPlastiqueStyle);//not default when desktop is windows
theApp->setWindowIcon(QIcon( ":/icons/images/mountain.png" )); theApp->setWindowIcon(QIcon( ":/icons/images/mountain.png" ));
qDetectorMain *det=new qDetectorMain(argc, argv, theApp,0); qDetectorMain *det=new qDetectorMain(argc, argv, theApp,0);
det->show(); det->show();

View File

@ -9,7 +9,6 @@
#include "multiSlsDetector.h" #include "multiSlsDetector.h"
// Qt Project Class Headers // Qt Project Class Headers
#include "qScanWidget.h" #include "qScanWidget.h"
#include "qDefs.h"
// Qt Include Headers // Qt Include Headers
#include <QFileDialog> #include <QFileDialog>
#include <QStackedLayout> #include <QStackedLayout>

View File

@ -6,7 +6,6 @@
*/ */
// Qt Project Class Headers // Qt Project Class Headers
#include "qTabActions.h" #include "qTabActions.h"
#include "qDefs.h"
// Project Class Headers // Project Class Headers
#include "slsDetector.h" #include "slsDetector.h"
#include "multiSlsDetector.h" #include "multiSlsDetector.h"

View File

@ -5,7 +5,6 @@
* Author: l_maliakal_d * Author: l_maliakal_d
*/ */
#include "qTabAdvanced.h" #include "qTabAdvanced.h"
#include "qDefs.h"
#include "qDrawPlot.h" #include "qDrawPlot.h"
/** Project Class Headers */ /** Project Class Headers */
#include "slsDetector.h" #include "slsDetector.h"

View File

@ -10,7 +10,6 @@
* ********************************************************************/ * ********************************************************************/
#include "qTabDataOutput.h" #include "qTabDataOutput.h"
#include "qDefs.h"
// Project Class Headers // Project Class Headers
#include "slsDetector.h" #include "slsDetector.h"
#include "multiSlsDetector.h" #include "multiSlsDetector.h"

View File

@ -5,7 +5,6 @@
* Author: l_maliakal_d * Author: l_maliakal_d
*/ */
#include "qTabDebugging.h" #include "qTabDebugging.h"
#include "qDefs.h"
// Project Class Headers // Project Class Headers
#include "slsDetector.h" #include "slsDetector.h"
#include "multiSlsDetector.h" #include "multiSlsDetector.h"

View File

@ -5,7 +5,6 @@
* Author: l_maliakal_d * Author: l_maliakal_d
*/ */
#include "qTabDeveloper.h" #include "qTabDeveloper.h"
#include "qDefs.h"
//Project Class Headers //Project Class Headers
#include "slsDetector.h" #include "slsDetector.h"
#include "multiSlsDetector.h" #include "multiSlsDetector.h"

View File

@ -7,7 +7,6 @@
//Qt Project Class Headers //Qt Project Class Headers
#include "qTabMeasurement.h" #include "qTabMeasurement.h"
#include "qDefs.h"
#include "qDrawPlot.h" #include "qDrawPlot.h"
//Project Class Headers //Project Class Headers
#include "slsDetector.h" #include "slsDetector.h"

View File

@ -7,7 +7,6 @@
/** Qt Project Class Headers */ /** Qt Project Class Headers */
#include "qTabMessages.h" #include "qTabMessages.h"
#include "qDefs.h"
/** Project Class Headers */ /** Project Class Headers */
#include "slsDetector.h" #include "slsDetector.h"
#include "multiSlsDetector.h" #include "multiSlsDetector.h"

View File

@ -6,7 +6,6 @@
*/ */
#include "qTabPlot.h" #include "qTabPlot.h"
#include "qDefs.h"
#include "qDrawPlot.h" #include "qDrawPlot.h"
// Project Class Headers // Project Class Headers
#include "slsDetector.h" #include "slsDetector.h"

View File

@ -6,7 +6,6 @@
*/ */
#include "qTabSettings.h" #include "qTabSettings.h"
#include "qDefs.h"
// Project Class Headers // Project Class Headers
#include "slsDetector.h" #include "slsDetector.h"
#include "multiSlsDetector.h" #include "multiSlsDetector.h"