how to make a new button on a toobar and add class to it?
i wish to create a toolbar button , something similar to the open file or a new file. how can i do that? where do i have to define stuff i.e. in which *.h or *.cpp file? how can i assign function to that button.