# `QRemoteLoggingTableModel`

digraph inheritanceffcb3858fe { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "Filterer" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A base class for loggers and handlers which allows them to share"]; "Handler" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Handler instances dispatch logging events to specific destinations."]; "Filterer" -> "Handler" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QAbstractItemModel" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="QAbstractItemModel(parent: QObject|None = None)"]; "QObject" -> "QAbstractItemModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QAbstractTableModel" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="QAbstractTableModel(parent: QObject|None = None)"]; "QAbstractItemModel" -> "QAbstractTableModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QLoggingTableModel" [URL="taurus.qt.qtgui.table-QLoggingTableModel.html#taurus.qt.qtgui.table.QLoggingTableModel",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top"]; "QAbstractTableModel" -> "QLoggingTableModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Handler" -> "QLoggingTableModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QObject" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="QObject(parent: QObject|None = None)"]; "wrapper" -> "QObject" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QRemoteLoggingTableModel" [URL="#taurus.qt.qtgui.table.QRemoteLoggingTableModel",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="A remote Qt table that displays the taurus logging messages"]; "QLoggingTableModel" -> "QRemoteLoggingTableModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "simplewrapper" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "wrapper" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "simplewrapper" -> "wrapper" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

class QRemoteLoggingTableModel(parent=None, capacity=500000, freq=0.25)

  A remote Qt table that displays the taurus logging messages

  Import from `taurus.qt.qtgui.table` as:

      from taurus.qt.qtgui.table import QRemoteLoggingTableModel

  connect_logging(host='localhost', port=9020, handler=<class 'taurus.qt.qtgui.table.qlogtable._LogRecordStreamHandler'>)
  disconnect_logging()