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

    Join Date
    Nov 2013
    Posts
    1
    Rep Power
    0

    Question Python programming project and I need HELP! PyQt + MySQLdb


    I really need help. I have this project and everything is going wrong.
    First I need to connect all dialog windows to the mainwindow.
    I'm trying but there are two problems: 1- the icons are not showing their images (but they appear when not trying to connect them) 2 - When I click the button that links to the dialog, an error is raised:
    line in my code = Dialog.setObjectName(_fromUtf8("Dialog"))
    the error: "Type Error: Q.Object.setObjectName(QString): first argument of unbound method must have type 'QObject' ".

    can someone help me?
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,837
    Rep Power
    480
    Doh! The square root of 4 is 2 not 3.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo