Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add emu.str in Preferences->Metadata (#1276) #1369

Merged
merged 1 commit into from Mar 24, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -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">
@@ -53,11 +53,11 @@
</widget>
</item>
<item>
<widget class="QCheckBox" name="indentCheckBox">
<property name="text">
<string>Indent disassembly based on reflines depth (asm.indent)</string>
</property>
</widget>
<widget class="QCheckBox" name="indentCheckBox">
<property name="text">
<string>Indent disassembly based on reflines depth (asm.indent)</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="describeCheckBox">
@@ -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">
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.