-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbrainstorms-network.py
More file actions
executable file
·71 lines (50 loc) · 1.68 KB
/
brainstorms-network.py
File metadata and controls
executable file
·71 lines (50 loc) · 1.68 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Puzzlebox - Brainstorms - Interface - Network
#
# Copyright Puzzlebox Productions, LLC (2010)
#
# This code is released under the GNU Pulic License (GPL) version 2
# For more information please refer to http://www.gnu.org/copyleft/gpl.html
__changelog__ = """\
Last Update: 2010.10.01
"""
import os, sys
try:
import PySide as PyQt4
from PySide import QtGui
except:
print "Using PyQt4 module"
from PyQt4 import QtGui
else:
print "Using PySide module"
#from PyQt4 import QtGui
#from PySide import QtGui
import Puzzlebox.Brainstorms.Interface as client_interface
#import puzzlebox_logger
#####################################################################
# Globals
#####################################################################
DEBUG = 1
#####################################################################
# Classes
#####################################################################
#####################################################################
# Functions
#####################################################################
#####################################################################
# Main
#####################################################################
if __name__ == '__main__':
#log = puzzlebox_logger.puzzlebox_logger(logfile='client_interface')
log = None
#for each in sys.argv:
#if each.startswith("--host="):
#server_host = each[ len("--host="): ]
#if each.startswith("--port="):
#server_port = each[ len("--port="): ]
app = QtGui.QApplication(sys.argv)
window = client_interface.puzzlebox_brainstorms_client_interface(log, DEBUG=DEBUG)
window.show()
sys.exit(app.exec_())