CodePudding user response:
In the structure of the wizard class Licensewizard QWizard (parent)SetPage (Page_Second, new Secondpage);
SetPage (Page_Seventh, new Seventhpage);//the first parameter is the enumeration, the second one is me the interface of form class
In the Secondpage structure such as the second interface before
SevenPage * page=new SevenPage;
The connect (this SIGNAL, page, SLOT);
Signals are keys in the SecondPage trigger emit a signal function, groove function is defined in the class SevenPage, groove function with qdebug, programs run qdebug content would appear, but the groove function written by other SevenPage interface changes will not take effect
CodePudding user response:
But I am one of the first interface in the FirstPage click on the button to trigger the function on the interface of modification is valid, the sender is the interface of a control pushbutton, the receiver is the current interface pointer, this isn't to modifyCodePudding user response:
If called directly in the structure of the Sevenpage slot function can also be effective through the connect call will not take effect but qdebug told me trough function is just come into force on the modification of the interface doesn't take effectCodePudding user response:
QWizard long ago once feeling bad, then write a QStackWidget by yourself