extreme001
18th April 2011, 20:56
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.
6247
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):
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
}
Is it somehow possible?
I'm very new to qt...sorry.
Thank you for your help!
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.
6247
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):
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
}
Is it somehow possible?
I'm very new to qt...sorry.
Thank you for your help!