[PyQt] Join my network on LinkedIn

2011-08-21 Thread Yaşar Arabacı via LinkedIn
LinkedIn Yaşar Arabacı requested to add you as a connection on LinkedIn: -- I'd like to add you to my professional network on LinkedIn. Accept invitation from Yaşar Arabacı http://www.linkedin.com/e/3fiogj-grmxlmc1-2n/q

[PyQt] Fwd: QFileDialog error

2011-07-22 Thread Yaşar Arabacı
-- Yönlendirilmiş ileti -- Kimden: Yaşar Arabacı Tarih: 23 Temmuz 2011 08:07 Konu: Re: [PyQt] QFileDialog error Kime: Martin Airs What happens when you assign it to its own string. Do you get error while assigning it to string or when using that string with file dialog? 2011

Re: [PyQt] Fwd: translation of ui

2011-07-01 Thread Yaşar Arabacı
ot;translations/" + getlocale()[0] + ".qm"): translator = QtCore.QTranslator(app) translator.load(getlocale()[0] + ".qm", "translations") app.installTranslator(translator) window = MainWindow() window.show() sys.exit(app.exe

Re: [PyQt] Fwd: translation of ui

2011-07-01 Thread Yaşar Arabacı
That works like a charm thanks :) 01 Temmuz 2011 12:17 tarihinde Sebastian Wiesner yazdı: > 2011/7/1 Yaşar Arabacı : > > Thanks, appearantly I also needed to create a .pro file for pylupdate to > > know which files to convert to. > > Alternatively you can specifiy the files

[PyQt] Fwd: translation of ui

2011-07-01 Thread Yaşar Arabacı
I accidentally mailed below message only to Sebastian, repostion to groups. -- Yönlendirilmiş ileti -- Kimden: Yaşar Arabacı Tarih: 01 Temmuz 2011 12:07 Konu: Re: [PyQt] translation of ui Kime: Sebastian Wiesner Thanks, appearantly I also needed to create a .pro file for

[PyQt] translation of ui

2011-07-01 Thread Yaşar Arabacı
Hi, I was wondering how can I generate translation file for a ui generated by QtDesigner. I have no early experience of using translations, so I can't figure it out how to make this work. Should I mark strings in my main module or does QtDesigner somehow provide it for me? ___

Re: [PyQt] QLineEdit vs. menu keyboard shortcuts

2011-06-30 Thread Yaşar Arabacı
Wow, I can't describe epicness of this :) Didn't know such thing existed :) 2011/7/1 Baz Walter > On 30/06/11 16:56, Nathan Weston wrote: > >> On 6/30/2011 10:44 AM, Nathan Weston wrote: >> >>> On 6/29/2011 6:16 PM, Baz Walter wrote: >>> >> I updated to the latest Qt/PyQt and it's working now. M

Re: [PyQt] QString, QTextEdit and Encoding problem

2011-06-28 Thread Yaşar Arabacı
Thanks. Appereantly package for my distro didn't include them so I downloaded original source files. 2011/6/28 Andreas Pakulat > On 28.06.11 08:37:06, Yaşar Arabacı wrote: > > Thanks for the info. Do you know any decent example, tutorial, documents > > etc. about qt netw

Re: [PyQt] QString, QTextEdit and Encoding problem

2011-06-27 Thread Yaşar Arabacı
Thanks for the info. Do you know any decent example, tutorial, documents etc. about qt network stack? 2011/6/28 Andreas Pakulat > On 28.06.11 06:26:24, Yaşar Arabacı wrote: > > Hi, > > > > I am havin an encoding problem. If you have read my earlier post, I was &g

[PyQt] QString, QTextEdit and Encoding problem

2011-06-27 Thread Yaşar Arabacı
Hi, I am havin an encoding problem. If you have read my earlier post, I was doing a simple chat application. Here is how it goes. === Client Class === def on_lineEdit_returnPressed(self): text= self.ui.lineEdit.text() self.ui.lineEdit.selectAll() self.ui.lineEdit.cut()

[PyQt] safely closing QThread when application exits.

2011-06-27 Thread Yaşar Arabacı
hi, I am pyqt beginner and followed tutorials on the internet to learn it until recently. Then I have wanted to develop my own application. I am developing a simple chat application. I want to have 2 windows running independently (in other words two separate applications), one for server and one

[PyQt] Image doesn't show up

2011-06-24 Thread Yaşar Arabacı
Hi, I am beginning to learn PyQt, I am sorry if this is a bit newbie question but I can't make QIcon work. For example in here; #!/usr/bin/python # menubar.py import sys from PyQt4 import QtGui, QtCore class MainWindow(QtGui.QMainWindow): def __init__(self): QtGui.QMainWindow.__init