Ignore:
Timestamp:
07/11/10 11:59:28 (11 years ago)
Author:
sc
Message:
  • PySide? import attempted before PyQt4 where available
  • problem specifying port when calling socket.listen on QTcpServer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_client_interface_design.py

    r109 r111  
    88# WARNING! All changes made in this file will be lost! 
    99 
    10 from PyQt4 import QtCore, QtGui 
     10try: 
     11        import PySide as PyQt4 
     12        from PySide import QtCore, QtGui 
     13except: 
     14        print "Using PyQt4 module" 
     15        from PyQt4 import QtCore, QtGui 
     16else: 
     17        print "Using PySide module" 
     18 
     19#from PyQt4 import QtCore, QtGui 
    1120 
    1221class Ui_Form(object): 
Note: See TracChangeset for help on using the changeset viewer.