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
class startWizard : public QWizard
{
Q_OBJECT
public:
enum{Page_Intro, Page_New, Page_Load, Page_Configs, Page_LoadDetails, Page_NewDetails};
void accept();
};
(...)
class configsPage : public QWizardPage
{
Q_OBJECT
public:
int nextId();
private:
(...)
(...)
};
class startWizard : public QWizard
{
Q_OBJECT
public:
enum{Page_Intro, Page_New, Page_Load, Page_Configs, Page_LoadDetails, Page_NewDetails};
startWizard(QWidget *parent = 0);
void accept();
};
(...)
class configsPage : public QWizardPage
{
Q_OBJECT
public:
configsPage(QWidget *parent = 0);
int nextId();
private:
(...)
QTableWidget *tableDisplay;
(...)
};
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
Bookmarks