Re: Is this good programming practice? And how do I declare only one instance?
Originally Posted by wysota
In otherwords, when I change the value of mLabel on one page, the same value is displayed on the other pages.
You can use signals and slots for that.
And then how would you like to get a pointer to the label? I know it's possible, but for that, to subclass QWidget regularly and provide public functions could be easier.
Bookmarks