Thread
:
reference to the plugin's toolbar button
View Single Post
02-02-2014, 09:23 PM
#
2
kovidgoyal
creator of calibre
Posts: 45,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
See setup_tool_button() in gui2/bars.py
Though I'm not clear why you need a reference to the button. Simply add your QWidgetAction to the qactions menu as you would normally.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS