-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIPTracker.pyw
More file actions
35 lines (26 loc) · 754 Bytes
/
IPTracker.pyw
File metadata and controls
35 lines (26 loc) · 754 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
'''#!/user/bin/python3
'''
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QApplication, QAction
from PyQt5.QtGui import QIcon
import sys
from gui.design_ui import Ui_MainWindow
from IPTrackerData import IPTrackerData
from UI_helper import UI_helper
from Addsubnet import Addsubnet
class IPTracker(QtWidgets.QMainWindow, Ui_MainWindow):
def __init__(self, parent=None):
super(IPTracker, self).__init__(parent=None)
Ui_MainWindow.__init__(self)
self.ui = Ui_MainWindow()
self.setupUi(self)
def main():
app = QApplication(sys.argv)
form = IPTracker()
uihelper = UI_helper()
uihelper.build_menubar(form, app)
uihelper.poplist(form)
form.show()
sys.exit(app.exec_())
if __name__ == '__main__':
main()