[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] =?utf-8?q?pyqt4=2E10=2E4_QtGui=2EQFileDialog=2EgetOpenFile?= =?utf-8?q?Names_can_not_work_wel
From:       "shaohua199" <shaohua199 () aliyun ! com>
Date:       2014-04-29 9:28:18
Message-ID: 98aa8e5b-8799-4ba3-b6a4-1f339f3365ea () aliyun ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Hi,After I install the pyqt4.10.4 into the Anaconda1.9.2(python2.7.6), and run the \
following test script:import sys import os
from PyQt4 import QtGui
if __name__ == "__main__":
      app = QtGui.QApplication(sys.argv)

      filter_ = "Library File(*.lib *.l *.scs);;All File(*.*)"
      title = "Select files"
      lib_path_list = QtGui.QFileDialog.getOpenFileNames(None,  title,  os.getcwd(),  \
filter_)

      sys.exit(app.exec_())

Then, the dialog show, but can not display the file name, directory name normally, \
just like following picture:Could you tell me what reason it is, how can I fix this \
issue?Thank you very much!!Best wishes,Shaohua


[Attachment #7 (text/html)]

<div class="__aliyun_email_body_block"><div \
style="color:#333333;font-size:14px;font-family:Tahoma,Arial,STHeiti,SimSun;;">Hi,</div><div \
style="color:#333333;font-size:14px;font-family:Tahoma,Arial,STHeiti,SimSun;;"><br \
data-mce-bogus="1"></div><div \
style="color:#333333;font-size:14px;font-family:Tahoma,Arial,STHeiti,SimSun;;">After \
I install the pyqt4.10.4 into the Anaconda1.9.2(python2.7.6), and run the following \
test script:</div><div \
style="color:#333333;font-size:14px;font-family:Tahoma,Arial,STHeiti,SimSun;;"><br \
data-mce-bogus="1"></div><div \
style="color:#333333;font-size:14px;font-family:Tahoma,Arial,STHeiti,SimSun;;">import \
sys<br>import os<br>from PyQt4 import QtGui<br>if __name__ == "__main__":<br>&nbsp; \
&nbsp; app = QtGui.QApplication(sys.argv)<br><br>&nbsp; &nbsp; filter_ = "Library \
File(*.lib *.l *.scs);;All File(*.*)"<br>&nbsp; &nbsp; title = "Select \
files"<br>&nbsp; &nbsp; lib_path_list = \
QtGui.QFileDialog.getOpenFileNames(None,&nbsp;title,&nbsp;os.getcwd(),&nbsp;filter_)<br><br>&nbsp; \
&nbsp; sys.exit(app.exec_())</div><div class="__aliyun_signature_wrap"><br></div><div \
class="__aliyun_signature_wrap"><br></div><div class="__aliyun_signature_wrap">Then, \
the dialog show, but can not display the file name, directory name normally, just \
like following picture:</div><div class="__aliyun_signature_wrap"><img \
src="cid:__aliyun13987636988314331" alt="" class=" \
__aliyun_inline_attach_0"></div><div class="__aliyun_signature_wrap"><br \
data-mce-bogus="1"></div><div class="__aliyun_signature_wrap">Could you tell me what \
reason it is, how can I fix this issue?</div><div \
class="__aliyun_signature_wrap">Thank you very much!!</div><div \
class="__aliyun_signature_wrap"><br data-mce-bogus="1"></div><div \
class="__aliyun_signature_wrap">Best wishes,</div><div \
class="__aliyun_signature_wrap">Shaohua</div></div>


["=?UTF-8?B?dGVtcDRjai5wbmc=?=" (application/octet-stream)]
[Attachment #9 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic