Hey,
I found a solution! I've created the thread in the main:
if __name__ == __main__:
qApp = QtGui.QApplication([ ])
aw = ApplicationWindow()
aw.showMaximized()
thread = AThread()
sys.exit(qApp.exec_())
But I run thread.start() only when clicking on my button. I'll try to
Suppose I have a long file name such as C:\Users\Public\Videos\Sample
Videos\Wildlife.wmv that I want to display on a button but there isn't
enough room to display the entire name. I want to compact it down to,
say, C:\Users\...\Wildlife.wmv. I'm pretty sure that I've seen a
method somwhere
Am Mittwoch, 16. Januar 2013, 09:54:43 schrieb Timothy W. Grove:
Suppose I have a long file name such as C:\Users\Public\Videos\Sample
Videos\Wildlife.wmv that I want to display on a button but there isn't
enough room to display the entire name. I want to compact it down to,
say,
I know what you mean about not only if it's working, I work for a
meteorology department at a University, it happens.
Your solution will work, but did you try my solution? Or did mine not
make sense? It might just be me, but most programmers look down on
global variables. Your solution