Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I defined a QPushButton in the MainWindow constructor:
QPushButton *testFewCommands = new QPushButton("&start testing few commands", this);
and now, I want to add OnClick function In the designer this button doesn't appear, how can I do it?
@RuWex I don't know that you can given that the button is not in the Designer, and it wouldn't work even if you could. Why would you want to anyway? If you add a button in code do the connect() in code for sure.
connect()