![]() |
PyQT/QT Designer Test & Assisstance Needed
1 Attachment(s)
Hello folks!
So I've created this small UI for the upcoming NITDroid Installer, and I am actually familiarising myself more with QT and believe it or not, I didn't think it is that good! I generated the proper python layout from the .ui, and created the main.py which would execute the program itself, and everything works super sweet on my Windows PC, but running the main.py launches a rather disturbing result, graphical glitches everywhere, checkboxes out of scale, and the progressbar not appearing. Can somebody please guide me on what to do next? I have read all documentations here and in the wiki, and from what I got, it should be as simple as python main.py from Xterminal, but apparently, it isn't... |
Re: PyQT/QT Designer Test & Assisstance Needed
Run NITDroid-Installer.py on your PC, try to run it on your N900, and look at the BIG difference.
|
Re: PyQT/QT Designer Test & Assisstance Needed
bump........
|
Re: PyQT/QT Designer Test & Assisstance Needed
2 bumps in a time interval less than 1 hour? Really?
|
Re: PyQT/QT Designer Test & Assisstance Needed
Quote:
Yea I understand that this development stuff isn't browsed a lot... |
Re: PyQT/QT Designer Test & Assisstance Needed
IIRC there is no mobile-optimized Qt widget theme on Harmattan (N9), so some default (desktop ?) theme gets used, with horrible results due to the screen size.
I see basically two possible solutions:
|
Re: PyQT/QT Designer Test & Assisstance Needed
Quote:
|
Re: PyQT/QT Designer Test & Assisstance Needed
1 Attachment(s)
Some minor changes to the ui file.
|
Re: PyQT/QT Designer Test & Assisstance Needed
Quote:
|
Re: PyQT/QT Designer Test & Assisstance Needed
It looks ok with these values:
35)self.groupBox.setGeometry(QtCore.QRect(110, 170, 500, 150)) 38)self.checkBox.setGeometry(QtCore.QRect(0, 50, 220, 40)) 41)self.checkBox_2.setGeometry(QtCore.QRect(270, 50, 220, 40)) though you might wanna adjust them to your liking. |
All times are GMT. The time now is 21:12. |
vBulletin® Version 3.8.8