EditStringDialog

class EditStringDialog : public QDialog

Public Types

enum StringType

Values:

enumerator Auto
enumerator ASCII_LATIN1
enumerator UTF8

Public Functions

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.

Return

whether the call successful or not

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

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.

Return

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

StringType getStringType() const

Returns the type of string from the dialog.

Return

The type of string from the dialog