I am new in Qt (PyQt) and I am trying to make an app whose functions will be executed from menubars/system trays. A perfect example is show here:
I cannot find a good resource on how I can do this. Can someone advice.
Thanks.
I am new in Qt (PyQt) and I am trying to make an app whose functions will be executed from menubars/system trays. A perfect example is show here:
I cannot find a good resource on how I can do this. Can someone advice.
Thanks.
I think you are looking for working with
QMenu
andQMainWindow
for the menu part, at least.Here you can find a C++ example:
Menus Example
and here a PyQt4 example:
Menus and Toolbars in PyQt4
Here is the code inline for your convenience:
As for the QSystemTrayIcon part, you could write something like this: