Scrolling
Scrolling
As the module description say: this class provide a good way to control scrolling events.
Class Details
Variables (Members):
Name |
Type |
Default Value |
Description |
percent |
Integer |
0 |
Percent of the position of the scroll |
maximum |
Integer |
0 |
Height of the body that define the maximum scrolling |
callbackList |
|
|
Define a list of called back function that are called when the user scroll. The Callback function will received as arguments a class with:
You are free to manipulate the callbackList as you want. |
Functions:
Name |
Arguments |
Return |
Description |
ScrollTo |
|
None |
Move the page with an EaseInOut animation to the designated position. |
Reset |
|
None |
Will reset all data if there is re-dimension and/or if a moving is not coming from the class |
Private Details
All private details are usable but its recommended to not use anythings of those. It might modify the good working of the class.
Functions:
Name |
Arguments |
Return |
Description |
Init |
|
None |
Setup the scrolling class by Initiating the main event which is basically a scrolling event on windows. The callback of this event will modify all data and information of the class and also it will call the callback functions of the callbackList. |
UpdateMaximum |
|
None |
Update the maximum value called by the Reset function. |
callbackFunctions |
|
None |
Call all the callback function from the callbackList. This function is called the event function initialized in the Init function. |
Scrolling (Animation Function) |
|
None |
Move the page. |
Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy