OpenSecurity/bin/ui/ui_FormatDriveDialog.py
changeset 205 b16c57614eee
child 233 bab44ef66a3c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/OpenSecurity/bin/ui/ui_FormatDriveDialog.py	Wed Jun 25 21:49:09 2014 +0200
     1.3 @@ -0,0 +1,116 @@
     1.4 +# -*- coding: utf-8 -*-
     1.5 +
     1.6 +# Form implementation generated from reading ui file 'FormatDriveDialog.ui'
     1.7 +#
     1.8 +# Created: Wed Jun 25 21:47:35 2014
     1.9 +#      by: PyQt4 UI code generator 4.10.3
    1.10 +#
    1.11 +# WARNING! All changes made in this file will be lost!
    1.12 +
    1.13 +from PyQt4 import QtCore, QtGui
    1.14 +
    1.15 +try:
    1.16 +    _fromUtf8 = QtCore.QString.fromUtf8
    1.17 +except AttributeError:
    1.18 +    def _fromUtf8(s):
    1.19 +        return s
    1.20 +
    1.21 +try:
    1.22 +    _encoding = QtGui.QApplication.UnicodeUTF8
    1.23 +    def _translate(context, text, disambig):
    1.24 +        return QtGui.QApplication.translate(context, text, disambig, _encoding)
    1.25 +except AttributeError:
    1.26 +    def _translate(context, text, disambig):
    1.27 +        return QtGui.QApplication.translate(context, text, disambig)
    1.28 +
    1.29 +class Ui_FormatDriveDialog(object):
    1.30 +    def setupUi(self, FormatDriveDialog):
    1.31 +        FormatDriveDialog.setObjectName(_fromUtf8("FormatDriveDialog"))
    1.32 +        FormatDriveDialog.resize(420, 120)
    1.33 +        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
    1.34 +        sizePolicy.setHorizontalStretch(0)
    1.35 +        sizePolicy.setVerticalStretch(0)
    1.36 +        sizePolicy.setHeightForWidth(FormatDriveDialog.sizePolicy().hasHeightForWidth())
    1.37 +        FormatDriveDialog.setSizePolicy(sizePolicy)
    1.38 +        icon = QtGui.QIcon()
    1.39 +        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/opensecurity/gfx/opensecurity_icon_64.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
    1.40 +        FormatDriveDialog.setWindowIcon(icon)
    1.41 +        self.lyMain = QtGui.QVBoxLayout(FormatDriveDialog)
    1.42 +        self.lyMain.setObjectName(_fromUtf8("lyMain"))
    1.43 +        self.lyContent = QtGui.QHBoxLayout()
    1.44 +        self.lyContent.setSpacing(16)
    1.45 +        self.lyContent.setObjectName(_fromUtf8("lyContent"))
    1.46 +        self.lblIcon = QtGui.QLabel(FormatDriveDialog)
    1.47 +        self.lblIcon.setText(_fromUtf8(""))
    1.48 +        self.lblIcon.setPixmap(QtGui.QPixmap(_fromUtf8(":/opensecurity/gfx/emblem-important.png")))
    1.49 +        self.lblIcon.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
    1.50 +        self.lblIcon.setObjectName(_fromUtf8("lblIcon"))
    1.51 +        self.lyContent.addWidget(self.lblIcon)
    1.52 +        self.lyCredentials = QtGui.QGridLayout()
    1.53 +        self.lyCredentials.setSpacing(4)
    1.54 +        self.lyCredentials.setObjectName(_fromUtf8("lyCredentials"))
    1.55 +        self.lblText = QtGui.QLabel(FormatDriveDialog)
    1.56 +        self.lblText.setTextFormat(QtCore.Qt.RichText)
    1.57 +        self.lblText.setObjectName(_fromUtf8("lblText"))
    1.58 +        self.lyCredentials.addWidget(self.lblText, 0, 0, 1, 2)
    1.59 +        self.wdCredentialsSpacer = QtGui.QWidget(FormatDriveDialog)
    1.60 +        self.wdCredentialsSpacer.setObjectName(_fromUtf8("wdCredentialsSpacer"))
    1.61 +        self.lyCredentials.addWidget(self.wdCredentialsSpacer, 3, 0, 1, 2)
    1.62 +        self.lblPassword = QtGui.QLabel(FormatDriveDialog)
    1.63 +        self.lblPassword.setObjectName(_fromUtf8("lblPassword"))
    1.64 +        self.lyCredentials.addWidget(self.lblPassword, 1, 0, 1, 1)
    1.65 +        self.lblKeyfile = QtGui.QLabel(FormatDriveDialog)
    1.66 +        self.lblKeyfile.setObjectName(_fromUtf8("lblKeyfile"))
    1.67 +        self.lyCredentials.addWidget(self.lblKeyfile, 2, 0, 1, 1)
    1.68 +        self.edtKeyfile = QtGui.QLineEdit(FormatDriveDialog)
    1.69 +        self.edtKeyfile.setObjectName(_fromUtf8("edtKeyfile"))
    1.70 +        self.lyCredentials.addWidget(self.edtKeyfile, 2, 1, 1, 1)
    1.71 +        self.btnBrowse = QtGui.QToolButton(FormatDriveDialog)
    1.72 +        self.btnBrowse.setObjectName(_fromUtf8("btnBrowse"))
    1.73 +        self.lyCredentials.addWidget(self.btnBrowse, 2, 2, 1, 1)
    1.74 +        self.edtPassword = QtGui.QLineEdit(FormatDriveDialog)
    1.75 +        self.edtPassword.setEchoMode(QtGui.QLineEdit.Password)
    1.76 +        self.edtPassword.setObjectName(_fromUtf8("edtPassword"))
    1.77 +        self.lyCredentials.addWidget(self.edtPassword, 1, 1, 1, 2)
    1.78 +        self.lyContent.addLayout(self.lyCredentials)
    1.79 +        self.lyMain.addLayout(self.lyContent)
    1.80 +        self.lyButtons = QtGui.QHBoxLayout()
    1.81 +        self.lyButtons.setObjectName(_fromUtf8("lyButtons"))
    1.82 +        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
    1.83 +        self.lyButtons.addItem(spacerItem)
    1.84 +        self.btnAbout = QtGui.QPushButton(FormatDriveDialog)
    1.85 +        self.btnAbout.setMinimumSize(QtCore.QSize(100, 0))
    1.86 +        self.btnAbout.setObjectName(_fromUtf8("btnAbout"))
    1.87 +        self.lyButtons.addWidget(self.btnAbout)
    1.88 +        self.btnCancel = QtGui.QPushButton(FormatDriveDialog)
    1.89 +        self.btnCancel.setMinimumSize(QtCore.QSize(100, 0))
    1.90 +        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
    1.91 +        self.lyButtons.addWidget(self.btnCancel)
    1.92 +        self.btnOk = QtGui.QPushButton(FormatDriveDialog)
    1.93 +        self.btnOk.setMinimumSize(QtCore.QSize(100, 0))
    1.94 +        self.btnOk.setDefault(True)
    1.95 +        self.btnOk.setObjectName(_fromUtf8("btnOk"))
    1.96 +        self.lyButtons.addWidget(self.btnOk)
    1.97 +        self.lyMain.addLayout(self.lyButtons)
    1.98 +        self.lblPassword.setBuddy(self.edtPassword)
    1.99 +        self.lblKeyfile.setBuddy(self.edtKeyfile)
   1.100 +
   1.101 +        self.retranslateUi(FormatDriveDialog)
   1.102 +        QtCore.QMetaObject.connectSlotsByName(FormatDriveDialog)
   1.103 +        FormatDriveDialog.setTabOrder(self.edtPassword, self.edtKeyfile)
   1.104 +        FormatDriveDialog.setTabOrder(self.edtKeyfile, self.btnBrowse)
   1.105 +        FormatDriveDialog.setTabOrder(self.btnBrowse, self.btnAbout)
   1.106 +        FormatDriveDialog.setTabOrder(self.btnAbout, self.btnCancel)
   1.107 +        FormatDriveDialog.setTabOrder(self.btnCancel, self.btnOk)
   1.108 +
   1.109 +    def retranslateUi(self, FormatDriveDialog):
   1.110 +        FormatDriveDialog.setWindowTitle(_translate("FormatDriveDialog", "OpenSecuirty Format Drive", None))
   1.111 +        self.lblText.setText(_translate("FormatDriveDialog", "<b>Attention!</b>TextLabel", None))
   1.112 +        self.lblPassword.setText(_translate("FormatDriveDialog", "&Password:", None))
   1.113 +        self.lblKeyfile.setText(_translate("FormatDriveDialog", "&Keyfile:", None))
   1.114 +        self.btnBrowse.setText(_translate("FormatDriveDialog", "...", None))
   1.115 +        self.btnAbout.setText(_translate("FormatDriveDialog", "&About", None))
   1.116 +        self.btnCancel.setText(_translate("FormatDriveDialog", "&Cancel", None))
   1.117 +        self.btnOk.setText(_translate("FormatDriveDialog", "&Ok", None))
   1.118 +
   1.119 +import opensecurity_rc