Is there any way to connect SIGNAL to a function which have global scope? Like when button is clicked a function display_error() is evoked? Is it possible or I would need to make a custom class for the widget inheriting from QPushButton adding display_error function in it?
I want to ignore the Object Oriented design as I am more of a C guy.
Bookmarks