Everyone... in case you have run into this before. 

I cannot seem to get Kdevelop to work correctly. 

Problems: 
- I set breakpoints but the breakpoint is set a few lines off. 
- When running in Debug mode, I am watching a variable named
invertedValue which I hard coded to = true; and still the variable does
not set to true, as if it is not debugging the code I see in the IDE. 
- I set qDebug() and qInfo() methods but they did not show anything in
the output view. Where should this show up? Anything I can configure in
the Kdevelop to get it to work? 

Any help would be greatly appreciated. 

@Thomas, I am focusing on the Cashflow report. 

thanks, 

JV 

On Sun, 2019-12-22 at 08:51 +0100, Thomas Baumgart wrote:
> Jesus,
> 
> On Samstag, 21. Dezember 2019 18:28:05 CET Jesus Varela wrote:
> 
> > Dev team,
> > 
> > I am trying to become more familiar with the code and am looking
> > for the
> > code that would control whether transfers are graphed and displayed
> > as
> > negative numbers in the reports. I want to display absolute values
> > on
> > charts and tables.
> 
> Not sure which report you want to modify, but there is e.g. a method
> called
> PivotTable::coloredAmount(). It is responsible to render the color
> for HTML
> reports. The callee of this method provides the value.
> 
> > I figured I would use this personal desire to get acquainted with
> > the code.
> > Any hints would be appreciated. I found the kreportchartview.cpp
> > and in
> > there is a variable to figure out if expenses should be negative or
> > not,
> > but I do not see anything for transfers. If it is there, I will
> > keep
> > looking. If I am on the wrong file, please let me know if you know
> > where I
> > should be looking.
> 
> KReportChartView::drawPivotChart receives all values in the parameter
> 'grid'.
> You may want to look into the construction of the grid to find the
> spot where
> the values of the transfers are inserted.
> 
> The spot you found is not negating the value of each expense, but
> simply
> negates the value contained in the grid if the underlying account for
> the cell
> is an expense account. So I wonder if that would be the spot to
> achieve what
> you are trying. 
> 
> > Just trying to make sure I am understanding the structure. I
> > haven't used
> > c++ in a long time.
> > 
> > Thanks in advance for any assistance.
> 
> Hope that helps. The reporting section is not my area of expertise.
> 
> 

Reply via email to