[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] 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()

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 ap...@gmx.de 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 doing a simple chat

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 ap...@gmx.de 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 network stack

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 baz...@ftml.net 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.

[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?

[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ı yasar11...@gmail.com Tarih: 01 Temmuz 2011 12:07 Konu: Re: [PyQt] translation of ui Kime: Sebastian Wiesner lunary...@googlemail.com Thanks, appearantly I

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 lunary...@googlemail.comyazdı: 2011/7/1 Yaşar Arabacı yasar11...@gmail.com: Thanks, appearantly I also needed to create a .pro file for pylupdate to know which files to convert to. Alternatively you can

Re: [PyQt] Fwd: translation of ui

2011-07-01 Thread Yaşar Arabacı
()[0] + .qm): translator = QtCore.QTranslator(app) translator.load(getlocale()[0] + .qm, translations) app.installTranslator(translator) window = MainWindow() window.show() sys.exit(app.exec_()) 01 Temmuz 2011 12:37 tarihinde Yaşar Arabacı yasar11

[PyQt] Fwd: QFileDialog error

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

[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/qruN_W