Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: problems with label
Post: problems with label

Hello Have problem with label, trying to show label from another file but so far no luck. here is the code: main.py class mainWindow(QtGui.QWidget):     def __init__(self):                  super(m...
swipis GUI 0 3,304 Dec-19-2016, 09:01 PM
    Thread: cant import progress bar from another py file
Post: RE: cant import progress bar from another py file

(Dec-18-2016, 10:23 AM)Yoriz Wrote: So its not a progress bar its a dial gauge, your code look very similar to the code at http://stackoverflow.com/questions/12011...een-yellow but with bits missing...
swipis GUI 7 8,595 Dec-18-2016, 10:41 AM
  Star Thread: cant import progress bar from another py file
Post: RE: cant import progress bar from another py file

I think I figured out why it is not drawing. In main.py file I set a grid (self.grid = QtGui.QGridLayout(self) and then self.grid.addWidget(self.myprogressbar, 1, 0)) and now my progress bar is on scr...
swipis GUI 7 8,595 Dec-18-2016, 10:05 AM
    Thread: cant import progress bar from another py file
Post: RE: cant import progress bar from another py file

(Dec-18-2016, 01:34 AM)Yoriz Wrote: Why don't you use the pyqt built in progress bar? On this page zetcode PyQt4 widgets scroll down to QtGui.QProgressBar to see an example of how to use it. Because...
swipis GUI 7 8,595 Dec-18-2016, 08:19 AM
    Thread: cant import progress bar from another py file
Post: RE: cant import progress bar from another py file

(Dec-17-2016, 10:08 PM)Yoriz Wrote: What is wrong, does the file get imported ok ?, Do you get an error traceback? if so please show it, Does it run with no error but not do what you expect it to do...
swipis GUI 7 8,595 Dec-17-2016, 10:57 PM
    Thread: cant import progress bar from another py file
Post: cant import progress bar from another py file

Hello First Im new in python and pyqt. I found progress bar py file on the internet and to use this file I should to import to main py file, so I did: add __init__.py file to src folder as well in roo...
swipis GUI 7 8,595 Dec-17-2016, 08:57 PM

User Panel Messages

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