Commit Graph

1511 Commits

Author SHA1 Message Date
suter_a 3256dde54e 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 10:44:04 +02:00
suter_a 1ef1e6f42e updated default musredit_startup.xml file info. 2019-05-01 10:57:50 +02:00
suter_a 20153c6ffc more work for dark theme under macOS. 2019-05-01 09:01:27 +02:00
suter_a bd3ade3136 improved icon scaling. 2019-04-30 14:20:38 +02:00
suter_a f51f3e2038 make toolbar icons switchable plain/dark. 2019-04-30 09:40:36 +02:00
suter_a a5526d7f76 Merge branch 'root6' of https://git.psi.ch/nemu/musrfit into root6 2019-04-26 20:35:32 +02:00
suter_a 67421b2114 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-04-26 19:29:24 +02:00
suter_a 34872e043d added MusrRoot docu. Added 'Proposal Number' and 'Main Proposer' to the RunInfo. 2019-04-26 11:46:15 +02:00
suter_a dae9ef0ffb 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 20:33:43 +02:00
suter_a 074d8c77e4 some minor cleanup and update of the copyright info. 2019-04-25 20:30:44 +02:00
suter_a 96d9ba5f88 added some more specifc error codes. 2019-04-25 20:23:40 +02:00
suter_a 9d12700f39 added some additional error tags. 2019-04-25 20:22:43 +02:00
suter_a 795cd75b1e 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
2019-04-16 15:34:49 +02:00
suter_a e6d424e900 removed outdated 'register' from code. 2019-04-04 15:52:21 +02:00
suter_a 36cc3444a2 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:32:24 +02:00
suter_a 15692b89e7 Fix crash when trying to close empty tab 2019-04-01 09:03:29 +02:00
suter_a 9cd35d1373 added missing include directory. 2019-03-08 16:24:45 +01:00
suter_a dbfeeddf3f 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.
2019-03-08 12:50:41 +01:00
suter_a 64f73ffb11 find theme in case default channel fail. This is ugly and eventually needs a better solution. 2019-02-14 09:35:32 +01:00
suter_a 97beb80c4b 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 09:51:30 +01:00
suter_a 29d35579a7 added the current source code path to root_generate_dictionary. 2019-02-04 19:43:31 +01:00
suter_a c64a8146b7 added the necessary header-, pcm-, and rootmap-files. This is needed when distrbuted as package. 2019-02-04 10:54:52 +01:00
suter_a 3cb950277f cmake/cpack root dictionary issue fixed.
In order that package assembly works, the code needs to be relocatble
and any hints linking it to the original source need to be absent.
The changes here do exactely this. For rootcling the '-inlineInputHeader'
option is needed, otherwise the dictionary wants to load the header
file from the source destination which of course will fail when installing
the package on a machine without the source.
2019-02-01 16:05:24 +01:00
suter_a 98057629e6 adopted musredit.pro such that the deprecated automake get things compiled. 2019-01-22 14:51:52 +01:00
suter_a 8485914b89 make msr-file comment consistent with the docu (for ifll and ifgk). 2019-01-22 14:15:43 +01:00
suter_a c7e35dfdff Make so far undocumented functions ifgk and ifll public and at the same time properly normalize them. 2019-01-18 10:35:26 +01:00
suter_a 1831b8bf3e 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:30:58 +01:00
suter_a c6766864d9 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 13:59:58 +01:00
suter_a 7361dc6f70 Fourier relative phase: bug fix
The reference phase for real Fourier was accidentely counted twice.
2018-11-29 10:56:37 +01:00
suter_a 2d3ec33aa1 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-28 20:14:16 +01:00
suter_a c5c5b16c46 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:25:18 +01:00
suter_a 71f8f78b63 set reference phase index in the case of a phase vector 2018-11-13 08:39:26 +01:00
suter_a 3c55a72475 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-12 20:35:10 +01:00
suter_a f3c58afa51 fixed wrong include path in the cmake infrastructure. 2018-11-05 10:16:51 +01:00
suter_a 476e2b49d6 make sure that enough relevant digits of the parameters are exported to the db/dat-file. 2018-10-26 14:26:04 +02:00
nemu e34228da08 added missing header. 2018-10-24 11:34:14 +02:00
suter_a 34dd954613 increased the export precision. This is a quick and dirty fix only. 2018-10-23 16:00:54 +02:00
suter_a 5909d59f32 allow multiple Fourier phase parameters for phase shifted real Fourier. Autophasing still missing. 2018-10-15 16:09:17 +02:00
suter_a 70013be8fc get rid of cmake warnings in connection with automoc and autouic 2018-10-11 12:42:36 +02:00
prokscha e91f8074a6 Added all Mu fractions to print method; added time stamps in root macro. 2018-09-11 17:35:11 +02:00
prokscha 4aa264c17a Added nu_13 and nu_24 for anisotropic Mu 2018-09-11 16:36:20 +02:00
salman 09111b659d Update to last working version. 2018-09-11 10:19:01 +02:00
nemu 2a848ed5f3 make sure that BOOST is found even if installed in any non-standard path. 2018-08-27 15:46:48 +02:00
salman ae60581d5d Updated to the last working version. 2018-08-23 17:35:57 +02:00
suter_a 8ab2687e17 added some more necessary paths. 2018-08-17 20:55:04 +02:00
JAK 97d6a495a1 cmake should now also work on MacOS. 2018-08-17 14:57:36 +02:00
JAK 7d5429b5e3 Removed class MLRes from libBNMR. It wasn`t implemented. 2018-08-17 12:56:01 +02:00
JAK 9c73880b8b Updated docu in LineProfile.pdf. 2018-08-17 11:08:22 +02:00
JAK 12d36cc91b Updated docu in LineProfile.pdf. 2018-08-17 10:56:28 +02:00
JAK c19d1f473a The line shape width is now the correct FWHM. 2018-08-17 10:49:06 +02:00