Add UI.
This commit is contained in:
parent
3f92573b56
commit
2f87e58f8c
|
@ -55,7 +55,7 @@
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QTabWidget" name="tabsGeneral">
|
<widget class="QTabWidget" name="tabsGeneral">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tabOptions">
|
<widget class="QWidget" name="tabOptions">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -669,7 +669,7 @@
|
||||||
<string>Restrictions</string>
|
<string>Restrictions</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout_36">
|
<layout class="QGridLayout" name="gridLayout_36">
|
||||||
<item row="3" column="0" colspan="2">
|
<item row="0" column="0" colspan="2">
|
||||||
<widget class="QLabel" name="lblPrinting">
|
<widget class="QLabel" name="lblPrinting">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
|
@ -686,21 +686,21 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="1" colspan="2">
|
<item row="1" column="1" colspan="2">
|
||||||
<widget class="QCheckBox" name="chkBlockSpooler">
|
<widget class="QCheckBox" name="chkBlockSpooler">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Block access to the printer spooler</string>
|
<string>Block access to the printer spooler</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="2">
|
<item row="2" column="2">
|
||||||
<widget class="QCheckBox" name="chkOpenSpooler">
|
<widget class="QCheckBox" name="chkOpenSpooler">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Remove spooler restriction, printers can be installed outside the sandbox</string>
|
<string>Remove spooler restriction, printers can be installed outside the sandbox</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="2">
|
<item row="3" column="2">
|
||||||
<widget class="QCheckBox" name="chkPrintToFile">
|
<widget class="QCheckBox" name="chkPrintToFile">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||||
|
@ -713,7 +713,7 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="7" column="0">
|
<item row="4" column="0">
|
||||||
<widget class="QLabel" name="lblOther">
|
<widget class="QLabel" name="lblOther">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
|
@ -730,14 +730,14 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="1" colspan="2">
|
<item row="5" column="1" colspan="2">
|
||||||
<widget class="QCheckBox" name="chkOpenProtectedStorage">
|
<widget class="QCheckBox" name="chkOpenProtectedStorage">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open System Protected Storage</string>
|
<string>Open System Protected Storage</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="9" column="1">
|
<item row="6" column="1">
|
||||||
<widget class="QLabel" name="label_39">
|
<widget class="QLabel" name="label_39">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
|
@ -756,35 +756,35 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="9" column="2">
|
<item row="6" column="2">
|
||||||
<widget class="QCheckBox" name="chkOpenCredentials">
|
<widget class="QCheckBox" name="chkOpenCredentials">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open Windows Credentials Store (user mode)</string>
|
<string>Open Windows Credentials Store (user mode)</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="10" column="1" colspan="2">
|
<item row="7" column="1" colspan="2">
|
||||||
<widget class="QCheckBox" name="chkCloseClipBoard">
|
<widget class="QCheckBox" name="chkCloseClipBoard">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Block read access to the clipboard</string>
|
<string>Block read access to the clipboard</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="11" column="1" colspan="2">
|
<item row="8" column="1" colspan="2">
|
||||||
<widget class="QCheckBox" name="chkVmRead">
|
<widget class="QCheckBox" name="chkVmRead">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Allow to read memory of unsandboxed processes (not recommended)</string>
|
<string>Allow to read memory of unsandboxed processes (not recommended)</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="12" column="2">
|
<item row="9" column="2">
|
||||||
<widget class="QCheckBox" name="chkVmReadNotify">
|
<widget class="QCheckBox" name="chkVmReadNotify">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Issue message 2111 when a process access is denied</string>
|
<string>Issue message 2111 when a process access is denied</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="13" column="1" colspan="2">
|
<item row="10" column="1" colspan="2">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="chkProtectPower">
|
<widget class="QCheckBox" name="chkProtectPower">
|
||||||
|
@ -802,7 +802,14 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item row="14" column="1">
|
<item row="11" column="1" colspan="2">
|
||||||
|
<widget class="QCheckBox" name="chkUserOperation">
|
||||||
|
<property name="text">
|
||||||
|
<string>Prevent interference with user control operations whatever</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="12" column="1">
|
||||||
<spacer name="verticalSpacer_12">
|
<spacer name="verticalSpacer_12">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
|
@ -815,7 +822,7 @@
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item row="15" column="2">
|
<item row="13" column="2">
|
||||||
<spacer name="horizontalSpacer_5">
|
<spacer name="horizontalSpacer_5">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
|
|
|
@ -191,6 +191,7 @@ void COptionsWindow::CreateGeneral()
|
||||||
connect(ui.chkRamBox, SIGNAL(clicked(bool)), this, SLOT(OnDiskChanged()));
|
connect(ui.chkRamBox, SIGNAL(clicked(bool)), this, SLOT(OnDiskChanged()));
|
||||||
connect(ui.chkEncrypt, SIGNAL(clicked(bool)), this, SLOT(OnDiskChanged()));
|
connect(ui.chkEncrypt, SIGNAL(clicked(bool)), this, SLOT(OnDiskChanged()));
|
||||||
connect(ui.chkForceProtection, SIGNAL(clicked(bool)), this, SLOT(OnGeneralChanged()));
|
connect(ui.chkForceProtection, SIGNAL(clicked(bool)), this, SLOT(OnGeneralChanged()));
|
||||||
|
connect(ui.chkUserOperation, SIGNAL(clicked(bool)), this, SLOT(OnGeneralChanged()));
|
||||||
connect(ui.btnPassword, SIGNAL(clicked(bool)), this, SLOT(OnSetPassword()));
|
connect(ui.btnPassword, SIGNAL(clicked(bool)), this, SLOT(OnSetPassword()));
|
||||||
|
|
||||||
bool bImDiskReady = theGUI->IsImDiskReady();
|
bool bImDiskReady = theGUI->IsImDiskReady();
|
||||||
|
@ -332,6 +333,7 @@ void COptionsWindow::LoadGeneral()
|
||||||
ui.chkRamBox->setChecked(m_pBox->GetBool("UseRamDisk", false));
|
ui.chkRamBox->setChecked(m_pBox->GetBool("UseRamDisk", false));
|
||||||
ui.chkEncrypt->setChecked(m_pBox->GetBool("UseFileImage", false));
|
ui.chkEncrypt->setChecked(m_pBox->GetBool("UseFileImage", false));
|
||||||
ui.chkForceProtection->setChecked(m_pBox->GetBool("ForceProtectionOnMount", false));
|
ui.chkForceProtection->setChecked(m_pBox->GetBool("ForceProtectionOnMount", false));
|
||||||
|
ui.chkUserOperation->setChecked(m_pBox->GetBool("BlockInterferenceControl", false));
|
||||||
if (ui.chkRamBox->isEnabled()) {
|
if (ui.chkRamBox->isEnabled()) {
|
||||||
ui.chkEncrypt->setEnabled(!ui.chkRamBox->isChecked());
|
ui.chkEncrypt->setEnabled(!ui.chkRamBox->isChecked());
|
||||||
ui.chkForceProtection->setEnabled(!ui.chkRamBox->isChecked());
|
ui.chkForceProtection->setEnabled(!ui.chkRamBox->isChecked());
|
||||||
|
@ -427,6 +429,7 @@ void COptionsWindow::SaveGeneral()
|
||||||
//WriteAdvancedCheck(ui.chkBlockCapture, "IsBlockCapture", "y", "n");
|
//WriteAdvancedCheck(ui.chkBlockCapture, "IsBlockCapture", "y", "n");
|
||||||
WriteAdvancedCheck(ui.chkProtectPower, "BlockInterferePower", "y", "n");
|
WriteAdvancedCheck(ui.chkProtectPower, "BlockInterferePower", "y", "n");
|
||||||
WriteAdvancedCheck(ui.chkForceProtection, "ForceProtectionOnMount", "y", "n");
|
WriteAdvancedCheck(ui.chkForceProtection, "ForceProtectionOnMount", "y", "n");
|
||||||
|
WriteAdvancedCheck(ui.chkUserOperation, "BlockInterferenceControl", "y", "n");
|
||||||
WriteAdvancedCheck(ui.chkVmReadNotify, "NotifyProcessAccessDenied", "y", "");
|
WriteAdvancedCheck(ui.chkVmReadNotify, "NotifyProcessAccessDenied", "y", "");
|
||||||
//WriteAdvancedCheck(ui.chkOpenSmartCard, "OpenSmartCard", "", "n");
|
//WriteAdvancedCheck(ui.chkOpenSmartCard, "OpenSmartCard", "", "n");
|
||||||
//WriteAdvancedCheck(ui.chkOpenBluetooth, "OpenBluetooth", "y", "");
|
//WriteAdvancedCheck(ui.chkOpenBluetooth, "OpenBluetooth", "y", "");
|
||||||
|
|
Loading…
Reference in New Issue