mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Add emu.str in Preferences->Metadata (#1369)
This commit is contained in:
parent
e709a35723
commit
a2eb0011f4
@ -42,6 +42,7 @@ void AsmOptionsWidget::updateAsmOptionsFromVars()
|
||||
qhelpers::setCheckedWithoutSignals(ui->fcnlinesCheckBox, Config()->getConfigBool("asm.lines.fcn"));
|
||||
qhelpers::setCheckedWithoutSignals(ui->flgoffCheckBox, Config()->getConfigBool("asm.flags.offset"));
|
||||
qhelpers::setCheckedWithoutSignals(ui->emuCheckBox, Config()->getConfigBool("asm.emu"));
|
||||
qhelpers::setCheckedWithoutSignals(ui->emuStrCheckBox, Config()->getConfigBool("emu.str"));
|
||||
qhelpers::setCheckedWithoutSignals(ui->varsumCheckBox, Config()->getConfigBool("asm.var.summary"));
|
||||
qhelpers::setCheckedWithoutSignals(ui->sizeCheckBox, Config()->getConfigBool("asm.size"));
|
||||
|
||||
@ -183,6 +184,12 @@ void AsmOptionsWidget::on_emuCheckBox_toggled(bool checked)
|
||||
triggerAsmOptionsChanged();
|
||||
}
|
||||
|
||||
void AsmOptionsWidget::on_emuStrCheckBox_toggled(bool checked)
|
||||
{
|
||||
Config()->setConfig("emu.str", checked);
|
||||
triggerAsmOptionsChanged();
|
||||
}
|
||||
|
||||
void AsmOptionsWidget::on_cmtrightCheckBox_toggled(bool checked)
|
||||
{
|
||||
Config()->setConfig("asm.cmt.right", checked);
|
||||
|
@ -43,6 +43,7 @@ private slots:
|
||||
void on_fcnlinesCheckBox_toggled(bool checked);
|
||||
void on_flgoffCheckBox_toggled(bool checked);
|
||||
void on_emuCheckBox_toggled(bool checked);
|
||||
void on_emuStrCheckBox_toggled(bool checked);
|
||||
void on_cmtrightCheckBox_toggled(bool checked);
|
||||
void on_cmtcolSpinBox_valueChanged(int value);
|
||||
void on_varsumCheckBox_toggled(bool checked);
|
||||
|
@ -17,7 +17,7 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="asmOptionsTab">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="asmStyleTab">
|
||||
<attribute name="title">
|
||||
@ -239,6 +239,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="emuStrCheckBox">
|
||||
<property name="text">
|
||||
<string>Show only strings if any in the asm.emu output (emu.str)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="sizeCheckBox">
|
||||
<property name="text">
|
||||
|
Loading…
Reference in New Issue
Block a user