Package node_manager_fkie :: Module echo_dialog :: Class EchoDialog
[frames] | no frames]

Class EchoDialog

source code

       object --+                    
                |                    
sip.simplewrapper --+                
                    |                
          sip.wrapper --+            
                        |            
     PyQt5.QtCore.QObject --+        
                            |        
           object --+       |        
                    |       |        
    sip.simplewrapper --+   |        
                        |   |        
 PyQt5.QtGui.QPaintDevice --+        
                            |        
      PyQt5.QtWidgets.QWidget --+    
                                |    
          PyQt5.QtWidgets.QDialog --+
                                    |
                                   EchoDialog

Nested Classes

Inherited from PyQt5.QtWidgets.QDialog: DialogCode

Inherited from PyQt5.QtWidgets.QWidget: RenderFlag, RenderFlags

Inherited from PyQt5.QtGui.QPaintDevice: PaintDeviceMetric

Instance Methods
 
finished_signal(...)
finished_signal has as parameter the name of the topic and is emitted, if this dialog was closed.
source code
 
msg_signal(...)
msg_signal is a signal, which is emitted, if a new message was received.
source code
 
text_hz_signal(...) source code
 
text_signal(...)
text_signal is a signal, which is emitted, if a new text to display was received.
source code
 
text_error_signal(...)
text_error_signal is a signal, which is emitted, if a new error text to display was received.
source code
 
request_pw(...) source code
 
__init__(self, topic, msg_type, show_only_rate=False, masteruri=None, use_ssh=False, parent=None)
Creates an input dialog.
source code
 
closeEvent(self, event) source code
 
create_field_filter(self, echo_nostr, echo_noarr) source code
 
on_filter_clicked(self, checked) source code
 
on_no_str_checkbox_toggled(self, state) source code
 
on_no_arr_checkbox_toggled(self, state) source code
 
combobox_reduce_ch_activated(self, ch_txt) source code
 
combobox_reduce_digits_activated(self, ch_txt) source code
 
on_enable_msg_filter_checkbox_toggled(self, state) source code
 
on_combobox_chars_activated(self, chars_txt, update_display=True) source code
 
on_combobox_hz_activated(self, hz_txt, update_display=True) source code
 
on_combobox_count_activated(self, count_txt) source code
 
on_clear_btn_clicked(self) source code
 
on_topic_control_btn_clicked(self) source code
 
strify_message(self, val, indent='', time_offset=None, current_time=None, field_filter=None, fixed_numeric_width=None)
Convert value to string representation :param val: to convert to string representation.
source code

Inherited from PyQt5.QtWidgets.QDialog: accept, accepted, contextMenuEvent, done, eventFilter, exec_, finished, isSizeGripEnabled, keyPressEvent, minimumSizeHint, open, reject, rejected, resizeEvent, result, setModal, setResult, setSizeGripEnabled, setVisible, showEvent, sizeHint

Inherited from PyQt5.QtWidgets.QWidget: acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, baseSize, changeEvent, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, contentsMargins, contentsRect, contextMenuPolicy, create, createWindowContainer, cursor, customContextMenuRequested, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, event, find, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, getContentsMargins, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, height, heightForWidth, hide, hideEvent, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isVisible, isVisibleTo, isWindow, isWindowModified, keyReleaseEvent, keyboardGrabber, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, move, moveEvent, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, paintEvent, palette, parentWidget, pos, previousInFocusChain, raise_, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, repaint, resize, restoreGeometry, saveGeometry, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGraphicsEffect, setHidden, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setShortcutAutoRepeat, setShortcutEnabled, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setWhatsThis, setWindowFilePath, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, sharedPainter, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, toolTip, toolTipDuration, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, wheelEvent, width, winId, window, windowFilePath, windowFlags, windowHandle, windowIcon, windowIconChanged, windowIconText, windowIconTextChanged, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowTitleChanged, windowType, x, y

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from PyQt5.QtGui.QPaintDevice: colorCount, depth, devicePixelRatio, heightMM, logicalDpiX, logicalDpiY, paintingActive, physicalDpiX, physicalDpiY, widthMM

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  MESSAGE_CHARS_LIMIT = 1000
  MESSAGE_LINE_LIMIT = 80
  MESSAGE_HZ_LIMIT = 10
  MAX_DISPLAY_MSGS = 25
  STATISTIC_QUEUE_LEN = 1000
  SHOW_BYTES = True
  SHOW_JITTER = True
  SHOW_STD_DEV = False
  SHOW_WINDOW_SIZE = False
This dialog shows the output of a topic.

Inherited from PyQt5.QtWidgets.QDialog: Accepted, Rejected

Inherited from PyQt5.QtWidgets.QWidget: DrawChildren, DrawWindowBackground, IgnoreMask

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Inherited from PyQt5.QtGui.QPaintDevice: PdmDepth, PdmDevicePixelRatio, PdmDpiX, PdmDpiY, PdmHeight, PdmHeightMM, PdmNumColors, PdmPhysicalDpiX, PdmPhysicalDpiY, PdmWidth, PdmWidthMM

Properties

Inherited from object: __class__

Method Details

__init__(self, topic, msg_type, show_only_rate=False, masteruri=None, use_ssh=False, parent=None)
(Constructor)

source code 

Creates an input dialog.

Parameters:
  • topic (str) - the name of the topic
  • msg_type (str) - the type of the topic
Raises:
  • Exception - if no topic class was found for the given type
Overrides: object.__init__

closeEvent(self, event)

source code 
Overrides: PyQt5.QtWidgets.QWidget.closeEvent

strify_message(self, val, indent='', time_offset=None, current_time=None, field_filter=None, fixed_numeric_width=None)

source code 

        Convert value to string representation
        :param val: to convert to string representation. Most likely a Message.  ``Value``
        :param indent: indentation. If indent is set, then the return value will have a leading 
, ``str``
        :param time_offset: if not None, time fields will be displayed
          as deltas from  time_offset, ``Time``

        :param current_time: currently not used. Only provided for API
          compatibility. current_time passes in the current time with
          respect to the message, ``Time``
        :param field_filter: filter the fields that are strified for Messages, ``fn(Message)->iter(str)``
        :returns: string (YAML) representation of message, ``str``