Editing Queen BeeCon Widget

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Warning: This page is 67 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 370: Line 370:
QBW can provide a set of specific parameters to the executing script/command. The script will have to identify the placeholders for this extra parameters as better specified in the following table:
QBW can provide a set of specific parameters to the executing script/command. The script will have to identify the placeholders for this extra parameters as better specified in the following table:
-
{|class="wikitable"
+
{|class="wikitable" border="2"
!Release!!Placeholder!!Substituted!!Description
!Release!!Placeholder!!Substituted!!Description
|-
|-
-
|<code>0.1.9.1</code>||<code>$QBW_ID</code>||<code><QBW Instance ID></code>||Retreives the [[#QBW Instance ID|QBW Instance ID]] and substitutes it into the run script
+
|<code>0.1.9.1</code>||<code>$QBW_ID</code>||<code>'''<QBW Instance ID>'''</code>||Retreives the [[#QBW Instance ID|QBW Instance ID]] and substitutes it into the run script
|-
|-
-
|<code>0.1.9.6</code>||<code>$QBW_HOTSPOT_PRESS</code>||<code><Hot Spot Press/Click Position Index></code>||[[Image:QBW Hot Spot Press.gif|right]]Retreives the <code>POSITION INDEX</code> where the widget was pressed/clicked and substitutes it into the run script<br/><code>0 = Not Pressed (Other update policy)<br />1 = Top Left<br />2 = Top Center<br />3 = Top Right<br />4 = Center Left<br />5 = Center<br />6 = Center Right<br />7 = Bottom Left<br />8 = Bottom Center<br />9 = Bottom Right</code>
+
|<code>0.1.9.6</code>||<code>$QBW_HOTSPOT_PRESS</code>||<code>'''<Hot Spot Press/Click Position Index>'''</code>||[[Image:QBW Hot Spot Press.gif|right]]Retreives the <code>'''POSITION INDEX'''</code> where the widget was pressed/clicked and substitutes it into the run script<br/><code>'''0 = Not Pressed (Other update policy)<br />1 = Top Left<br />2 = Top Center<br />3 = Top Right<br />4 = Center Left<br />5 = Center<br />6 = Center Right<br />7 = Bottom Left<br />8 = Bottom Center<br />9 = Bottom Right'''</code>
|-
|-
-
|<code>1.0.3</code>||<code>$QBW_CLICKS_COUNT</code>||<code><Number></code>||Holds the number of times a QBW was pressed/clicked and substitutes it into the run script;  useful for handling single/double/triple... clicks and behave accordingly (Tested up to 12 ... :) )
+
|<code>1.0.3</code>||<code>$QBW_CLICKS_COUNT</code>||<code>'''<Number>'''</code>||Holds the number of times a QBW was pressed/clicked and substitutes it into the run script;  useful for handling single/double/triple... clicks and behave accordingly (Tested up to 12 ... :) )
|-
|-
-
|<s><code>1.0.4</code></s>||<s><code>$QBW_IS_FINGER_TAP</code></s>||<s><code>true<nowiki>|</nowiki>false</code></s>||<s>Holds the type of click issued on the Touch Screen<br/><code>true</code>=Touch Screen was tapped with a finger<br/><code>false</code>=Touch Screen was clicked with stylus</s>
+
|<s><code>1.0.4</code></s>||<s><code>$QBW_IS_FINGER_TAP</code></s>||<s><code>'''true<nowiki>|</nowiki>false</code>'''</s>||<s>Holds the type of click issued on the Touch Screen<br/>'''<code>true</code>'''=Touch Screen was tapped with a finger<br/>'''<code>false</code>'''=Touch Screen was clicked with stylus</s>
|-
|-
-
|<code>1.0.3</code>||<code>$QBW_CLICK_X</code><br/><code>$QBW_CLICK_Y</code>||<code><X Coordinate></code><br/><code><Y Coordinate></code>||Hold exact X and Y coordinates respectively where a QBW was pressed/clicked (Useful for handling different arbitrary/dynamic hotspots on widgets via launched shell scripts; virtually unlimited as handling is left to launched script/program)<br/>Ex.<br/><code>x=$QBW_CLICK_X;<br/>y=$QBW_CLICK_Y;<br>if [ $x -ge 100 -a $x -le 200 -a $y -ge 100 -a $y -le 200 ];<br/>then echo "HOT SPOT HIT";<br/>else echo "HOT SPOT NOT HIT";<br/>fi;</code><br/>will echo "HOT SPOT HIT" if widget is clicked in rectangle delimited by p1(x=100,y=100) and p2(x=200,y=200) or "HOT SPOT NOT HIT" otherwise
+
|<code>1.0.3</code>||<code>$QBW_CLICK_X</code><br/><code>$QBW_CLICK_Y</code>||<code><X Coordinate></code><br/><code><Y Coordinate>'''</code>||Hold exact X and Y coordinates respectively where a QBW was pressed/clicked (Useful for handling different arbitrary/dynamic hotspots on widgets via launched shell scripts; virtually unlimited as handling is left to launched script/program)<br/>Ex.<br/><code>x=$QBW_CLICK_X;<br/>y=$QBW_CLICK_Y;<br>if [ $x -ge 100 -a $x -le 200 -a $y -ge 100 -a $y -le 200 ];<br/>then echo "HOT SPOT HIT";<br/>else echo "HOT SPOT NOT HIT";<br/>fi;</code><br/>will echo "HOT SPOT HIT" if widget is clicked in rectangle delimited by p1(x=100,y=100) and p2(x=200,y=200) or "HOT SPOT NOT HIT" otherwise
|-
|-
|<code>1.0.53</code>||<code>$QBW_WIDTH</code>||<code><Number></code>||Holds the current Width of QBW widget; useful for dynamic recalculation of click hotspots
|<code>1.0.53</code>||<code>$QBW_WIDTH</code>||<code><Number></code>||Holds the current Width of QBW widget; useful for dynamic recalculation of click hotspots
Line 397: Line 397:
|<code>1.3</code>||<code>$QBW_ORIENTATION_X</code>||<code><X axis value></code>||Holds the current Orientation X axis of QBW widget = <code>-1</code><-><code>+1</code>
|<code>1.3</code>||<code>$QBW_ORIENTATION_X</code>||<code><X axis value></code>||Holds the current Orientation X axis of QBW widget = <code>-1</code><-><code>+1</code>
|-
|-
-
|<code>1.3</code>||<code>$QBW_ORIENTATION_Y</code>||<code><Y axis value></code>||Holds the current Orientation Y axis of QBW widget = <code>-1</code><-><code>+1</code>
+
|<code>1.3</code>||<code>$QBW_ORIENTATION_Y</code>||<code><Y axis value>'''</code>||Holds the current Orientation Y axis of QBW widget = <code>-1</code><-><code>+1</code>
|-
|-
|<code>1.3</code>||<code>$QBW_ORIENTATION_Z</code>||<code><Z axis value></code>||Holds the current Orientation Z axis of QBW widget = <code>-1</code><-><code>+1</code>
|<code>1.3</code>||<code>$QBW_ORIENTATION_Z</code>||<code><Z axis value></code>||Holds the current Orientation Z axis of QBW widget = <code>-1</code><-><code>+1</code>
Line 403: Line 403:
|<code>1.3</code>||<code>$QBW_LOCATION_FIX</code>||<code><string></code>||Holds the current GPS Position FIX in colon separated string form: <code>status : time : ept : latitude : longitude : eph : altitude : epv : track : epd : speed : eps : climb : epc : gsm_cell_info.mcc : wcdma_cell_info.mcc : satellites_in_view : satellites_in_use</code><br/>If information is not available then <code>nan</code> is shown.<br/>See [[Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components/Using_Location_API#LocationGPSDevice_and_LocationGPSDeviceFix|HERE]] for reference.<br/>Ex. 1 : 1288031860 : 0 : 45,999999 : 9,999999 : 4026 : 157 : 20 : 210,490 : 359,990 : 0,11 : 4,43 : 0,00 : 0,03 : 0 : 0 : 10 : 5
|<code>1.3</code>||<code>$QBW_LOCATION_FIX</code>||<code><string></code>||Holds the current GPS Position FIX in colon separated string form: <code>status : time : ept : latitude : longitude : eph : altitude : epv : track : epd : speed : eps : climb : epc : gsm_cell_info.mcc : wcdma_cell_info.mcc : satellites_in_view : satellites_in_use</code><br/>If information is not available then <code>nan</code> is shown.<br/>See [[Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components/Using_Location_API#LocationGPSDevice_and_LocationGPSDeviceFix|HERE]] for reference.<br/>Ex. 1 : 1288031860 : 0 : 45,999999 : 9,999999 : 4026 : 157 : 20 : 210,490 : 359,990 : 0,11 : 4,43 : 0,00 : 0,03 : 0 : 0 : 10 : 5
|-
|-
-
|<code>0.1.9.9</code>||<code>$QBW_ON_SIGHT</code>||<code>true<nowiki>|</nowiki>false</code>||<code>true</code>=QBW Instance is "ON SIGHT", that is widget is on current desktop and display is not locked or on stand by.<br/><code>false</code>=QBW Instance is not on current desktop and visible or display is off or on stand by
+
|<code>0.1.9.9</code>||<code>$QBW_ON_SIGHT</code>||<code>true<nowiki>|</nowiki>false</code>||<code>true</code>=QBW Instance is "ON SIGHT", that is widget is on current desktop and display is not locked or on stand by.<br/>'''<code>false</code>=QBW Instance is not on current desktop and visible or display is off or on stand by
|-
|-
|<code>1.0.2</code>||<code>$QBW_IS_CONNECTED</code>||<code>true<nowiki>|</nowiki>false</code>||<code>true</code>=QBW Instance is connected to the network (either WLAN or GPRS)<br/><code>false</code>=QBW Instance is not connected to the network (either WLAN or GPRS)
|<code>1.0.2</code>||<code>$QBW_IS_CONNECTED</code>||<code>true<nowiki>|</nowiki>false</code>||<code>true</code>=QBW Instance is connected to the network (either WLAN or GPRS)<br/><code>false</code>=QBW Instance is not connected to the network (either WLAN or GPRS)

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: