Dhanya Thattil 180c7b7191
Gui slot call focus fix (#150)
* fix for editingFinished for qlineedit using isModified()

* spinbox disable keyboard tracking to use valuechanged so slot called only after editing finished, focus fix

* return pressed forces qtextfield to be set (slot for tab checks for modification flag due to avoid unnecessary set when focus). This is to remove inconsistencies from command line. A return should set even if it looks like no modification in gui

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2020-09-02 16:56:57 +02:00
2020-08-13 10:15:45 +02:00
zmq
2020-03-18 12:38:06 +01:00
2020-05-06 11:59:49 +02:00
2020-09-02 12:32:14 +02:00
2020-05-04 16:30:00 +02:00
2020-02-13 14:50:23 +01:00
2020-08-10 18:37:29 +02:00
2020-09-02 16:48:51 +02:00
2020-03-11 12:40:12 +01:00
2019-04-12 10:53:09 +02:00
WIP
2020-06-03 14:40:51 +02:00
2020-09-02 10:25:36 +02:00
2020-05-04 16:30:00 +02:00
2020-05-05 10:04:52 +02:00
WIP
2020-03-03 17:01:45 +01:00
2020-02-17 17:43:14 +01:00
2019-06-25 11:20:31 +02:00
2020-03-02 13:12:46 +01:00
2020-07-29 14:39:34 +02:00
2020-03-03 17:55:16 +01:00
2019-09-02 19:27:27 +02:00
2020-08-10 12:04:31 +02:00

Documentation

Detailed documentation can be found on the official site.

Binaries

Binaries for the slsDetectorPackage are available through conda.

#Add conda channels
conda config --add channels conda-forge
conda config --add channels slsdetectorgroup

conda install slsdetlib   #only shared lib and command line
conda install slsdet      #python bindings (includes slsdetlib)
conda install slsdetgui   #gui (includes qt4)

#Install specific version
conda install slsdet=2020.03.02.dev0 #developer version from 3 March 2020

Source code

One can also obtain the source code from this repository and compile.

git clone https://github.com/slsdetectorgroup/slsDetectorPackage.git

Dependencies

  • Lib: c++11 compiler (gcc=>4.8), ZeroMQ 4
  • Gui: Qt 4.8 and Qwt 6.0
  • Calibration wizards and ctbGUI: ROOT
  • Optional: HDF5

Compilation

Compiling can be done in two ways. Either with the convenience script cmk.sh or directly with cmake for more control.

1. Compile using script cmk.sh

After compiling, the libraries and executables will be found in slsDetectorPackage/build/bin directory

Usage: [-c] [-b] [-p] [e] [t] [r] [g] [s] [u] [i] [-h] [-d ] [-j] -[no option]: only make -c: Clean -b: Builds/Rebuilds CMake files normal mode -p: Builds/Rebuilds Python API -h: Builds/Rebuilds Cmake files with HDF5 package -d: HDF5 Custom Directory -t: Build/Rebuilds only text client -r: Build/Rebuilds only receiver -g: Build/Rebuilds only gui -s: Simulator -u: Chip Test Gui -j: Number of threads to compile through -e: Debug mode -i: Builds tests

eg. Rebuild when you switch to a new build and compile in parallel: ./cmk.sh -bj5

2. Compile without script
Use cmake to create out-of-source builds, by creating a build folder parallel to source directory. This would create a debug build with address sanitizers.

    $ mkdir build
    $ cd build
    $ cmake ../slsDetectorPackage  -DCMAKE_BUILD_TYPE=Debug -DSLS_USE_SANITIZER=ON
    $ make -j12 #or whatever number of threads wanted
Description
Mirror of our github project
Readme 278 MiB
Languages
C++ 63.2%
C 25.3%
Python 8%
Shell 1.9%
CMake 1.3%
Other 0.3%