[Qt-interest] QTableView with summary footer

Linos info at linos.es
Wed Sep 7 11:16:22 CEST 2011


El 07/09/11 10:46, Giuseppe D'Angelo escribió:
> On Wed, Sep 7, 2011 at 9:07 AM, Linos <info at linos.es> wrote:
>> No, i saw the example but i would like to have a summary QHeaderView in footer,
>> not a frozen row with summary values,
> 
> The solution should be pretty much the same: a subwidget inside your
> view, with some glue code to control the positioning, the width of the
> columns etc.
> 
>> apart from the visual difference i would
>> like to attach any model to the table (Ex: QSqlQueryModel) without attach the
>> model to a proxy where i would calculate this last frozen row summary values.
> 
> That's perfectly doable as well, just do it in the view.
> 

Yes, thinking about your comments i think you could have reason, i will try this
way too, thanks.

Regards,
Miguel Angel.



More information about the Qt-interest-old mailing list