forked from honeynet/apkinspector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInputDialog.py
More file actions
38 lines (29 loc) · 834 Bytes
/
InputDialog.py
File metadata and controls
38 lines (29 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
"""
Module implementing inputDialog.
"""
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from PyQt4.QtGui import QDialog
from PyQt4.QtCore import pyqtSignature
from Ui_InputDialog import Ui_inputDialog_dalvik
class inputDialog(QDialog, Ui_inputDialog_dalvik):
"""
Class documentation goes here.
"""
node = None
def __init__(self, node, myText):
"""
Constructor
"""
QDialog.__init__(self)
self.setupUi(self)
self.plainTextEdit_dalvik.setPlainText(myText)
self.node = node
@pyqtSignature("")
def on_pushButton_ok_dalvik_clicked(self):
"""
Slot documentation goes here.
"""
newText = self.plainTextEdit_dalvik.toPlainText()
self.node.setText(newText)