Maybe i didn't give you enough details because i'm having trouble finding out to do that...


This is what i have in my startwizard.h
Qt Code:
  1. class startWizard : public QWizard
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. enum{Page_Intro, Page_New, Page_Load, Page_Configs, Page_LoadDetails, Page_NewDetails};
  7. startWizard(QWidget *parent = 0);
  8.  
  9. void accept();
  10.  
  11. };
  12.  
  13. (...)
  14.  
  15. class configsPage : public QWizardPage
  16. {
  17. Q_OBJECT
  18.  
  19. public:
  20. configsPage(QWidget *parent = 0);
  21. int nextId();
  22.  
  23. private:
  24. (...)
  25. QTableWidget *tableDisplay;
  26.  
  27. (...)
  28. };
To copy to clipboard, switch view to plain text mode 

In the ConfigsPage of the wizard i create the table for the user to see what he's adding/configuring and then i want to be able to recover the data he just entered to my database object in the main application.

In your previous reply you meant placing a QTableWidget pointer in the startWizard class, pointing to the table that gets the stuff in ConfigsPage class? even that i'm having trouble with...

I still don't see how can i go on from there? I mean to have access to the database I must make the wizard have access to the database somehow...


thanks a lot for the help,
david