- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 4
- Posts with Downvotes
- 2
- Downvoting Members
- 2
24 Posted Topics
Re: there is also Eric IDE if u use ubuntu it comes with Qt designer and it compile the Qt file to a python script | |
Re: i didn't use php for a long time but i guess if you put this code in line 20 would work it out if you mean with your question to change the empty name with 'spacer.png' if ($_FILES['photo']['name']!=""){$photoname=$_FILES['photo']['name'];} else {$photoname=$spacer;} | |
Re: duh it is windows i format mine once every month | |
Re: well am happy to tell you that the picture is not clear...at all | |
Re: does the style works well on maijor browsers ?? mozilla,chrom,opera....? | |
Re: all what i can say that use PyQt it is better i don't know whats your problem is but that what i can say :\ | |
| |
what QObject: Cannot create children for a parent that is in a different thread. (Parent is QTextDocument(0x905b660), parent's thread is QThread(0x8efc560), current thread is flooderthread(0x8efc548) error means ? and how to solve it?? | |
hey i have this error The debugged program raised the exception unhandled RuntimeError "underlying C/C++ object has been deleted" the code is: class qthread(QtCore.QThread): def __init__(self, x, y, z): self.x=x self.y=y self.z=z self.name="" self.m=hashlib.md5() def changeresultsig(self, text): self.emit(QtCore.SIGNAL("changeresult(text)"),text) def conssig(self, text): self.emit(QtCore.SIGNAL("cons(text)"), text) def enablesig(self): self.emit(QtCore.SIGNAL("enable(")) def disablesig(self): self.emit(QtCOre.SIGNAL("disable()")) def … | |
Re: yup also i would prefare to give a var the values then insert it in the database e.g: $firstname=$_POST['firstname']; $lastname=$_POST['last_name']; $phone=$_POST['phone']; $resolved=$_POST['resolved']; $knowledge=$_POST['knowledge']; $friendly=$_POST['friendly']; $quickness=$_POST['quickness']; $ref=$_POST['referral']; $comments=$_POST['comments']; $sql="INSERT INTO survey (first_name, last_name, phone, resolved, knowledge, friendly, quickness, referral, comments) VALUES ($firstname,$lastname,$phone,$resolved,$knowledge,$friendly,$quickness,$ref,$comments)"; | |
| |
Re: try this <script type="text/javascript"> function show(){ document.getElementById("1").innerHTML="<img src='http://example.come/image.jpg' />";} </script> <div id="1"><input type="button" value="click to show the image" onclick="show()" /></div> for more go to [w3schools](http://www.w3schools.com) | |
![]() | |
ok now lets say we have this code import hashlib,itertools,string m=hashlib.md5() s=string.printable it=itertools.product(s,repeat=1) for i in it: ij="".join(i) m.update(ij) print ij+" "+m.hexdigest() >> 0 cfcd208495d565ef66e7dff9f98764da 1 96a3be3cf272e017046d1b2674a52bd3 2 d2490f048dc3b77a457e3e450ab4eb38 3 eb62f6b9306db575c2d596b1279627a4 4 4100c4d44da9177247e44a5fc1546778 5 d6a9a933c8aafc51e55ac0662b6e4d4a 6 124bd1296bec0d9d93c7b52a71ad8d5b 7 2e9ec317e197819358fbc43afca7d837 8 22975d8a5ed1b91445f6c55ac121505b 9 781e5e245d69b566979b86e28d23f2c7 a 343817fa02440513ce03e9d1f1e44dc7 b b60c52bf4849067f0b57c8bd30985466 c 2d31d97199fb287d6fcb4f82ebd1b3f2 d … | |
hey all I've searched all over the web and i didn't get a solution! what should i do to take the text from the 'urlT' line edit? is there another way? Nameerror "global name 'self' is not defined" whats wrong with it? [CODE] from PyQt4 import QtCore, QtGui class Ui_MainWindow(object): … | |
Re: well i could say first it is better to import module in the start of the code and make sure the data in the file could be converted to int such as whitespaces and data to write to a file must be a string.. #the best way import os,sys f="test.txt" … | |
hey i heard that there is something called qt signals you can use it to change the GUI out side the main thread coz when i try to change it i get an error that i cant change the gui out of the main thread but i need it to … | |
Re: and where is the problem? it is sucha a big code!! O.o oh ma eyes! | |
Re: please show us the code to know where is the error! | |
well i have two questions: 1-hey i was wondering is there a library or namespace in c# for creating databases? like anydbm with python?or anyway to do it? 2-witch faster? getting data from huge database or getting it from like a huge database devided to multi database i mean witch … | |
hey i have this code when starting the Process to make database it freeze at all what should i do? # -*- coding: utf-8 -*- from PyQt4 import QtCore, QtGui import sys try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(400, … | |
sorry but i still cant understand what is different betweeen Thread and Process in c# what to use? | |
Re: i dnt kno where the problem is but if you want make py files to exe u could try [cx freeze](cx-freeze.sourceforge.net/) |
The End.