serialpipe package

Submodules

serialpipe.base module

class serialpipe.base.ClickButton(click_thresh, parent=None)

Bases: QObject

Simple click button without separate up and down events

Methods

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

execPress()

Press button event

findChild(-> QObject)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isQuickItemType(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

parent(self)

press()

Press button slot (call exec_press instead)

pressTimeout()

Click timeout exceeded

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

setupCallbacks(signals, arguments)

Connect signals to button actions

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(sourceText[, disambiguation, n])

pressSignal

Initialize ClickButton

Parameters:
click_thresh

Doubleclick threshold in milliseconds

parent

QObject parent, default is None

Methods

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

execPress()

Press button event

findChild(-> QObject)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isQuickItemType(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

parent(self)

press()

Press button slot (call exec_press instead)

pressTimeout()

Click timeout exceeded

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

setupCallbacks(signals, arguments)

Connect signals to button actions

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(sourceText[, disambiguation, n])

pressSignal

execPress()

Press button event

press()

Press button slot (call exec_press instead)

pressSignal
pressTimeout()

Click timeout exceeded

setupCallbacks(signals, arguments)

Connect signals to button actions

Parameters:
signals

List of signals [single click, double click] Each signal is pyqtSignal or None

arguments

List of arguments [single click, double click] Each signal is some datatype or None

class serialpipe.base.ConnPipe

Bases: QThread

Methods

Priority(value)

An enumeration.

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

currentThread()

currentThreadId()

customEvent(self, a0)

deleteLater(self)

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, event)

eventDispatcher(self)

eventFilter(self, a0, a1)

exec(self)

exit(self[, returnCode])

findChild(-> QObject)

findChildren(...)

finished

finished(self) [signal]

idealThreadCount()

inherits(self, classname)

installEventFilter(self, a0)

isFinished(self)

isInterruptionRequested(self)

isQuickItemType(self)

isRunning(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

loopLevel(self)

metaObject(self)

moveToThread(self, thread)

msleep(a0)

objectName(self)

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

parent(self)

priority(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

quit(self)

receivers(self, signal)

removeEventFilter(self, a0)

requestInterruption(self)

run(self)

sender(self)

senderSignalIndex(self)

setEventDispatcher(self, eventDispatcher)

setObjectName(self, name)

setParent(self, a0)

setPriority(self, priority)

setProperty(self, name, value)

setStackSize(self, stackSize)

setTerminationEnabled([enabled])

signalsBlocked(self)

sleep(a0)

stackSize(self)

start(self[, priority])

startTimer(self, interval[, timerType])

started

started(self) [signal]

terminate(self)

thread(self)

timerEvent(self, a0)

tr(sourceText[, disambiguation, n])

usleep(a0)

wait() -> bool)

yieldCurrentThread()

isDoubleClick

isDoubleClick(old_time, thresh)
run(self)
class serialpipe.base.PRButton(click_thresh, parent=None)

Bases: QObject

Press and release button

Methods

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

execPress(down)

Press button event

findChild(-> QObject)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isQuickItemType(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

parent(self)

press(down)

Press button signal (call execPress instead)

pressTimeout()

Click timeout exceeded

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

setupCallbacks(signals, arguments)

Connect signals to button actions

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(sourceText[, disambiguation, n])

pressSignal

Initialize PRButton

Parameters:
click_thresh

Doubleclick threshold in milliseconds

parent

QObject parent, default is None

Methods

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

execPress(down)

Press button event

findChild(-> QObject)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isQuickItemType(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

parent(self)

press(down)

Press button signal (call execPress instead)

pressTimeout()

Click timeout exceeded

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

setupCallbacks(signals, arguments)

Connect signals to button actions

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(sourceText[, disambiguation, n])

pressSignal

execPress(down)

Press button event

Parameters:
down

Is button pressed down

press(down)

Press button signal (call execPress instead)

Parameters:
down

Is button pressed down

pressSignal
pressTimeout()

Click timeout exceeded

setupCallbacks(signals, arguments)

Connect signals to button actions

Parameters:
signals

List of signals [button down, single click, double click] Each signal is pyqtSignal or None

arguments

List of arguments [button down, single click, double click] Each signal is some datatype or None

class serialpipe.base.Rotary(prbutton, parent=None)

Bases: QObject

Simple rotary encoder with up and down events

Methods

blockSignals(self, b)

callSignal(i, up)

Call the specified signal

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

execRotate(up)

Rotation event

findChild(-> QObject)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isQuickItemType(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

parent(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

rotate(up)

Rotation signal (call execRotate instead)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

setupCallbacks(signals, arguments)

Connect signals to encoder actions

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(sourceText[, disambiguation, n])

rotateSignal

Initialize Rotary

Parameters:
prbutton

Linked PRButton

Methods

blockSignals(self, b)

callSignal(i, up)

Call the specified signal

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

disconnect(-> bool disconnect)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

execRotate(up)

Rotation event

findChild(-> QObject)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isQuickItemType(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

parent(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

rotate(up)

Rotation signal (call execRotate instead)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

setupCallbacks(signals, arguments)

Connect signals to encoder actions

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(sourceText[, disambiguation, n])

rotateSignal

callSignal(i, up)

Call the specified signal

Parameters:
i

Index of the clockwise (up) signal

up

Is the direction up

execRotate(up)

Rotation event

Parameters:
up

Is the direction up (up - clockwise)

rotate(up)

Rotation signal (call execRotate instead)

Parameters:
up

Is the direction up (up - clockwise)

rotateSignal
setupCallbacks(signals, arguments)

Connect signals to encoder actions

Parameters:
signals

List of signals [up, down, button hold + up, button hold + down, doubleclick + up, doubleclick + down] Each signal is pyqtSignal or None

arguments

List of arguments […] Each signal is some datatype or None

serialpipe.serial module

Module contents