pratham_shah
15th May 2013, 07:52
Hi,
I am building an application where I view large data in a dialog.
Dialog contains a QTableWidget which displays the data along wth 3 buttons for Add, Edit, Delete along with other UI stuff. As the data is in some specific format which I parse and fill it in QTableWidget
Now my problem is that I have 9-10 different sources from where I get the data.
Also for each of the different dialogs handling of Add, Edit, Delete is different. Also some dialogs are kind of read only dialog where Add, Edit, Delete functionality is not available, but some different functionality like Fetch is to be provided. Also some dialogs have a combo box whose index change changes the data in the table widget.
How can I use the same UI and add something for that specific dialog ?
In other words How can I use the same dialog UI but different backends and also customise the UI for different dialog.
Hope you got my point.
I am building an application where I view large data in a dialog.
Dialog contains a QTableWidget which displays the data along wth 3 buttons for Add, Edit, Delete along with other UI stuff. As the data is in some specific format which I parse and fill it in QTableWidget
Now my problem is that I have 9-10 different sources from where I get the data.
Also for each of the different dialogs handling of Add, Edit, Delete is different. Also some dialogs are kind of read only dialog where Add, Edit, Delete functionality is not available, but some different functionality like Fetch is to be provided. Also some dialogs have a combo box whose index change changes the data in the table widget.
How can I use the same UI and add something for that specific dialog ?
In other words How can I use the same dialog UI but different backends and also customise the UI for different dialog.
Hope you got my point.