Hi folks!
I've started using Qt couple of days ago and have some issues I'm not able to solve anyhow and I would really appreciate someone's help.
I'm using mode / view pattern with QTableView, showing and editing my data works well, but:
1. How do I add (or delete) a row in the QTableView visual interface? I did it with some buttons and signals to my model but is there any other possibility?
2. My QTableView is expanding dynamically and I want the row to use all possible space but not more so I'll have to scroll left or right. I tried returning different values from data(..) and headerData(..) functions to Qt::SizeHintRole arguments but with no effect.
3. I'm quite familiar with model / view pattern but how can help me a delegate?
Thanks for any response or tip.
Bookmarks