GUI: no SetForegroundWindow in SettingsDialog
This commit is contained in:
parent
ddd229302f
commit
4e877f6de4
|
@ -190,11 +190,13 @@ void SettingsDialog::LoadSettings()
|
||||||
GetSettingBool("Gui", "NoCloseDialog", &settings.guiNoCloseDialog);
|
GetSettingBool("Gui", "NoCloseDialog", &settings.guiNoCloseDialog);
|
||||||
GetSettingBool("Gui", "PidInHex", &settings.guiPidInHex);
|
GetSettingBool("Gui", "PidInHex", &settings.guiPidInHex);
|
||||||
GetSettingBool("Gui", "SidebarWatchLabels", &settings.guiSidebarWatchLabels);
|
GetSettingBool("Gui", "SidebarWatchLabels", &settings.guiSidebarWatchLabels);
|
||||||
|
GetSettingBool("Gui", "NoForegroundWindow", &settings.guiNoForegroundWindow);
|
||||||
ui->chkFpuRegistersLittleEndian->setChecked(settings.guiFpuRegistersLittleEndian);
|
ui->chkFpuRegistersLittleEndian->setChecked(settings.guiFpuRegistersLittleEndian);
|
||||||
ui->chkSaveColumnOrder->setChecked(settings.guiSaveColumnOrder);
|
ui->chkSaveColumnOrder->setChecked(settings.guiSaveColumnOrder);
|
||||||
ui->chkNoCloseDialog->setChecked(settings.guiNoCloseDialog);
|
ui->chkNoCloseDialog->setChecked(settings.guiNoCloseDialog);
|
||||||
ui->chkPidInHex->setChecked(settings.guiPidInHex);
|
ui->chkPidInHex->setChecked(settings.guiPidInHex);
|
||||||
ui->chkSidebarWatchLabels->setChecked(settings.guiSidebarWatchLabels);
|
ui->chkSidebarWatchLabels->setChecked(settings.guiSidebarWatchLabels);
|
||||||
|
ui->chkNoForegroundWindow->setChecked(settings.guiNoForegroundWindow);
|
||||||
|
|
||||||
//Misc tab
|
//Misc tab
|
||||||
if(DbgFunctions()->GetJit)
|
if(DbgFunctions()->GetJit)
|
||||||
|
@ -311,6 +313,7 @@ void SettingsDialog::SaveSettings()
|
||||||
BridgeSettingSetUint("Gui", "NoCloseDialog", settings.guiNoCloseDialog);
|
BridgeSettingSetUint("Gui", "NoCloseDialog", settings.guiNoCloseDialog);
|
||||||
BridgeSettingSetUint("Gui", "PidInHex", settings.guiPidInHex);
|
BridgeSettingSetUint("Gui", "PidInHex", settings.guiPidInHex);
|
||||||
BridgeSettingSetUint("Gui", "SidebarWatchLabels", settings.guiSidebarWatchLabels);
|
BridgeSettingSetUint("Gui", "SidebarWatchLabels", settings.guiSidebarWatchLabels);
|
||||||
|
BridgeSettingSetUint("Gui", "NoForegroundWindow", settings.guiNoForegroundWindow);
|
||||||
|
|
||||||
//Misc tab
|
//Misc tab
|
||||||
if(DbgFunctions()->GetJit)
|
if(DbgFunctions()->GetJit)
|
||||||
|
@ -699,3 +702,8 @@ void SettingsDialog::on_chkIgnoreInconsistentBreakpoints_toggled(bool checked)
|
||||||
{
|
{
|
||||||
settings.engineIgnoreInconsistentBreakpoints = checked;
|
settings.engineIgnoreInconsistentBreakpoints = checked;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SettingsDialog::on_chkNoForegroundWindow_toggled(bool checked)
|
||||||
|
{
|
||||||
|
settings.guiNoForegroundWindow = checked;
|
||||||
|
}
|
||||||
|
|
|
@ -52,6 +52,7 @@ private slots:
|
||||||
void on_chkTraceRecordEnabledDuringTrace_stateChanged(int arg1);
|
void on_chkTraceRecordEnabledDuringTrace_stateChanged(int arg1);
|
||||||
void on_chkSkipInt3Stepping_toggled(bool checked);
|
void on_chkSkipInt3Stepping_toggled(bool checked);
|
||||||
void on_chkNoScriptTimeout_stateChanged(int arg1);
|
void on_chkNoScriptTimeout_stateChanged(int arg1);
|
||||||
|
void on_chkIgnoreInconsistentBreakpoints_toggled(bool checked);
|
||||||
//Exception tab
|
//Exception tab
|
||||||
void on_btnAddRange_clicked();
|
void on_btnAddRange_clicked();
|
||||||
void on_btnDeleteRange_clicked();
|
void on_btnDeleteRange_clicked();
|
||||||
|
@ -69,14 +70,13 @@ private slots:
|
||||||
void on_chkNoCloseDialog_toggled(bool checked);
|
void on_chkNoCloseDialog_toggled(bool checked);
|
||||||
void on_chkPidInHex_clicked(bool checked);
|
void on_chkPidInHex_clicked(bool checked);
|
||||||
void on_chkSidebarWatchLabels_stateChanged(int arg1);
|
void on_chkSidebarWatchLabels_stateChanged(int arg1);
|
||||||
|
void on_chkNoForegroundWindow_toggled(bool checked);
|
||||||
//Misc tab
|
//Misc tab
|
||||||
void on_chkSetJIT_stateChanged(int arg1);
|
void on_chkSetJIT_stateChanged(int arg1);
|
||||||
void on_chkConfirmBeforeAtt_stateChanged(int arg1);
|
void on_chkConfirmBeforeAtt_stateChanged(int arg1);
|
||||||
void on_editSymbolStore_textEdited(const QString & arg1);
|
void on_editSymbolStore_textEdited(const QString & arg1);
|
||||||
void on_editSymbolCache_textEdited(const QString & arg1);
|
void on_editSymbolCache_textEdited(const QString & arg1);
|
||||||
|
|
||||||
void on_chkIgnoreInconsistentBreakpoints_toggled(bool checked);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//enums
|
//enums
|
||||||
enum CalcType
|
enum CalcType
|
||||||
|
@ -147,6 +147,7 @@ private:
|
||||||
bool guiNoCloseDialog;
|
bool guiNoCloseDialog;
|
||||||
bool guiPidInHex;
|
bool guiPidInHex;
|
||||||
bool guiSidebarWatchLabels;
|
bool guiSidebarWatchLabels;
|
||||||
|
bool guiNoForegroundWindow;
|
||||||
//Misc Tab
|
//Misc Tab
|
||||||
bool miscSetJIT;
|
bool miscSetJIT;
|
||||||
bool miscSetJITAuto;
|
bool miscSetJITAuto;
|
||||||
|
|
|
@ -515,6 +515,13 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="chkNoForegroundWindow">
|
||||||
|
<property name="text">
|
||||||
|
<string>Do not call SetForegroundWindow</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer_7">
|
<spacer name="verticalSpacer_7">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
|
Loading…
Reference in New Issue