cipher: Fix build option and use a dialog for entering the password

Fix the sqlcipher build option in the qmake project to actually enable
the SQLCipher support.

Add a new dialog called CipherDialog which is used to ask the user for
the password and other encryption details instead of using standard Qt
input dialogs.
This commit is contained in:
Martin Kleusberg
2014-11-02 13:12:31 +01:00
parent 9ba36d02b2
commit 167d8cbd74
8 changed files with 265 additions and 21 deletions

View File

@@ -43,7 +43,8 @@ HEADERS += \
VacuumDialog.h \
DbStructureModel.h \
Application.h \
sqlite.h
sqlite.h \
CipherDialog.h
SOURCES += \
sqlitedb.cpp \
@@ -67,7 +68,8 @@ SOURCES += \
SqlExecutionArea.cpp \
VacuumDialog.cpp \
DbStructureModel.cpp \
Application.cpp
Application.cpp \
CipherDialog.cpp
RESOURCES += icons/icons.qrc
@@ -81,7 +83,8 @@ FORMS += \
ExportCsvDialog.ui \
ImportCsvDialog.ui \
SqlExecutionArea.ui \
VacuumDialog.ui
VacuumDialog.ui \
CipherDialog.ui
TRANSLATIONS += \
translations/sqlb_cn.ts \