Qudi
Public Member Functions | Public Attributes | List of all members
trayicon.SystemTrayIcon Class Reference

Tray icon class subclassing QSystemTrayIcon for custom functionality. More...

Inheritance diagram for trayicon.SystemTrayIcon:
Inheritance graph
[legend]
Collaboration diagram for trayicon.SystemTrayIcon:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self)
 Tray icon constructor. More...
 
def click_trap (self, value)
 Click handler. More...
 

Public Attributes

 right_menu
 
 left_menu
 
 managericon
 
 exiticon
 
 quitAction
 
 managerAction
 

Detailed Description

Tray icon class subclassing QSystemTrayIcon for custom functionality.

Constructor & Destructor Documentation

◆ __init__()

def trayicon.SystemTrayIcon.__init__ (   self)

Tray icon constructor.

Adds all the appropriate menus and actions.

Member Function Documentation

◆ click_trap()

def trayicon.SystemTrayIcon.click_trap (   self,
  value 
)

Click handler.

Parameters
valueaction that caused the activation

This method is called when the tray icon is left-clicked and it opens a menu at the position of the left click.


The documentation for this class was generated from the following file: