Ignore:
Timestamp:
09/21/10 14:49:20 (12 years ago)
Author:
sc
Message:

trunk/synapse/interface/puzzlebox_synapse_interface_design.ui

  • Control Panel tab cleaned up

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

  • Control Panel session and packet statistics calculated
  • Control Panel buttons connected to functions
  • convert_seconds_to_datetime function added

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

  • session time, packet count, and bad packet counters added


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/synapse/interface/puzzlebox_synapse_interface_design.ui

    r190 r192  
    852852    </attribute> 
    853853   </widget> 
    854    <widget class="QWidget" name="tabDebugConsole"> 
     854   <widget class="QWidget" name="tabControlPanel"> 
    855855    <attribute name="title"> 
    856856     <string>Control Panel</string> 
     
    878878&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; 
    879879p, li { white-space: pre-wrap; } 
    880 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt; 
    881 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     880&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt; 
     881&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    882882     </property> 
    883883    </widget> 
     
    886886      <rect> 
    887887       <x>43</x> 
    888        <y>365</y> 
     888       <y>355</y> 
    889889       <width>77</width> 
    890890       <height>25</height> 
     
    982982      <rect> 
    983983       <x>0</x> 
    984        <y>260</y> 
     984       <y>250</y> 
    985985       <width>161</width> 
    986986       <height>20</height> 
     
    998998      <rect> 
    999999       <x>43</x> 
    1000        <y>305</y> 
     1000       <y>295</y> 
    10011001       <width>77</width> 
    10021002       <height>25</height> 
     
    10111011      <rect> 
    10121012       <x>43</x> 
    1013        <y>335</y> 
     1013       <y>325</y> 
    10141014       <width>77</width> 
    10151015       <height>25</height> 
     
    10401040     </property> 
    10411041    </widget> 
    1042     <widget class="QLabel" name="textLabeDataHistory"> 
     1042    <widget class="QLabel" name="textLabelDataHistory"> 
    10431043     <property name="geometry"> 
    10441044      <rect> 
    10451045       <x>30</x> 
    1046        <y>280</y> 
     1046       <y>270</y> 
    10471047       <width>105</width> 
    10481048       <height>21</height> 
     
    10641064      <rect> 
    10651065       <x>0</x> 
    1066        <y>145</y> 
     1066       <y>135</y> 
    10671067       <width>160</width> 
    10681068       <height>20</height> 
     
    10841084      <rect> 
    10851085       <x>50</x> 
    1086        <y>165</y> 
     1086       <y>155</y> 
    10871087       <width>62</width> 
    10881088       <height>20</height> 
     
    11001100     </property> 
    11011101    </widget> 
    1102     <widget class="QLabel" name="textLabelBrainSignalPacketsTitle"> 
    1103      <property name="geometry"> 
    1104       <rect> 
    1105        <x>0</x> 
    1106        <y>185</y> 
     1102    <widget class="QLabel" name="textLabelPacketsReceivedTitle"> 
     1103     <property name="geometry"> 
     1104      <rect> 
     1105       <x>3</x> 
     1106       <y>175</y> 
    11071107       <width>160</width> 
    11081108       <height>20</height> 
     
    11131113&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; 
    11141114p, li { white-space: pre-wrap; } 
    1115 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt; 
    1116 &lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans'; font-size:10pt; font-weight:600;&quot;&gt;Brain Signal Packets&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    1117      </property> 
    1118      <property name="wordWrap"> 
    1119       <bool>false</bool> 
    1120      </property> 
    1121     </widget> 
    1122     <widget class="QLabel" name="textLabelBrainSignalPackets"> 
     1115&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt; 
     1116&lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Packets Received&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     1117     </property> 
     1118     <property name="wordWrap"> 
     1119      <bool>false</bool> 
     1120     </property> 
     1121    </widget> 
     1122    <widget class="QLabel" name="textLabelPacketsReceived"> 
    11231123     <property name="geometry"> 
    11241124      <rect> 
    11251125       <x>50</x> 
    1126        <y>205</y> 
     1126       <y>195</y> 
    11271127       <width>60</width> 
    11281128       <height>20</height> 
     
    11401140     </property> 
    11411141    </widget> 
    1142     <widget class="QLabel" name="textLabeDroppedPacketsTitle"> 
     1142    <widget class="QLabel" name="textLabelPacketsDroppedTitle"> 
    11431143     <property name="geometry"> 
    11441144      <rect> 
    11451145       <x>0</x> 
    1146        <y>225</y> 
     1146       <y>215</y> 
    11471147       <width>160</width> 
    11481148       <height>20</height> 
     
    11531153&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; 
    11541154p, li { white-space: pre-wrap; } 
    1155 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt; 
    1156 &lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans'; font-size:10pt; font-weight:600;&quot;&gt;Dropped Packets&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    1157      </property> 
    1158      <property name="wordWrap"> 
    1159       <bool>false</bool> 
    1160      </property> 
    1161     </widget> 
    1162     <widget class="QLabel" name="textLabelDroppedPackets"> 
     1155&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt; 
     1156&lt;p align=&quot;center&quot; style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Packets Dropped&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     1157     </property> 
     1158     <property name="wordWrap"> 
     1159      <bool>false</bool> 
     1160     </property> 
     1161    </widget> 
     1162    <widget class="QLabel" name="textLabelPacketsDropped"> 
    11631163     <property name="geometry"> 
    11641164      <rect> 
    11651165       <x>50</x> 
    1166        <y>245</y> 
     1166       <y>235</y> 
    11671167       <width>60</width> 
    11681168       <height>20</height> 
Note: See TracChangeset for help on using the changeset viewer.