mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-17 01:09:36 -06:00
404 lines
10 KiB
XML
404 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CipherDialog</class>
|
|
<widget class="QDialog" name="CipherDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>712</width>
|
|
<height>299</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>SQLCipher encryption</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="labelDialogDescription"/>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="labelPassword">
|
|
<property name="text">
|
|
<string>&Password</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>editPassword</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="editPassword">
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::Password</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="labelPassword2">
|
|
<property name="text">
|
|
<string>&Reenter password</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>editPassword2</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="editPassword2">
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::Password</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QComboBox" name="comboKeyFormat">
|
|
<item>
|
|
<property name="text">
|
|
<string>Passphrase</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Raw key</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Encr&yption settings</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>radioEncryptionSqlCipher3</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioEncryptionSqlCipher3">
|
|
<property name="text">
|
|
<string>SQLCipher &3 defaults</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioEncryptionSqlCipher4">
|
|
<property name="text">
|
|
<string>SQLCipher &4 defaults</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioEncryptionCustom">
|
|
<property name="text">
|
|
<string>Custo&m</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Page si&ze</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboPageSize</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="comboPageSize"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>&KDF iterations</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>spinKdfIterations</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="spinKdfIterations">
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>HMAC algorithm</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboHmacAlgorithm</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="comboHmacAlgorithm">
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">SHA512</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">SHA256</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">SHA1</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>KDF algorithm</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboKdfAlgorithm</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QComboBox" name="comboKdfAlgorithm">
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">SHA512</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">SHA256</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string notr="true">SHA1</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>Plaintext Header Size</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>plaintextHeaderSize</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QSpinBox" name="plaintextHeaderSize">
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>editPassword</tabstop>
|
|
<tabstop>editPassword2</tabstop>
|
|
<tabstop>comboKeyFormat</tabstop>
|
|
<tabstop>radioEncryptionSqlCipher3</tabstop>
|
|
<tabstop>radioEncryptionSqlCipher4</tabstop>
|
|
<tabstop>radioEncryptionCustom</tabstop>
|
|
<tabstop>comboPageSize</tabstop>
|
|
<tabstop>spinKdfIterations</tabstop>
|
|
<tabstop>comboHmacAlgorithm</tabstop>
|
|
<tabstop>comboKdfAlgorithm</tabstop>
|
|
<tabstop>plaintextHeaderSize</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>175</x>
|
|
<y>265</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>126</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>175</x>
|
|
<y>265</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>126</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>editPassword</sender>
|
|
<signal>textChanged(QString)</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>checkInputFields()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>150</x>
|
|
<y>38</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>155</x>
|
|
<y>26</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>editPassword2</sender>
|
|
<signal>textChanged(QString)</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>checkInputFields()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>446</x>
|
|
<y>79</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>206</x>
|
|
<y>46</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>comboKeyFormat</sender>
|
|
<signal>currentIndexChanged(int)</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>checkInputFields()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>670</x>
|
|
<y>38</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>665</x>
|
|
<y>0</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>radioEncryptionSqlCipher3</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>toggleEncryptionSettings()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>217</x>
|
|
<y>114</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>231</x>
|
|
<y>94</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>radioEncryptionSqlCipher4</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>toggleEncryptionSettings()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>353</x>
|
|
<y>117</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>407</x>
|
|
<y>97</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>radioEncryptionCustom</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>CipherDialog</receiver>
|
|
<slot>toggleEncryptionSettings()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>552</x>
|
|
<y>120</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>590</x>
|
|
<y>99</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>checkInputFields()</slot>
|
|
<slot>toggleEncryptionSettings()</slot>
|
|
</slots>
|
|
</ui>
|