4-25-2011 Short Description: Added QTreeWidgetItem utility: check/uncheck child items Bug Number: n/a Release notes (y/n): no For Release Nums: 6.1 -------------------- Q3GUI/RwQt4Utils.hpp Q3GUI/RwQt4Utils.cpp -------------------- Added support function: void setCheckedAllChildItems (QTreeWidgetItem*, int col, bool doCheck); ... turns checkboxes for the specified column ON or OFF of all children ... (deep) of the specified item. This is initially used in the Qt4 port of the QtRpl/RplImportDlg Q3ListView. ------------------------- QtRpl/RplImportDlg.hpp QtRpl/RplImportDlg.cpp QtRpl/RplImportWidgets.ui ------------------------- Qt4 Port of the main treeview: OLD: Q3ListView* _ui._importListView; NEW: QTreeWidget* _ui._importTreeWidget; Special features include custom background cell coloring and contrasting foreground color in the status column, and propogation of item checkbox changes to child items (i.e. from Groups to Blocks and Functions). The special background colors in the status column were also applied to the QLabel widgets used as a "key" to describe the status column values. SEE Screenshots: http://cadswes2.colorado.edu/~philw/2011/Qt4Port/April/RplImportDlg/ ------------------- QtRpl/RplDlgMgr.hpp QtRpl/RplDlgMgr.cpp ------------------- Existing Functionality: The RPL Dialog subsystem maintains a recent RPL file chooser path. It is set from various file choosers within RPL dialogs. But it was initialized to the "current directory", which is generally the directory from which the RiverWare program is running. Enhanced Functionality: This maintained choose path is now _initialized_ with the file directory most recently accessed from RiverWare (even from a prior RiverWare session) using the "LoadSave" Manager's User Settings- based file access history. See static method: QString RplDlgMgr::chooserPath(); ---