forked from honeynet/apkinspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCallInOutDialog.py
36 lines (28 loc) · 964 Bytes
/
CallInOutDialog.py
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
# -*- coding: utf-8 -*-
"""
Module implementing CallInOutDialog.
"""
from PyQt4.QtGui import QDialog
from PyQt4.QtCore import pyqtSignature
from Ui_CallInOutDialog import Ui_CallInOutDialog
class CallInOutDialog(QDialog, Ui_CallInOutDialog):
callInFlag = 0
callOutFlag = 0
callMethod = None
def __init__(self, parent = None):
"""
Constructor
"""
QDialog.__init__(self, parent)
self.setupUi(self)
@pyqtSignature("bool")
def on_pushButton_ok_clicked(self, checked):
"""
Slot documentation goes here.
"""
className = str(self.lineEdit_class.text())
methodName = str(self.lineEdit_method.text())
descriptor = str(self.lineEdit_descriptor.text())
self.callInFlag = self.checkBox_in.isChecked()
self.callOutFlag = self.checkBox_out.isChecked()
self.callMethod = className + " " + descriptor + "," + methodName