Source

APKinspector / Ui_InputDialog.py

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/administrator/gsoc-AndroidGui/InputDialog.ui'
#
# Created: Tue Jul  5 02:56:54 2011
#      by: PyQt4 UI code generator 4.8.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_inputDialog_smali(object):
    def setupUi(self, inputDialog_smali):
        inputDialog_smali.setObjectName(_fromUtf8("inputDialog_smali"))
        inputDialog_smali.resize(612, 538)
        inputDialog_smali.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        inputDialog_smali.setSizeGripEnabled(False)
        inputDialog_smali.setModal(False)
        self.gridLayout_2 = QtGui.QGridLayout(inputDialog_smali)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.plainTextEdit_smali = QtGui.QPlainTextEdit(inputDialog_smali)
        self.plainTextEdit_smali.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.plainTextEdit_smali.setObjectName(_fromUtf8("plainTextEdit_smali"))
        self.gridLayout.addWidget(self.plainTextEdit_smali, 0, 0, 1, 1)
        self.horizontalLayout_smali = QtGui.QHBoxLayout()
        self.horizontalLayout_smali.setObjectName(_fromUtf8("horizontalLayout_smali"))
        self.pushButton_ok_smali = QtGui.QPushButton(inputDialog_smali)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_ok_smali.sizePolicy().hasHeightForWidth())
        self.pushButton_ok_smali.setSizePolicy(sizePolicy)
        self.pushButton_ok_smali.setObjectName(_fromUtf8("pushButton_ok_smali"))
        self.horizontalLayout_smali.addWidget(self.pushButton_ok_smali)
        self.pushButton_cancel_smali = QtGui.QPushButton(inputDialog_smali)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_cancel_smali.sizePolicy().hasHeightForWidth())
        self.pushButton_cancel_smali.setSizePolicy(sizePolicy)
        self.pushButton_cancel_smali.setObjectName(_fromUtf8("pushButton_cancel_smali"))
        self.horizontalLayout_smali.addWidget(self.pushButton_cancel_smali)
        self.gridLayout.addLayout(self.horizontalLayout_smali, 1, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)

        self.retranslateUi(inputDialog_smali)
        QtCore.QObject.connect(self.pushButton_ok_smali, QtCore.SIGNAL(_fromUtf8("clicked()")), inputDialog_smali.close)
        QtCore.QObject.connect(self.pushButton_cancel_smali, QtCore.SIGNAL(_fromUtf8("clicked()")), inputDialog_smali.close)
        QtCore.QMetaObject.connectSlotsByName(inputDialog_smali)

    def retranslateUi(self, inputDialog_smali):
        inputDialog_smali.setWindowTitle(QtGui.QApplication.translate("inputDialog_smali", "Modify the smali code", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_ok_smali.setText(QtGui.QApplication.translate("inputDialog_smali", "OK", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_cancel_smali.setText(QtGui.QApplication.translate("inputDialog_smali", "Cancel", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    inputDialog_smali = QtGui.QDialog()
    ui = Ui_inputDialog_smali()
    ui.setupUi(inputDialog_smali)
    inputDialog_smali.show()
    sys.exit(app.exec_())
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.