forked from g3tsyst3m/BriarIDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBriarIDS.py
executable file
·32 lines (27 loc) · 917 Bytes
/
BriarIDS.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
import os
import sys
try:
from PyQt4 import QtCore, QtGui
except ImportError:
print 'pyqt not installed...installing now.'
os.system("sudo apt-get install python-qt4 -y")
raise ImportError("ok done installing try running Briar now!")
########################################
#include name of gui python script below
import loadBriarMenu
########################################
class Main(QtGui.QWidget):
def __init__(self):
super(Main, self).__init__()
print "loading main menu..."
# name of gui python script
############################
self.ui = loadBriarMenu.Ui_Form()
#############################
self.ui.setupUi(self)
if __name__ == '__main__':
app = QtGui.QApplication(sys.argv)
app.setStyle("plastique")
main = Main()
main.show()
sys.exit(app.exec_())