Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: OutOfReach ; Forum: Python and child forums
Forum: Python Nov 8th, 2008
Replies: 4
Views: 985
Posted By OutOfReach
sort() did sort out the dict, but not in the correct order.
So unfortunately, I am forced to use a list which works nicely. :/
Forum: Python Nov 8th, 2008
Replies: 4
Views: 985
Posted By OutOfReach
I am creating a tetris-like game. I have decided to use coordinates (x,y) along with a dictionary. Here is a part of the dictionary:

gameTable =...
Forum: Python Sep 13th, 2008
Replies: 2
Views: 477
Posted By OutOfReach
Here, I fixed it up for you...It errored up because you had some braces and colons ( : )missing.

print"Simple Calculator"
def menu():
print"-------------------------------------------------"...
Forum: Python Sep 12th, 2008
Replies: 0
Views: 436
Posted By OutOfReach
Is there any way to get stock icons with PyQt4?
Forum: Python Sep 6th, 2008
Replies: 1
Views: 408
Posted By OutOfReach
Gah! Ok I'm sorry guys, I got it.
Turns out that the string I wanted to join was a QString. Meh ok anyway I fixed it. :)
Forum: Python Sep 6th, 2008
Replies: 1
Views: 408
Posted By OutOfReach
Ok I'm making a program in PyQt and when I call
os.path.join("~/", "otherdirectory")
It gives me:
File '/usr/lib/python2.5/posixpath.py', Line 62, in join:
elif path == ' ' or...
Forum: Python Aug 30th, 2008
Replies: 5
Views: 627
Posted By OutOfReach
Ahh! Man your a lifesaver! You just saved me from hours and hours of frustration! I cannot thank you enough!! :)
Forum: Python Aug 28th, 2008
Replies: 5
Views: 627
Posted By OutOfReach
Hmm well it turned out a little harder than I was expecting, I am using a QListWidget, I am trying to search for items in the list, but I have a problem, I plan on clearing the list and showing the...
Forum: Python Aug 28th, 2008
Replies: 5
Views: 627
Posted By OutOfReach
Ok, so I'll have to do it manually, should be easy.
Thank you :)
Forum: Python Aug 27th, 2008
Replies: 5
Views: 627
Posted By OutOfReach
Ok I'll get straight to the point, how can a create a search box? You know, you type something in and it filters out the ones that don't match. Is there a special widget for this? Or would I have to...
Forum: Python Aug 22nd, 2008
Replies: 7
Solved: PyQt
Views: 2,345
Posted By OutOfReach
I am dumb.
It was right there infront of my eyes!
Thank you! :)
Forum: Python Aug 22nd, 2008
Replies: 7
Solved: PyQt
Views: 2,345
Posted By OutOfReach
I don't really understand :|
I tried that with a layout but it didn't work :$
Forum: Python Aug 22nd, 2008
Replies: 3
Views: 1,822
Posted By OutOfReach
First, import the os module:
import os

Then check if the path exists:

if os.path.exists(MY_PATH_HERE):
#Do something...
else:
#Throw an error
Forum: Python Aug 22nd, 2008
Replies: 7
Solved: PyQt
Views: 2,345
Posted By OutOfReach
That works for one widget, but what I am trying to achieve is to add multiple widgets to the same tab.
Forum: Python Aug 21st, 2008
Replies: 7
Solved: PyQt
Views: 2,345
Posted By OutOfReach
Yes I am using classes, here is some more information:
Here is a snippet of the code that I am having trouble with:
import sys
import os
from PyQt4.QtCore import *
from PyQt4.QtGui import *
...
Forum: Python Aug 21st, 2008
Replies: 7
Solved: PyQt
Views: 2,345
Posted By OutOfReach
Hello guys.
I am having trouble with QTabWidget:
I can't add multiple widgets with addTab nor insertTab.
even when I try something like:

self.widget1 = QListWidget()
self.widget2 =...
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC