Changeset 259 for trunk


Ignore:
Timestamp:
01/04/11 04:58:05 (11 years ago)
Author:
sc
Message:

trunk/synapse/Puzzlebox/Synapse/Interface.py:

  • Now supports configurable interface tab positioning

trunk/synapse/Puzzlebox/Synapse/Configuration.py:

  • Now supports configurable interface tab positioning

trunk/synapse/puzzlebox_synapse_configuration.ini:

  • Now supports configurable interface tab positioning

trunk/brainstorms/Puzzlebox/Brainstorms/Interface.py:

  • additional To Do updates
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/brainstorms/Puzzlebox/Brainstorms/Interface.py

    r258 r259  
    1010 
    1111__changelog__ = """\ 
    12 Last Update: 2010.12.04 
     12Last Update: 2010.12.12 
    1313 
    1414""" 
     
    1616__todo__ = """ 
    1717 - ERROR: could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0' /dev/ttyUSB0 
     18 - ERROR: Could not configure port: (5, 'Input/output error') /dev/ttyS0 
    1819 - server may not correctly handle multiple clients connected 
    1920      to an embedded Brainstorms server 
     21 - add setting to configuration.ini for which helicopter command gets  
     22      called when speed reaches threshold 
    2023 - disable autorepeating on shortcut keys 
    2124 - update configuration.ini file with settings entered into interface 
  • trunk/synapse/Puzzlebox/Synapse/Configuration.py

    r174 r259  
    3939        'highGamma': 'k-', \ 
    4040} 
     41 
     42INTERFACE_TAB_POSITION = 'North' 
    4143 
    4244#The following color abbreviations are supported: 
  • trunk/synapse/Puzzlebox/Synapse/Interface.py

    r223 r259  
    145145                if os.path.exists(image_path): 
    146146                        self.labelPuzzleboxIcon.setPixmap(QtGui.QPixmap(image_path)) 
     147                 
     148                 
     149                if configuration.INTERFACE_TAB_POSITION == 'South': 
     150                        self.tabWidget.setTabPosition(QtGui.QTabWidget.South) 
     151                else: 
     152                        self.tabWidget.setTabPosition(QtGui.QTabWidget.North) 
    147153                 
    148154                 
  • trunk/synapse/puzzlebox_synapse_configuration.ini

    r164 r259  
    22# Puzzlebox Synapse Configuration 
    33##################################################################### 
     4 
     5INTERFACE_TAB_POSITION = 'North' # Set to South for Nokia n900 
    46 
    57##################################################################### 
Note: See TracChangeset for help on using the changeset viewer.