MCPcopy Create free account
hub / github.com/Simsys/qhexedit2 / load

Method load

example/optionsdialog.cpp:55–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void OptionsDialog::load(QHexEdit *hexedit)
56{
57 ui->cbAddressArea->setChecked(hexedit->addressArea());
58 ui->cbAsciiArea->setChecked(hexedit->asciiArea());
59 ui->cbHighlighting->setChecked(hexedit->highlighting());
60 ui->cbOverwriteMode->setChecked(hexedit->overwriteMode());
61 ui->cbReadOnly->setChecked(hexedit->isReadOnly());
62 ui->cbDynamicBytesPerLine->setChecked(hexedit->dynamicBytesPerLine());
63
64 setColor(ui->lbHighlightingColor, hexedit->highlightingColor());
65 ui->leWidgetFont->setFont(hexedit->font());
66 ui->sbAddressAreaWidth->setValue(hexedit->addressWidth());
67 ui->sbBytesPerLine->setValue(hexedit->bytesPerLine());
68}
69
70void OptionsDialog::save(QHexEdit *hexedit)
71{

Callers 2

showOptionsDialogMethod · 0.80
mainFunction · 0.80

Calls 10

addressAreaMethod · 0.80
asciiAreaMethod · 0.80
highlightingMethod · 0.80
overwriteModeMethod · 0.80
isReadOnlyMethod · 0.80
dynamicBytesPerLineMethod · 0.80
highlightingColorMethod · 0.80
setFontMethod · 0.80
addressWidthMethod · 0.80
bytesPerLineMethod · 0.80

Tested by

no test coverage detected