5-10-2011 (a) Short Description: Set SCT Aggregation Summary Functions: GUI finishing Bug Number: n/a Release notes (y/n): no For Release Nums: 6.1 Ref: https://cadswes2.colorado.edu/~philw/2011/SCT/SetSumFuncs/ ------------------- QtSCT/SctConfig.cpp ------------------- When adding a new slot to the SCT, initialize that slot item's Aggregation Summary Function using the current Summary Function Assignment specification (Persistence for that specification within the SCT Config file has not yet been implemented). Changes in methods: int SctConfig::insertSlotBefore (int slotInx, const char* name, ... int SctConfig::appendSlot (const char* name, int col, ... void SctConfig::reassignSlot (int slotInx, const char* name, ... -------------------------- QtSCT/SctSetSumFuncDlg.hpp QtSCT/SctSetSumFuncDlg.cpp QtSCT/SctSetSumFuncWidgets.ui -------------------------- Automatic size control for the Slot Name QLineEdit. Enforce a minimum width based on the text content. Also, modified size policies. New method: void updateSlotNameEdit(); Moved description label text from the UI file to the CPP file. (Qt Designer had been putting a ton of "markup" in the QLabel text just to apply italics to a single word, and the result wasn't good on Solaris). GUS Slot Selector: Allow selection of Accounting slots. When toggling a row item to the "Slot Name" mode, automatically give keyboard input focus to the Slot Name QLineEdit widget. ---------------------------- QtSCT/SctDialog.cpp QtSCT/SctDialog.Handlers.cpp ---------------------------- (1) Safer SctSetSumFuncDialog life-cycle management. (2) After applying new summary functions, do a data table column width adjustment. This is relevant for Slots being changed to "Sum". ------------------------------ QtSCT/SctSumFuncAssignSpec.cpp ------------------------------ Crash (assertion failure) fix in method: SctSumFuncSpec functionForSlot (const SlotColRef&) const (This method wasn't being called before this checkin). ---