MCPcopy Create free account
hub / github.com/KDAB/GammaRay / bytes

Method bytes

ui/propertyeditor/propertytexteditor.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57QByteArray PropertyTextEditorDialog::bytes() const
58{
59 if (m_mode == StringMode)
60 return ui->plainTextEdit->toPlainText().toUtf8();
61 else
62 return QByteArray::fromHex(ui->plainTextEdit->toPlainText().toUtf8());
63}
64
65void PropertyTextEditorDialog::setMode(PropertyTextEditorDialog::Mode mode)
66{

Callers 1

showEditorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected