Module implementing a widget to show numbers in different formats.
None |
BinaryModel | Class implementing a model for entering binary numbers. |
NumbersWidget | Class implementing a widget to show numbers in different formats. |
None |
Class implementing a model for entering binary numbers.
None |
None |
BinaryModel | Constructor |
columnCount | Public method to get the number of columns of the model. |
data | Public method to get data from the model. |
flags | Public method to get flags from the model. |
getValue | Public slot to get the current value. |
headerData | Public method to get header data from the model. |
rowCount | Public method to get the number of rows of the model. |
setBits | Public slot to set the number of bits. |
setBitsAndValue | Public slot to set the number of bits and the value to show. |
setData | Public method to set the data of a node cell. |
setValue | Public slot to set the value to show. |
None |
Constructor
Public method to get the number of columns of the model.
Public method to get data from the model.
Public method to get flags from the model.
Public slot to get the current value.
Public method to get header data from the model.
Public method to get the number of rows of the model.
Public slot to set the number of bits.
Public slot to set the number of bits and the value to show.
Public method to set the data of a node cell.
Public slot to set the value to show.
Class implementing a widget to show numbers in different formats.
None |
None |
NumbersWidget | Constructor |
__binModelDataChanged | Private slot to handle a change of the binary model value by the user. |
__block | Private slot to block some signals. |
__formatNumbers | Private method to format the various number inputs. |
on_binEdit_textChanged | Private slot to handle input of a binary number. |
on_binInButton_clicked | Private slot to retrieve a binary number from the current editor. |
on_binOutButton_clicked | Private slot to send a binary number. |
on_byteOrderButton_clicked | Private slot to swap the byte order. |
on_decEdit_textChanged | Private slot to handle input of a decimal number. |
on_decInButton_clicked | Private slot to retrieve a decimal number from the current editor. |
on_decOutButton_clicked | Private slot to send a decimal number. |
on_hexEdit_textChanged | Private slot to handle input of a hexadecimal number. |
on_hexInButton_clicked | Private slot to retrieve a hexadecimal number from the current editor. |
on_hexOutButton_clicked | Private slot to send a hexadecimal number. |
on_octEdit_textChanged | Private slot to handle input of an octal number. |
on_octInButton_clicked | Private slot to retrieve an octal number from the current editor. |
on_octOutButton_clicked | Private slot to send an octal number. |
on_sizeBox_valueChanged | Private slot handling a change of the bit size. |
None |
Constructor
Private slot to handle a change of the binary model value by the user.
Private slot to block some signals.
Private method to format the various number inputs.
Private slot to handle input of a binary number.
Private slot to retrieve a binary number from the current editor.
Private slot to send a binary number.
Private slot to swap the byte order.
Private slot to handle input of a decimal number.
Private slot to retrieve a decimal number from the current editor.
Private slot to send a decimal number.
Private slot to handle input of a hexadecimal number.
Private slot to retrieve a hexadecimal number from the current editor.
Private slot to send a hexadecimal number.
Private slot to handle input of an octal number.
Private slot to retrieve an octal number from the current editor.
Private slot to send an octal number.
Private slot handling a change of the bit size.