Hi!
I want to create a TableView with Header, Data and Footer (SUM, AVG, etc.). I want to scroll the data-values and/or header and footer.
Pictures say more than just words. Here is a drawing of that.
table_example.jpg
I want to set a model via setModel(mymodel).
In this model i want to calculate a new value for the rows...example(pseudo-code):
Qt Code:
if(model.currentrow.currency == USD) { CalcUSDToEuro(currentrow); // calc euro and show in table } else if(model.currentrow.currency == GBP) { CalcGBPToEuro(currentrow); // calc euro and show in table }To copy to clipboard, switch view to plain text mode
Is it somehow possible?
I'm very new to qt...sorry.
Thank you for your help!
Bookmarks