Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(1)  |  Derive(4)  |  Import(4)

src/p/y/pyqt5-HEAD/examples/desktop/systray/systray.py   pyqt5(Download)
 
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import (QAction, QApplication, QCheckBox, QComboBox,
        QDialog, QGridLayout, QGroupBox, QHBoxLayout, QLabel, QLineEdit,
        QMessageBox, QMenu, QPushButton, QSpinBox, QStyle, QSystemTrayIcon,
         self.trayIconMenu.addAction(self.quitAction)
 
         self.trayIcon = QSystemTrayIcon(self)
         self.trayIcon.setContextMenu(self.trayIconMenu)
 

src/x/w/XwareDesktop-HEAD/src/frontend/systray.py   XwareDesktop(Download)
from PyQt5.QtCore import pyqtSlot, QObject
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QSystemTrayIcon, QMenu
 
from Compat.CompatSystemTrayIcon import CompatSystemTrayIcon

src/d/e/deepin-translator-HEAD/src/system_tray.py   deepin-translator(Download)
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
from PyQt5.QtWidgets import qApp, QSystemTrayIcon
from PyQt5.QtCore import pyqtSlot, pyqtSignal
from PyQt5.QtGui import QIcon
class SystemTrayIcon(QSystemTrayIcon):
 
    showSettingView = pyqtSignal()
 
    def __init__(self, parent=None):

src/x/w/XwareDesktop-HEAD/src/frontend/Compat/CompatSystemTrayIcon.py   XwareDesktop(Download)
# -*- coding: utf-8 -*-
 
from PyQt5.QtWidgets import QSystemTrayIcon
from Compat.TeardownHelper import TeardownHelper
 
 
# On Ubuntu 13.10, systrayicon won't destroy itself gracefully,
# stops the whole program from exiting.
# hiding it works around the problem
class CompatSystemTrayIcon(QSystemTrayIcon, TeardownHelper):

src/k/c/kcc-HEAD/kcc/KCC_gui.py   kcc(Download)
class SystemTrayIcon(QtWidgets.QSystemTrayIcon):
    def __init__(self):
        if self.isSystemTrayAvailable():
            QtWidgets.QSystemTrayIcon.__init__(self, GUI.icons.programIcon, MW)
            self.activated.connect(self.catchClicks)

src/d/e/deepin-talk-HEAD/src/dtalk/controls/trayicon.py   deepin-talk(Download)
class TrayIcon(QtWidgets.QSystemTrayIcon):
 
    _hoveredNty = QtCore.pyqtSignal()
    hoverStatusChanged = QtCore.pyqtSignal(bool)