Changeset 309


Ignore:
Timestamp:
12/06/11 04:02:16 (9 years ago)
Author:
sc
Message:

Interface:

  • comboBoxEEGHeadsetModel disabled when connected

Interface_Design.py:

Location:
trunk/Puzzlebox/Synapse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Puzzlebox/Synapse/Interface.py

    r307 r309  
    290290                 
    291291                self.comboBoxDeviceSelect.setEnabled(False) 
     292                self.comboBoxEEGHeadsetModel.setEnabled(False) 
    292293         
    293294         
     
    312313                 
    313314                self.comboBoxDeviceSelect.setEnabled(True) 
     315                self.comboBoxEEGHeadsetModel.setEnabled(True) 
    314316                 
    315317                 
  • trunk/Puzzlebox/Synapse/Interface_Design.py

    r307 r309  
    1313if configuration.ENABLE_PYSIDE: 
    1414        try: 
    15                 import PySide as PyQt4 
    16                 from PySide import QtCore, QtGui, QtNetwork, QtWebKit 
     15                #import PySide as PyQt4 
     16                from PySide import QtCore, QtGui 
    1717        except Exception, e: 
    1818                print "ERROR: Excetion importing PySide:", 
     
    2020                configuration.ENABLE_PYSIDE = False 
    2121        else: 
    22                 print "INFO: [Jigsaw:Interface_Design] Using PySide module" 
     22                print "INFO: [Synapse:Interface_Design] Using PySide module" 
    2323 
    2424if not configuration.ENABLE_PYSIDE: 
    25         print "INFO: [Jigsaw:Interface_Design] Using PyQt4 module" 
    26         from PyQt4 import QtCore, QtGui, QtNetwork, QtWebKit 
    27  
    28 #try: 
    29   #from PySide import QtCore, QtGui, QtWebKit 
    30 #except: 
    31   #from PyQt4 import QtCore, QtGui, QtWebKit 
     25        print "INFO: [Synapse:Interface_Design] Using PyQt4 module" 
     26        from PyQt4 import QtCore, QtGui 
     27 
    3228 
    3329try: 
Note: See TracChangeset for help on using the changeset viewer.