RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
gui.binary_edit.BinaryEdit Class Reference

Widget for viewing binary data as hexadecimal values. More...

Inheritance diagram for gui.binary_edit.BinaryEdit:

Public Member Functions

 __init__ (self, parent=None, *args, **kwargs)
 Initialise the BinaryEdit widget.
 
 get_value (self)
 Getter for the value property will return the original value set.
 
 set_value (self, bytearray value)
 Setter for the value property.
 

Public Attributes

 ui = Ui_BinaryEdit()
 

Static Public Attributes

 value_changed = Signal()
 This signal is emitted whenever the value property changes.
 
 value
 

Protected Attributes

 _value = bytearray()
 

Detailed Description

Widget for viewing binary data as hexadecimal values.

Constructor & Destructor Documentation

◆ __init__()

gui.binary_edit.BinaryEdit.__init__ ( self,
parent = None,
* args,
** kwargs )

Initialise the BinaryEdit widget.

Parameters
parentThe optional parent Qt widget object.
argsAdditional positional arguments passed onto the base class.
kwargsAdditional keyword arguments passed onto the base class.

Member Function Documentation

◆ get_value()

gui.binary_edit.BinaryEdit.get_value ( self)

Getter for the value property will return the original value set.

◆ set_value()

gui.binary_edit.BinaryEdit.set_value ( self,
bytearray value )

Setter for the value property.

Parameters
valueThe new value to be displayed by this widget.

Member Data Documentation

◆ _value

gui.binary_edit.BinaryEdit._value = bytearray()
protected

◆ ui

gui.binary_edit.BinaryEdit.ui = Ui_BinaryEdit()

◆ value

gui.binary_edit.BinaryEdit.value
static
Initial value:
= Property(
type=bytearray,
fget=get_value,
fset=set_value,
user=True,
notify=value_changed,
doc="The value being displayed by this widget.",
)

◆ value_changed

gui.binary_edit.BinaryEdit.value_changed = Signal()
static

This signal is emitted whenever the value property changes.


The documentation for this class was generated from the following file: