4-04-2011 Short Description: Qt4 Port of the Plot Marker Manager Dialog / Q3ListView Bug Number: n/a Release notes (y/n): no For Release Nums: 6.1 ... including internal behavioral fixes and fixes to integration with the client dialog (the Plot Dialog). SEE SCREENSHOT: http://cadswes2.colorado.edu/~philw/2011/Qt4Port/April/MarkerMgrDlg/ ------------------------- Q3GUI/MarkerMgrDlg.hpp Q3GUI/MarkerMgrDlg.cpp Q3GUI/MarkerMgrWidgets.ui ------------------------- Ported widget: Q3ListView --> QTreeWidget: _listView Added QTreeWidget Item subclass: MarkerMgrDlg::TwItem : public QTreeWidgetItem ... needed for proper sorting by Maker Key (number). Cleanup of distinction between initialization and updating. In particular 'rebuildList' was added, broken out from 'initWidgets'. Cleanup of selection and scroll behaviors after adding markers. Also, more reliable coding of button-enabling -- not dependent on side effects from other widget change handling, with new method: sensitizeWidgets(). ------------------ Q3GUI/SlotPlot.cpp ------------------ In method SlotPlot::loadPlotInfo(), if the Marker Manager dialog for this SlotPlot is shown, then update that dialog with the list of Markers from the newly loaded PlotInfo. (This is done simply by calling MarkerMgrDlg:: setPlot (SlotPlot*). In method SlotPlot::spawnMarkerMgrDlg() -- similar enhancement (see above) in case the dialog is shown again from the Plot Dialog (i.e. if the Marker Manager dialog is already shown). ---