ComboBox mode is set to angular whenever a new file is opened
Added Fit button
Mpl cursor in Fit mode has been added
Basic event treatment for MplCursor
New PeakFitDialog class has been added
Default values in TextControls of PeakFitDialog are assigned
RSMPeak class is added, simple fit functionality
OnApply handler of PeakFitDialog is implemented
Corrected wrong layout of Fit button on display mode change
Added list_ctrl to collect identified peaks
Added column names to PeakList
Functionality previously connected to Fit button now moved to Add button. Fit button removed
To add peak program switches to the Q-mode
Peak is now saved to ListCtrl on OK
Updated PeakFitDialog with fit data ranges
and right matplotlib canvas panel to show qx and qz scans
Refined layout of PeakFitDialod. Two axes are added to the matplotlib figure
which will contain fit and experimental qx qnd qz scans
Fit ranges change by event handlers, scan axes are redrawn
Experimental and fit scans are displayed in FitPeakDialog
Preferences menu item and PreferencesDialog have been added
Figure width, height and dpi are now controlled through PreferencesDialog