mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Zigzag auto scroll function. Bug (runtime warning) fix.
This commit is contained in:
parent
7896949a0d
commit
e4365dadce
@ -119,10 +119,10 @@ zoom(100)
|
|||||||
verticalScroller = new QPropertyAnimation(verticalScrollBar(), "sliderPosition");
|
verticalScroller = new QPropertyAnimation(verticalScrollBar(), "sliderPosition");
|
||||||
connect(verticalScroller,SIGNAL(valueChanged (const QVariant &)),this,SIGNAL(backgroundChanges()));
|
connect(verticalScroller,SIGNAL(valueChanged (const QVariant &)),this,SIGNAL(backgroundChanges()));
|
||||||
horizontalScroller = new QPropertyAnimation(horizontalScrollBar(), "sliderPosition");
|
horizontalScroller = new QPropertyAnimation(horizontalScrollBar(), "sliderPosition");
|
||||||
|
connect(horizontalScroller,SIGNAL(valueChanged (const QVariant &)),this,SIGNAL(backgroundChanges()));
|
||||||
groupScroller = new QParallelAnimationGroup();
|
groupScroller = new QParallelAnimationGroup();
|
||||||
groupScroller->addAnimation(verticalScroller);
|
groupScroller->addAnimation(verticalScroller);
|
||||||
groupScroller->addAnimation(horizontalScroller);
|
groupScroller->addAnimation(horizontalScroller);
|
||||||
connect(groupScroller,SIGNAL(valueChanged (const QVariant &)),this,SIGNAL(backgroundChanges()));
|
|
||||||
|
|
||||||
notificationsLabel = new NotificationsLabelWidget(this);
|
notificationsLabel = new NotificationsLabelWidget(this);
|
||||||
notificationsLabel->hide();
|
notificationsLabel->hide();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user