[Qt-interest] QTableView with summary footer
Giuseppe D'Angelo
dangelog at gmail.com
Wed Sep 7 10:46:41 CEST 2011
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.
--
Giuseppe D'Angelo
More information about the Qt-interest-old
mailing list