← Back to team overview

qpdfview team mailing list archive

Re: [Question #682587]: Remove or change colour of window border?

 

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

    Status: Open => Answered

Adam Reichold proposed the following answer:
Hello Luke,

ad 1.: The idea is to put the style sheet itself into the configuration
file as a string, not as a file path that is loaded by the application.
(QSettings which reads that configuration file does support multiline
string literals.)

ad 2.: You find the section called "[mainWindow]" in qpdfview.conf and
add a key with an inline style sheet "styleSheet = "QMainWindow {...}"
directly there.

ad 3.: I guess from the source code is actually the easiest option. But
if you want to inspect the UI elements at the runtime, I only know
KDAB's GammaRay tool: https://doc.qt.io/GammaRay/index.html

Best regards,
Adam.

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