NDMonitor.NetworkGetPressure.NetworkGetPressure¶
- class NetworkGetPressure(host, port, **kwargs)[source]¶
Bases:
QThreadThread to connect to a server and start getting values
Methods
Checks connection prior to updating pressure
closeEach keyword argument is either the name of a Qt property or a Qt signal.
Ask server and receive new pressure values
Attributes
HighPriorityHighestPriorityIdlePriorityInheritPriorityLowPriorityLowestPriorityNormalPriorityTimeCriticalPrioritydestroyed(self, object: QObject = None) [signal]
finished(self) [signal]
new_value_triggerobjectNameChanged(self, str) [signal]
started(self) [signal]
staticMetaObjectEvery self.timing [ms] checking connection with server/new values
- class Priority¶
Bases:
int
- blockSignals(self, bool) bool¶
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- connectNotify(self, QMetaMethod)¶
- currentThread() QThread¶
- currentThreadId() PyQt5.sip.voidptr¶
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- disconnect(QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- event(self, QEvent) bool¶
- eventDispatcher(self) QAbstractEventDispatcher¶
- eventFilter(self, QObject, QEvent) bool¶
- exec(self) int¶
- exec_(self) int¶
- exit(self, returnCode: int = 0)¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- finished¶
finished(self) [signal]
- idealThreadCount() int¶
- inherits(self, str) bool¶
- installEventFilter(self, QObject)¶
- isFinished(self) bool¶
- isInterruptionRequested(self) bool¶
- isRunning(self) bool¶
- isSignalConnected(self, QMetaMethod) bool¶
- isWidgetType(self) bool¶
- isWindowType(self) bool¶
- killTimer(self, int)¶
- loopLevel(self) int¶
- metaObject(self) QMetaObject¶
- moveToThread(self, QThread)¶
- msleep(int)¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- parent(self) QObject¶
- port¶
Every self.timing [ms] checking connection with server/new values
- priority(self) QThread.Priority¶
- property(self, str) Any¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- quit(self)¶
- receivers(self, PYQT_SIGNAL) int¶
- removeEventFilter(self, QObject)¶
- requestInterruption(self)¶
- run(self)¶
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setEventDispatcher(self, QAbstractEventDispatcher)¶
- setObjectName(self, str)¶
- setParent(self, QObject)¶
- setPriority(self, QThread.Priority)¶
- setProperty(self, str, Any) bool¶
- setStackSize(self, int)¶
- setTerminationEnabled(enabled: bool = True)¶
- signalsBlocked(self) bool¶
- sleep(int)¶
- stackSize(self) int¶
- start(self, priority: QThread.Priority = QThread.InheritPriority)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- started¶
started(self) [signal]
- terminate(self)¶
- thread(self) QThread¶
- timerEvent(self, QTimerEvent)¶
- tr(self, str, disambiguation: str = None, n: int = -1) str¶
- usleep(int)¶
- wait(self, msecs: int = ULONG_MAX) bool¶
- wait(self, QDeadlineTimer) bool
- yieldCurrentThread()¶