[QGIS-Developer] Fwd: Change values Temporal Controller Panel

Tim Sutton tim at kartoza.com
Sat Nov 7 14:41:56 PST 2020


Hi Richard

Note that your example contains a duplicate import:

        QgsMapRendererCustomPainterJob,
        QgsProject,
        QgsMapRendererCustomPainterJob,

Regards


Tim

On Fri, Nov 6, 2020 at 3:42 PM Luiz Motta <motta.luiz at gmail.com> wrote:

> Hi Richard,
>
> Your code was exactly what I needed.
>
> Thanks so much!
>
> Regards,
> Luiz Motta
>
>
>
> Em sex., 6 de nov. de 2020 às 11:08, Richard Duivenvoorde <
> rdmailings at duif.net> escreveu:
>
>> Hi Luiz,
>>
>> We have fixed stuff to be able to use temporal stuff in pyqgis just
>> before 3.16
>>
>> I wrote some docs (with exampless) in the QGIS Documentation:
>>
>> https://github.com/qgis/QGIS-Documentation/pull/5521
>>
>> It still fails in Travis, but in this commit is example code:
>>
>>
>> https://github.com/qgis/QGIS-Documentation/blob/4ebc236d06a7ff2b6454ea5b8f94929b2b8423d0/docs/pyqgis_developer_cookbook/temporal_data.rst
>>
>> Hope this helps,
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
>>
>> On 11/6/20 2:47 PM, Luiz Motta wrote:
>> > Hi All,
>> >
>> >  I would like to change the values of the Temporal Controller Panel in
>> my plugin.
>> >
>> > How do I change the Range of datetimes and the values of step and unit
>> time using python?
>> >
>> >  Regards,
>> >  Luiz Motta
>> >
>> > _______________________________________________
>> > QGIS-Developer mailing list
>> > QGIS-Developer at lists.osgeo.org
>> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> >
>>
>> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
------------------------------------------------------------------------------------------
​

Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201107/8e467a1e/attachment.html>


More information about the QGIS-Developer mailing list