Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RPi 3
#7
(Mar-11-2019, 03:53 PM)snippsat Wrote:
pip install pyqt5-tools
İmage

Thanks for your help, i installed .
Quote:Then i can start it from anywhere with designer,as Python is in my Path.
C:\1
λ designer
İmage

I cant reached using this way, but i searched detailedly in site-packages path. Then I run successfully QT Designer, thanks again.

Quote:designer create .ui files that can be converted,or as in example under dynamically load the .ui files by using the uic in PyQt5.
from PyQt5 import uic, QtWidgets
import sys
 
class Ui(QtWidgets.QDialog):
    def __init__(self):
        super(Ui, self).__init__()
        uic.loadUi('SomeUi.ui', self)
        self.show()
 
if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)
    window = Ui()
    sys.exit(app.exec_()) 

I dont understand what you mean here. (I'm beginner about Python. This may be a reason)
Where should i apply this code ? I tried CMD and it gave ineffability.
İmage


Quote:I would have used Flask as web-UI and not GUI for this.
Look at this this post,where i link to some stuff with IoT and Flask
I have to access TCP/IP protocol so i should get data from HTTP. Actually, This is not possible with QT designer ? Also, I prefer gui because i should represent this data to user.
Reply


Messages In This Thread
RPi 3 - by bescf - Mar-06-2019, 01:53 PM
RE: RPi 3 - by Larz60+ - Mar-06-2019, 08:29 PM
RE: RPi 3 - by bescf - Mar-07-2019, 02:03 PM
RE: RPi 3 - by Larz60+ - Mar-07-2019, 05:16 PM
RE: RPi 3 - by bescf - Mar-11-2019, 03:07 PM
RE: RPi 3 - by snippsat - Mar-11-2019, 03:53 PM
RE: RPi 3 - by bescf - Mar-12-2019, 08:33 AM
RE: RPi 3 - by bescf - Mar-12-2019, 12:31 PM
RE: RPi 3 - by snippsat - Mar-12-2019, 01:39 PM
RE: RPi 3 - by bescf - Mar-13-2019, 12:35 PM
RE: RPi 3 - by snippsat - Mar-14-2019, 06:48 AM

Forum Jump:

User Panel Messages

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