Short Description: Qt4 Accounting View: Adjustments to Account Item graphics Bug Number: n/a Release notes (y/n): no For Release Nums: 6.1 Two adjustments in reponse to David's review of the Qt4 Accounting View. (1) Make the account item selection ornamentation more prominent. (2) Increase the account item width a TAD, to compensate for additional margin space in new design -- with the objective of not introducing more account name truncation in established Accounting models. -------------------------- QtUtils/AccountGfxItem.cpp -------------------------- (1) Make the account item selection ornamentation more prominent. When an account item is SELECTED, DOUBLE the width of the dotted line outline (unless zoomed out, in which case the "cosmetic" pen should still be used). See method: void AccountGfxItem::paint (QPainter* ...). Also, in method: QRectF AccountGfxItem::boundingRect() const, expand the returned rectangle by 0.5 pixes on each side, in order to clean-up after the newly expanded selection ornamentation (double width dotted line). (2) Increase the account item width a TAD, to compensate for additional margin space in new design. Added symbol, with comment: // In the port from Qt3 to Qt4, some additional margin spacing was // increased. In order to avoid more Account name truncation in // established accounting models, we're adding a little extra width // to the configured (or default) width of Account items. // static const int ExtraQt4PortAcctItemWidth = 6; .. used in methods: (a) AccountGfxItem, constructor, when initializing _width. (b) AccountGfxItem::setStyle (const QString& groupName, ..), when setting _width to a new value. ---