9-11-2012 Qt4 Port: Open Statistical Table Slot Dialog: Q3Table -> Qt4 model/view table Bug Number: none Release notes (y/n): n For Release Nums: 6.3 -------------------------- Q3GUI/StatTableSlotDlg.hpp Q3GUI/StatTableSlotDlg.cpp -------------------------- Display table port. This is a simple read-only (non-editable) display of a Table Slot. (The fact that the table slot is computed by a statistical function on a designated series slot wasn't relevant to the table display -- note that the column and row headers are part of the Table Slot). OLD: class StatTableSlotDlg::SlotTable : public Q3Table NEW: class StatTableSlotDlg::SlotTableView : public QTableView NEW: class StatTableSlotDlg::SlotTableModel : public QAbstractTableModel OLD: SlotTable* _dataTable; NEW: SlotTableView* _slotTableView; NEW: SlotTableModel* _slotTableModel; It was necessary to implement the cell size hints for currect automatic sizing of DATETIME value columns. Otherwise, certain rows were showing wrapped DATETIME text, with the table row height set for two rows of text. See mechanism in the SlotTableModel class: void StatTableSlotDlg::SlotTableModel::computeSizeCache(); Other changes: (1) Ported use of a Q3FileDialog (used by the Export Slot operation). (2) Comprehensive removal of Q3 methods: // Prevent use of the Qt3 compatibility library #undef QT3_SUPPORT (3) Performance optimization: eliminated redundent rebuild operations of the display table. (4) Added "Evaluate" icon button -- similar to the open slot dialog for the Annual Aggregation Series Slot. ---