[Kmymoney-devel] Review Request 112364: BUG:312816 - Implement resizing of ledger Number column (and others)., and Interest category and amount disappear when new fee entered in Dividend.

aga agander93 at gmail.com
Fri Sep 13 10:59:37 UTC 2013


On Fri, 13 Sep 2013 10:50:53 -0000
Cristian Oneț <onet.cristian at gmail.com> wrote:

> 
> 
> On Sept. 10, 2013, 7:20 a.m., Allan Anderson wrote:
> > > Another nice thing would be to have a separate patch for each
> > > individual functionality. Right now we have two things here 1 -
> > > ledger resizing and 2 - investment editor fix for widgets that
> > > are visible when they should not be. For me it's not that easy to
> > > make a review this way.
> > 
> > Allan Anderson wrote:
> >     The two came along together.  I can do this for these changes
> > in the investment editor, but most of the trouble was in the new
> > code, even though the methods were identical or near-identical.
> > So, for these, there is no patch fixing something, as there was no
> > code there before. Anyway, I'll see if I can do some separation.
> > 
> > Allan Anderson wrote:
> >     Incidentally, this problem with the edit widgets
> > disappearing/appearing when wanted/unwanted is present in an
> > unpatched git HEAD, and has been there for a long while.  Opening
> > any investment transaction, then resizing the window,  will produce
> > it with one or more widgets. From some fresh experiments, if a
> > hide() (or show()) does not do the necessary, then often replacing
> > with setCalculatorButtonVisible(false) and lineedit()->hide() does
> > the trick.  Sadly though, that does not work in every case, and it
> > looks like the only sure-fire fix is the one I came up with,
> > setting the widget height to zero instead of hiding.
> >
> > 
> > Allan Anderson wrote:
> >     What I'm working on and proposing is, for now, to concentrate
> > on the column width issues. It is almost exclusively in the
> > Register class, with revised versions of Register::adjustColumn(int
> > col) and Register::resize(int col, bool force), which are much the
> > same as in the original submission. This will ensure each column is
> > wide enough for its data, so no need (or ability) for the user to
> > resize any individual columns.  Also, at the moment, while entering
> > or editing a transaction, the width of all the edit edit boxes is
> > considerably hidden by calculator or date entry buttons.  This is
> > improved, and the number column width can expand while editing, so
> > the user can actually see all of his entry, instead of it scrolling
> > out of sight. The whole window may be resized, as now, but I'm
> > abandoning the long-standing issue of investment edit widgets
> > appearing/disappearing illogically. The overall size of the patch
> > is much reduced. I hope you agree for me to proceed with this.
> >
> 
> Sure, go on, I'm happy with the solution you've described. I'll take
> a look at the investment edit widgets issue when I can.
> 

Yes, I noticed you've been a bit busy!

Allan


More information about the KMyMoney-devel mailing list