Re: Where is my QPushButtons
settingButton->show();
oneStepButton->show();
runAllButton->show();
I add these three lines in the constructor function. but the button post in the leftup corner, not in the dialog.
Re: Where is my QPushButtons
make the dialog as the parent of the buttons
Re: Where is my QPushButtons
maybe it would be better to use one of the layouts classes to manage controls position insted of using?
Code:
...
settingButton->move(5, 5);
oneStepButton->move(5 + settingButton->width() + 5, 5);
runAllButton->move(15+settingButton->width()+oneStepButton->width(),5);
...
:)
Re: Where is my QPushButtons
settingButton=new QPushButton(this);
it works!
thanks