Thread: PyQt5

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2017
    Location
    Near Wagga Wagga
    Posts
    3
    Rep Power
    0

    PyQt5


    Hi all. I've sort of got my head around Tkinter and managed to build a gui that accepts values, saves them to a SQLite3 database, manipulates the data then present it in the same gui. I decided to try to do the same thing with PyQt5 as I thought it would be interesting to see if I could then convert it to an Android app. The only tutorials that I've found so far have either returned the data in a pop-up window or on the console. Can someone please direct me to a tutorial or other information that can help me please.

    I realise that this might be a pretty dumb question, but it is really bugging me at this time.
  2. #2
  3. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Posts
    5,974
    Rep Power
    510
    I'd like to learn qt as well. Thanks. And congratulations Bushranger!
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2017
    Location
    Near Wagga Wagga
    Posts
    3
    Rep Power
    0
    Ok, found the answer. I'm amazed that about 4 weeks ago, I had absolutely no idea of how to write a gui.
  6. #4
  7. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Posts
    5,974
    Rep Power
    510
    Thanks for sharing the answer.
    [code]Code tags[/code] are essential for python code and Makefiles!
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2017
    Location
    Near Wagga Wagga
    Posts
    3
    Rep Power
    0
    Sorry, should have said how. I used the .setText function to set the value of the label. I realise that it's pretty obvious, but it took me a fair while to figure it out.

IMN logo majestic logo threadwatch logo seochat tools logo