Added new class AMScanSearchView which will represent the search window
for scans.
Added:
-"Search Scans..." button to AMDataView to show search dialog
-Did very minor cosmetic editing of AMScanSearchView
Added:
-A class AMScanListModel to use as a model for a group of scans
(currently loads no scans, and cannot access the configs)
-Added a QTableView to AMScanSearchView and tied the AMScanListModel to
it
Fixed:
Added call to init() in AMSample(int databaseID, AMDatabase*
database,...) constructor to fix seg fault when called
Added:
-new class AMScanSearchInfo to represent a simple fast way of
representing scans in a table view which automatically populates with
all scans currently in the database
-new class AMScanSearchInfoListModel to use this class in views
-changed AMScanSearchView's table to use AMScanSearchInfoListModel
Added outline of widgets and layouts to AMScanSearchView
Altered AMDataView to only initialize AMScanSearchView when Search...
button is clicked

Fixed up AMScanSearchView so it populates with information of scans from
the current database, and allows for searching on fields.
Changed sample() and configuration() to lazy load samples and
configurations in order to increase performance.
Modified AMScanSearchInfoListModel to do lazy loading of actual
AMScanSearchInfo items.
Added signal to AMScanSearchView which emits when a scan is double
clicked.
Added:
AMExtendedControlEditor exitSlitEditor_ (mapped to sgm()->exitSlit()) to
SGMAdvancedControlsView
Removed all usages of AMControlSet and AMControlSetView from
SGMXASScanConfiguration2013View and call in SGMAppController to
setControlSet()
Added buttons to change grating tracking (grating also referred to as
mono), undulator tracking and exit slit tracking statuses to
SGMXASScanConfiguration2013View
Altered searchDoubleClicked signal to emit a QList<QUrl> containing URLs
from which to load scans, rather than the ScanIds
Added:
-Context menu to AMScanSearchView to allow user to edit scan, display
config and export scan.
-Signals to AMScanSearchView which fire when user selects to edit,
display config or export scan.
-Slots and signals to AMDataView to capture AMScanSearchView's signals
and refire them
-Slots to AMDataViewWithActionButtons to capure AMDataView's signals
Added reference to ScanId (referred to in Ui as Serial#) to
AMDataViewSectionListView and AMGenericScanEditor
Changed tracking buttons in SGMXASSScanConfiguration2013View:
-Tracking buttons to checked mode
-Changed text to the name of the tracking control they'll change
Merge branch 'Issue352' into Issue496ToMergeWithSGMReleaseToMergeWithNewXRFDetector
Merge branch 'Issue579' into Issue496ToMergeWithSGMReleaseToMergeWithNewXRFDetector
Merge branch 'Issue591' into Issue496ToMergeWithSGMReleaseToMergeWithNewXRFDetector