Commit Graph

1487 Commits

Author SHA1 Message Date
suter_a b890dda7ac make sure that the icon theme is properly loaded when the prefs are reloaded. 2019-05-02 14:15:30 +02:00
suter_a 1d9be24be1 More flexible dark scheme handling
It works now as follows:
1) try to get theme information from the system, and if present us it.
2) if no theme information of the system is present, take the one from
   the musredit_startup.xml.

Now it is possible to switch the icon theme for the menu and toolbar
separately.
2019-05-02 14:15:19 +02:00
suter_a 297522d6b1 updated default musredit_startup.xml file info. 2019-05-02 14:15:09 +02:00
suter_a 492bb4b20e more work for dark theme under macOS. 2019-05-02 14:14:57 +02:00
suter_a d9b5e8d737 improved icon scaling. 2019-05-02 14:14:44 +02:00
suter_a ff03f46952 make toolbar icons switchable plain/dark. 2019-05-02 14:14:32 +02:00
suter_a eb0cf12766 Allow switching icon theme in musredit
Added the needed facility in the preferences which allows to switch
the icon scheme between plain and dark. This is needed for some OS
where qt doesn't provide the necessary information.
2019-05-02 14:14:11 +02:00
suter_a 8f5c296e72 added MusrRoot docu. Added 'Proposal Number' and 'Main Proposer' to the RunInfo. 2019-04-26 13:01:32 +02:00
suter_a ed365c016e some minor improvement concerning the start of musrview for cases where the msr-file is corrupted, the data file cannot be read, etc. 2019-04-25 21:03:38 +02:00
suter_a 306e555311 some minor cleanup and update of the copyright info. 2019-04-25 21:03:01 +02:00
suter_a f5344e29f0 added some more specifc error codes. 2019-04-25 21:02:45 +02:00
suter_a 63aa171982 added some additional error tags. 2019-04-25 21:02:31 +02:00
suter_a 9b2a01db2d modernized code to C++11 and newer -- cleanup. 2019-04-24 17:53:18 +02:00
suter_a c64c74dbf8 modernized code to C++11 and newer.
This allows to analyze the code by external code analyzers. Since a lot is adopted,
the version is changed to 1.4.3

Conflicts:
	src/classes/PFitter.cpp
	src/classes/PFourier.cpp
	src/classes/PMsrHandler.cpp
	src/classes/PMusrCanvas.cpp
	src/classes/PRunAsymmetry.cpp
	src/classes/PRunAsymmetryRRF.cpp
	src/classes/PRunListCollection.cpp
	src/classes/PRunSingleHisto.cpp
	src/classes/PRunSingleHistoRRF.cpp
	src/classes/PStartupHandler.cpp
	src/include/PFourier.h
	src/include/PRunListCollection.h
	src/musrFT.cpp
2019-04-24 17:44:58 +02:00
suter_a 1c5069bc48 fix of wrong offset in time domain data before Fourier. 2019-04-11 16:46:13 +02:00
suter_a ac1d52a054 removed outdated 'register' from code. 2019-04-04 16:06:59 +02:00
suter_a 5ab041a4f2 improve msr2data handling
It is now checked if a msr-file is already open so that the corresponding
tab is reloaded after msr2data is carried out with a file open request.
2019-04-01 10:42:27 +02:00
suter_a 5bb47dc9fb Fix crash when trying to close empty tab 2019-04-01 09:09:45 +02:00
suter_a 0ff385de11 added missing include directory. 2019-03-08 16:29:39 +01:00
suter_a 8dd8d29adc Remove automake support
Since the cmake tool chain is now stable, the automake tool chain is removed from musrfit.
This makes documentation and code less cluttered.

Conflicts:
	configure.ac
	src/Makefile.am
	src/classes/Makefile.am
	src/external/MuSR_software/Makefile.am
2019-03-08 13:53:36 +01:00
suter_a 352ce48899 find theme in case default channel fail. This is ugly and eventually needs a better solution. 2019-02-14 09:41:14 +01:00
suter_a f6ee484baf Dynamic Search Path for ROOT Dictionary
Added by default the dynamic search path '/usr/local/lib' to ROOT.
This is needed to find the necessary dictionaries for musrfit,
musrview, musrt0. Furthermore, added an option '--show-dynamic-path'
to these programs which allow the user to dump the currently used
dynamic search paths. This is potentially handy for diagnostics.
2019-02-05 10:08:15 +01:00
suter_a bc09ff5d8d adopted musredit.pro such that the deprecated automake get things compiled. 2019-01-22 15:01:57 +01:00
suter_a 94950cb755 ifgk and ifll CUDA/OpenCL-GPU accessible. 2019-01-22 14:05:09 +01:00
suter_a fc68aed573 make msr-file comment consistent with the docu (for ifll and ifgk). 2019-01-22 14:04:02 +01:00
suter_a 7ace2e7d35 Make so far undocumented functions ifgk and ifll public and at the same time properly normalize them. 2019-01-21 14:48:07 +01:00
suter_a 64fc455831 Add Default Search Paths via musredit preferences if previously no search paths were present
So far it was not possible to add Default Search Paths to musrfit via musredit if somebody delete all the predefined search paths. This bug is now fixed.
2018-12-17 17:38:40 +01:00
suter_a 2c65609f84 AddT0 offset bug
Up to now there has been an addT0 offset bug which resulted to the following situation.
Since the offset was wrong by '1', for the first addt0 the t0 of the file was used
instead of the one given in the msr-file. If these t0's are substantially different, the
adding of the runs was quite off, resulting in strong distortions at very early times.
Pant Amba Datt pointed towards this bug which is fixed now.
2018-12-11 14:12:48 +01:00
suter_a a5748f0359 Fourier relative phase: bug fix
The reference phase for real Fourier was accidentely counted twice.
2018-11-29 11:00:24 +01:00
suter_a 91c33fdbd1 musredit help system if neither QWebEngine nor QWebKit is found.
If neither QWebEngine nor QWebKit is found, do not generate an build
error anymore. Instead just show a default window stating that
the help system is not available due to missing Qt web libs.
2018-11-29 08:50:12 +01:00
suter_a d874bcfeab BNMR lib installation problems
Adopted the build system for the BNMR libs such that the generated files are found and can be installed. The BNMR lib mantainers (ZS, JK) are responsible for the functionality though.
2018-11-27 12:41:39 +01:00
suter_a 1e8b79ec1d set reference phase index in the case of a phase vector 2018-11-13 09:20:14 +01:00
suter_a 0d917564c5 allow to define the phase parameter lists in the Fourier block with a reference phase parameter. This means all the other phase parameters are then relative to this reference phase parameter. This is often used when analysing LEM data. 2018-11-13 09:19:48 +01:00
suter_a 35fd671166 fixed wrong include path in the cmake infrastructure. 2018-11-05 10:11:40 +01:00
suter_a 515bf278d5 make sure that enough relevant digits of the parameters are exported to the db/dat-file. 2018-10-26 14:30:33 +02:00
suter_a f28a0153b4 added missing header. 2018-10-24 11:31:19 +02:00
suter_a 419f0718f3 increased the export precision. This is a quick and dirty fix only. 2018-10-23 16:02:10 +02:00
suter_a 06ae0a12ea fixed start != t0 phase issue 2018-10-18 13:54:05 +02:00
suter_a 357d46aac4 allow multiple Fourier phase parameters for phase shifted real Fourier. Autophasing still missing. 2018-10-15 16:12:49 +02:00
suter_a e9e39bb8a6 get rid of cmake warnings in connection with automoc and autouic 2018-10-11 12:48:13 +02:00
nemu 660053c52a make sure that BOOST is found even if installed in any non-standard path.
Conflicts:
	src/CMakeLists.txt
	src/classes/CMakeLists.txt
2018-08-27 15:59:50 +02:00
suter_a db70d474dc added some more necessary paths. 2018-08-17 21:00:00 +02:00
suter_a dc437c9f25 fix of an accidentally carried out wrong cleanup. 2018-08-17 16:16:08 +02:00
JAK 927eb75a90 cmake should now also work on MacOS. 2018-08-17 16:04:11 +02:00
JAK 7dd79560d1 Removed class MLRes from libBNMR. It wasn`t implemented. 2018-08-17 16:04:07 +02:00
JAK a159f573b6 Updated docu in LineProfile.pdf. 2018-08-17 16:01:02 +02:00
JAK 8a7a9b7380 Updated docu in LineProfile.pdf. 2018-08-17 16:01:02 +02:00
JAK d9c4505e8e The line shape width is now the correct FWHM. 2018-08-17 16:01:02 +02:00
suter_a 5aa7bec5d6 Added CMake files for libLineProfile. 2018-08-17 16:01:02 +02:00
JAK 266b18ae33 Added libLineProfile and integrated it into automake. 2018-08-17 16:01:02 +02:00