← Back to team overview

qpdfview team mailing list archive

Re: [Question #661484]: Qt Stylesheet, etc

 

Question #661484 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/661484

    Status: Open => Answered

Adam Reichold proposed the following answer:
Hello Oli,

I am glad if you find the application useful. Concerning you questions:

ad 1: This seems to be a limitation in parsing strings using
QKeySequence, but you should be able to accomplish this by manually
editing ~/.config/qpdfview/shortcuts.conf and setting the desired key to
";", meaning e.g. moveUp=";" including the quotes.

ad 2: Everything that is possible should be described at [1], but I
think scroll bar visibility which is governed by a dynamic policy can
only be controlled via C++ code.

ad 3: I am not sure this is currently possible with plain Qt Widgets,
i.e. it would need to be implemented in qpdfview itself or using a
third-party library.

ad 4: Have a look at the RenderFlags type and the implementation of the
method RenderTask::run where the currently supported effects like
trimming margins or blending the paper color are implemented. It should
be reasonable simple to extend these but if you have any questions, feel
free to ask here or on the mailing list.

Best regards, Adam.

[1] https://doc.qt.io/qt-5/stylesheet-reference.html

-- 
You received this question notification because your team qpdfview is an
answer contact for qpdfview.