misc/cwdesklets/rql_query.display
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 09 Nov 2015 11:34:28 +0100
changeset 10975 6615ecb60244
parent 0 b97547f5f1fa
permissions -rw-r--r--
[tox] Use generating environments Drop the "env" option, which is unknown, and set a generative_ "envlist". Then use conditional dependencies based on factors_ to avoid repeating environment sections. The only singular one is the "cubicweb" environment because of its "commands". At some point, it'd be nice to find a way to have python version prefixes (py27-hooks or py34-web) for environment names but I could not find a way to extract the package name from such names. .. _generative: http://tox.readthedocs.org/en/latest/config.html#generative-envlist .. _factors: http://tox.readthedocs.org/en/latest/config.html#factors-and-factor-conditional-settings

<?xml version="1.0" encoding="UTF-8"?>

<display window-flags="sticky, below" width="185" height="200">

	<sensor id="r" module="rqlsensor"/>
        <sensor id="FS" module="FontSelector,1,Sans 10  black"/>
	
	<!-- left border -->
	<group x="0" width="5" height="200" bg-uri="gfx/border-left.png"/>
	
	<image x="10" y="0" uri="gfx/logo_erudi.png"/>

        <array id="results" x="10" y="30"
               watch="layout=r:layout, length=r:length">
	  <label id="lbls1" color="black"
		 on-enter="r:enter-line"
		 on-leave="r:leave-line"  
		 on-click="r:click-line"
  		 watch="value=r:result, font=FS:font0, color=r:resultbg"/>
        </array>

</display>