Short Description: Qt4 Accounting View: Selected Account Item Ornamentation Bug Number: n/a Release notes (y/n): no For Release Nums: 6.1 Qt4 Accounting Workspace Development: Selected Account Item Ornamentation: Dotted Border The Qt3 implementation of the Accounting workspace used a color-reversal within Account Items to indicated the currently selection. That ornamentation isn't clear when Account Display Groups with different color backgrounds are used. The Qt4 implementation uses instead a DOTTED OUTLINE, with contrasting white or black drawn as a background, between the dots. Only one Account is selected at a time, though there aren't really any OPERATIONS on the "selected" Account, except sort of for context menus and the drag-reordering operation. -------------------------- QtUtils/AccountGfxItem.hpp QtUtils/AccountGfxItem.cpp -------------------------- Parameters were added to support "Account Item Selected" ornamentation: void drawStorageShape (QPainter*, const QPen&, const QBrush&); void drawGeneralShape (QPainter*, const QPen&, const QBrush&); -------------------------- QtUtils/AcctRowGfxItem.cpp -------------------------- In method, AcctRowGfxItem::updateAccountItemLayout(), as a side-effect, in the iteration over the Account Items in the displayed order, assign assending "position" numbers to the included Accounts. After performing a drag, re-select the drag item (which had been deleted and recreated). ----------------------------- QtUtils/WorkspaceGfxScene.hpp QtUtils/WorkspaceGfxScene.cpp ----------------------------- Added utility: void deselectAcctItemsExceptFor (const AccountGfxItem*); ... deselects all selected account items except for the given one. ---