Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Saving file to html or pdf stopped working in PyQt6
Post: RE: Saving file to html or pdf stopped working in ...

(Mar-12-2024, 05:24 PM)deanhystad Wrote: printer.setPageMargins(5, 5, 5, 5, QPrinter.Millimeters)I'm not sure about the units for the margins. 5mm is a bit small but 5 Inch is way too big. Thanks f...
ejKDE GUI 4 682 Mar-12-2024, 07:45 PM
    Thread: Saving file to html or pdf stopped working in PyQt6
Post: RE: Saving file to html or pdf stopped working in ...

(Mar-12-2024, 03:28 PM)deanhystad Wrote: Why not this? def export_html1(self, tableV, file_path): with open(file_path, "w") as file: file.write(self.formHTML(tableV)) Thank you, this wor...
ejKDE GUI 4 682 Mar-12-2024, 05:10 PM
    Thread: Saving file to html or pdf stopped working in PyQt6
Post: Saving file to html or pdf stopped working in PyQt...

I'm currently trying to port PyQt5 to PyQt6 piece by piece. Functions that use html whether to save as html or pdf don't work and i couldn't find any information on the changes https://doc.qt.io/qt-6 ...
ejKDE GUI 4 682 Mar-12-2024, 02:25 PM
    Thread: Explanation of code
Post: RE: Explanation of code

Ok, thank you!
ejKDE General Coding Help 4 448 Feb-26-2024, 02:50 PM
    Thread: Explanation of code
Post: RE: Explanation of code

Thank you. So if i understood correctly, YoutubeDL looks at ydl_opts, sees format in 'format': format_selector and is sending all of the format related things to format_selector function even though f...
ejKDE General Coding Help 4 448 Feb-26-2024, 02:41 PM
    Thread: Explanation of code
Post: Explanation of code

Here's an example of the code. I'd like to know what ctx is here. It's not passed anywhere to a function and i can't use get('formats')[::-1] without this function. How does it work and called? impor...
ejKDE General Coding Help 4 448 Feb-26-2024, 10:16 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020