EditStringDialog

class EditStringDialog : public QDialog

Public Types

  • enum StringType

    Values:

    • enumerator Auto

    • enumerator ASCII_LATIN1

    • enumerator UTF8

Public Functions

  • explicit EditStringDialog(QWidget *parent = nullptr)

  • ~EditStringDialog()

  • void setStringStartAddress(uint64_t address)

    Sets the address of the first byte of potential string in the dialog.

    • Parameters

      address – The address of the bytearray where string is located

  • bool getStringStartAddress(uint64_t &returnValue) const

    Returns the address of the first byte of potential string in the dialog.

    • Parameters

      returnValue[out] The address of the bytearray where string is located

      Returns

      whether the call successful or not

  • void setStringSizeValue(uint32_t size)

    Sets the size of string in the dialog.

    • Parameters

      size – The size of string in the dialog

  • int getStringSizeValue() const

    Returns the size of string in the dialog.

    • Returns

      -1 on error otherwise the size of string from the dialog

  • StringType getStringType() const

    Returns the type of string from the dialog.

    • Returns

      The type of string from the dialog