Package cx.fbn.nevernote.dialog

Examples of cx.fbn.nevernote.dialog.DBEncryptDialog


            "Do you wish to proceed?"),
            QMessageBox.StandardButton.Yes,
            QMessageBox.StandardButton.No)==StandardButton.No.value()) {
            return;
        }
          DBEncryptDialog dialog = new DBEncryptDialog();
          dialog.exec();
          if (dialog.okPressed()) {
               Global.cipherPassword = dialog.getPassword();
               encryptOnShutdown  = true;
               encryptCipher = dialog.getEncryptionMethod();
          }
        } else {
            DBEncryptDialog dialog = new DBEncryptDialog();
            dialog.setWindowTitle(tr("Database Decryption"));
            dialog.hideEncryption();
            dialog.exec();
            if (dialog.okPressed()) {
              if (!dialog.getPassword().equals(Global.cipherPassword)) {
                QMessageBox.critical(null, tr("Incorrect Password"), tr("Incorrect Password"));
                return;
              }
              decryptOnShutdown  = true;
              encryptCipher = "";
View Full Code Here

TOP

Related Classes of cx.fbn.nevernote.dialog.DBEncryptDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.