Skip to content

Smooth Scrolling support? #6

@ranenvious

Description

@ranenvious

Would it be feasible to add smooth scrolling? I took a peek at the dependencies and code and it looks like this program uses a QT scroll widget (at least that's what I'm assuming what it is because a lot of the names are things like Qscroll or QGraphicsView, etc.) which should have smooth scrolling built in from what I can tell online, but in mangareader it's still lock-stepped.

I haven't programmed with Qt before, but I glanced at some of your code for parts that seemed relevant and glanced at some documentation and I think it should be easy to add but I might be missing something. (again, zero experience with writing in Qt)

I looked at https://doc.qt.io/qt-5.15/qt.html#ApplicationAttribute-enum for all mentions of scrolling and found https://doc.qt.io/qt-5.15/qt.html#ScrollPhase-enum which, while I can't find any explanations for scrollphase online, looks like it might be for smooth scrolling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions