Skip to content

Commit

Permalink
Type fix in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Dec 2, 2023
1 parent 946ae7f commit 7b8c515
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
17 changes: 10 additions & 7 deletions animation_workbench/easing_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@


class EasingAnimation(QPropertyAnimation):
# See documentation here which explains that you should
# create your own subclass of QVariantAnimation
# if you want to change the animation behaviour. In our
# case we want to override the fact that the animation
# changes both the x and y coords in each increment
# so that we can show the preview as a mock chart
# https://doc.qt.io/qt-6/qvariantanimation.html#endValue-prop
"""Animation settings for easings for natural transitions between states.
See documentation here which explains that you should
create your own subclass of QVariantAnimation
if you want to change the animation behaviour. In our
case we want to override the fact that the animation
changes both the x and y coords in each increment
so that we can show the preview as a mock chart
https://doc.qt.io/qt-6/qvariantanimation.html#endValue-prop
"""
def __init__(self, target_object, property):
parent = None
super(EasingAnimation, self).__init__()
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# QGIS Animation Workbench

Welcome to the QGIS Animation Workbench (QAW). QAW is a [QGIS Plugins](https://qgis.org) that will help you bring your maps to life! Let's start with a quick overview. Click on the image below to view a 14 minute walkthrough on YouTube.
Welcome to the QGIS Animation Workbench (QAW). QAW is a [QGIS Plugin](https://qgis.org) that will help you bring your maps to life! Let's start with a quick overview. Click on the image below to view a 14 minute walkthrough on YouTube.

[![Overview](start/img/QAW-IntroThumbnail.jpg)](https://youtu.be/DkS6yvnuypc)

Expand Down
5 changes: 1 addition & 4 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ ignore-mixin-members=yes
# (useful for classes with attributes dynamically set).
ignored-classes=SQLObject

# When zope mode is activated, add a predefined set of Zope acquired attributes
# to generated-members.
zope=no

# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E0201 when accessed. Python regular
Expand Down Expand Up @@ -277,4 +274,4 @@ valid-metaclass-classmethod-first-arg=mcs

# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
overgeneral-exceptions=builtins.Exception

0 comments on commit 7b8c515

Please sign in to comment.