Home > Mobile >  Binding QAction qt5 menu bar
Binding QAction qt5 menu bar

Time:12-12

Good god, I'm qt5 new beginner, I met a problem, hope to get a great god answer

I use qtcreator created a UI, the UI on the menu bar, I want to click on the button on the menu bar pops up a message dialog box, could you tell me how to implement should be

I see some of the online tutorials, with source code to achieve, I want to in the UI now, could you tell me how to do
should be

CodePudding user response:

After setting the action, the right mouse button to the slot, choose triggered () signal, and then to be generated to the CPP slot function on_xxxtriggered (), you write in your code to achieve

CodePudding user response:

To the groove, and then implement your own code inside groove,

CodePudding user response:

The signal/slot editor
  •  Tags:  
  • Qt
  • Related