"""ifnotself.__started:return-1self.__server.write(QByteArray(b'runcommand\n')) self.__writeDataBlock('\0'.join(args))whileTrue:QCoreApplication.processEvents()ifself.__cancel:return-10ifself.__serverisNone:return-1ifself.__serverisNoneorself.__server.bytesAvailable() ==0: QThread.m...
= Qt.LeftButton or self.mFillRegion.isEmpty()): return if (not self.brushItem().isVisible()): return preview = self.mFillOverlay if not preview: return paint = PaintTileLayer(self.mapDocument(), self.currentTileLayer(), preview.x(), preview.y(), preview) ...
Sets the event filterfilter. Returns a pointer to the filter function previously defined. The event filter is a function that is called for every message received in all threads. This doesnotinclude messages to objects that are not handled by Qt. ...
# 需要导入模块: from PyQt5.QtCore import QCoreApplication [as 别名]# 或者: from PyQt5.QtCore.QCoreApplication importtranslate[as 别名]defrefresh_balance(self):# if referential is "units"ifself.app.current_account.referential ==0: self.label_balance.show() self.label_deposit.show() self.l...
QString("Translation for specified language not loaded - maybe the translation file is missing - setting the language to en_US (US English)") +"\n\n"+ QString("FET searched for the translation file %1 in the directory %2, then in the directory %3 and " ...
});if( !server.isListening() ) {fprintf(stderr,"failed. can not listen at port %s!\n", qPrintable(portOrPath));return; } app.exec();// application's main event loop} 开发者ID:ganquan0910,项目名称:qhttp,代码行数:28,代码来源:main.cpp ...
If really is not True, do not quits the application. It is used to re-launch the application. """self.tray.hide() self.timer.stop() self.backupTimer.stop()ifreally: QCoreApplication.instance().quit() 开发者ID:illaech,项目名称:eventer,代码行数:13,代码来源:eventer.py ...
# 需要导入模块: from PyQt5.QtCore import QCoreApplication [as 别名]# 或者: from PyQt5.QtCore.QCoreApplication importinstance[as 别名]defcallFunction(self)->None:self._function(*self._args, **self._kwargs)### This is not a singleton class. The TaskManager is intended to make it easier...
# 需要导入模块: from PyQt5.QtCore import QCoreApplication [as 别名]# 或者: from PyQt5.QtCore.QCoreApplication importinstance[as 别名]defcallFunction(self)->None:self._function(*self._args, **self._kwargs)### This is not a singleton class. The TaskManager is intended to make it easier...