But it does not get the data from the database. I’m do not want to retrieve the data to the table and want to display data in particular line edit. What is the error? Is there any modification? This is the Code that I’m using: Answer This code has four main issues: You have deleted the ui at the beginning
Tag: qt
Way to save integers in a model, compatible with QStyledItemDelegate?
I’m searching for a way to save integers and strings in a model and add new ones/ remove them. Maybe I will use QStyledItemDelegate soon too, so it needs to be a compatible solution. I have some Integers and Strings in a Qsqltable. Next, I want to add a custom row (should only be added to my model, not to