Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Sorting numerical values provided by QAbstractTableModel
Post: Sorting numerical values provided by QAbstractTabl...

Hi, I have subclassed QAbstractTableModel, and overwrote its data method like this: def data(self, index, role): if role == Qt.ItemDataRole.DisplayRole: value = self._daten.il...
BigMan General Coding Help 0 1,379 Jun-04-2022, 12:32 AM
    Thread: QAbstractTableModel: Indexing a list of dictionaries
Post: QAbstractTableModel: Indexing a list of dictionari...

Hi, I have a list of dictionaires. Something like that: addressbook = [] address_1 = {"city": "Berlin", street": "Alexanderplatz"} address_2 = {"city": "Munich", street": "Stachus"} ... addressbook....
BigMan GUI 1 1,974 May-15-2022, 03:48 AM
  Thumbs Up Thread: [solved] How to display a pdf-file in a PyQt6 widget
Post: RE: How to display a pdf-file in a PyQt6 widget

@Axel from Erfurt: Thanks a lot for the code! I read many times before about the option to do it with the QWebEngineView ... put it always looked so complicated and scared me (I also believe, the exam...
BigMan GUI 13 16,281 Mar-26-2022, 12:09 AM
    Thread: [solved] How to display a pdf-file in a PyQt6 widget
Post: RE: How to display a pdf-file in a PyQt6 widget

(Mar-25-2022, 11:54 AM)Larz60+ Wrote: Just an FYI: PyCharm Wrote:By default, PyCharm uses pip to manage project packages. For Conda environments you can use the conda package manager. In PyCharm, y...
BigMan GUI 13 16,281 Mar-26-2022, 12:07 AM
    Thread: [solved] How to display a pdf-file in a PyQt6 widget
Post: RE: How to display a pdf-file in a PyQt6 widget

(Mar-25-2022, 03:26 AM)Larz60+ Wrote: see: https://www.kdab.com/browse-pdfs-in-a-qt...plication/ I highly appreciate your reply. The "kdab"-Link is already known to me ... and I failed to use it in ...
BigMan GUI 13 16,281 Mar-25-2022, 04:37 AM
    Thread: [solved] How to display a pdf-file in a PyQt6 widget
Post: [solved] How to display a pdf-file in a PyQt6 widg...

Hello, The problem I would like to display a pdf-file in a widget. That widget is part of a layout. Since the pdf files can contain more than one page, it would be great if I can also turn pages. I h...
BigMan GUI 13 16,281 Mar-25-2022, 12:25 AM
    Thread: [Solved] Novice question to OOP: can a method of class A access attributes of class B
Post: [Solved] Novice question to OOP: can a method of c...

I am lacking basic knowledge of Object Oriented Programming. The situation Let's assume within a main function I have created two instances. One based on class A, the other one based on class B. Clas...
BigMan General Coding Help 1 1,328 Mar-14-2022, 11:03 PM
    Thread: [Solved] Retrieving a pdf from sqlite3
Post: RE: Retrieving a pdf from sqlite3

(Mar-12-2022, 07:28 AM)Gribouillis Wrote: Have you tried the solutions from this page? for example setting conn.text_factory = bytes Holly sh****, this single addiional line (con.text_factory = byte...
BigMan General Coding Help 4 2,356 Mar-12-2022, 07:46 AM
    Thread: [Solved] Retrieving a pdf from sqlite3
Post: [Solved] Retrieving a pdf from sqlite3

What I am trying to do pdf files are stored in my sqlite3 database as blobs. I want to select one specific pdf file and save it as a file. That's my python error message: sqlite3.OperationalError: Co...
BigMan General Coding Help 4 2,356 Mar-12-2022, 05:14 AM
    Thread: How to install my Python application as an Arch Linux Program
Post: How to install my Python application as an Arch Li...

Hi, currently I start my self-written Python application on my Arch Linux Desktop from the terminal like this: $ python <path to .py file> But I would prefer to have my Python applicaion i...
BigMan General Coding Help 1 4,197 Apr-11-2017, 09:39 AM
    Thread: List-Elements as instances of a class
Post: RE: List-Elements as instances of a class

it works! Thank you! Thank you! Thank you! Thank you! Thank you!
BigMan General Coding Help 3 4,322 Mar-25-2017, 02:32 PM
    Thread: List-Elements as instances of a class
Post: List-Elements as instances of a class

Hi, in my Python-Script have a class. Based on that class, several instances should be generated. But because I do not know how many instances I need when the code is executed, I want to use a list: ...
BigMan General Coding Help 3 4,322 Mar-25-2017, 02:07 PM
    Thread: Programming like a pro: tools for software planning
Post: Programming like a pro: tools for software plannin...

Hi, in the past I used Python mainly for some small applications (all for private purposes). Now I have something bigger in mind (a kind of home-automation) and I would like to do it a bit more profe...
BigMan General Coding Help 1 2,800 Mar-19-2017, 08:17 AM
    Thread: Selecting lines in a list
Post: Selecting lines in a list

Hi, I am a newbie to Python Gui Development ... and also new to this forum **smile**   At the moment I am writing a Python application with the help of the module PySide (so I was a bit astonished no...
BigMan GUI 0 2,827 Jan-05-2017, 04:27 PM

User Panel Messages

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