I have another page called OptionsPage:
class OptionsPage : public QWizardPage
{
Q_OBJECT
public:
int nextId() const;
void initializePage();
private:
};
class OptionsPage : public QWizardPage
{
Q_OBJECT
public:
OptionsPage(QWidget *parent = 0);
int nextId() const;
void initializePage();
private:
QLabel *topLabel;
};
To copy to clipboard, switch view to plain text mode
and here is how i am trying to get data:
void OptionsPage::initializePage()
{
SelectionPage::cgTableWidget->item(0, 0);
}
void OptionsPage::initializePage()
{
SelectionPage::cgTableWidget->item(0, 0);
}
To copy to clipboard, switch view to plain text mode
If i replace SelectionPage::cgTableWidget with SelectionPage->cgTableWidget i get this error:
error: expected unqualified-id before ‘->’ token
Bookmarks