conveniently
adjusted too.
Thanks again, Janwillem
On 10/31/2011 10:19 AM, Vincent Vande Vyvre wrote:
Le 31/10/11 10:07, Vincent Vande Vyvre a écrit :
Le 31/10/11 09:32, Matteo Boscolo a écrit :
Try this after instantiate the application:
app.setQuitOnLastWindowClosed(False)
and this after closing
from a ubuntu user???
cheers, Janwillem
Matteo Boscolo wrote:
>
> with this configuration
> Python 2.6.6
> PyQt4 4.7.3
> open dialog
> dialog finished
> C:\Users\mboscolo\Documents\.bzr.log
> finished
>
> it works perfectly .. after press the opendialog the form is cl
I want a small script with just a few filedialogs not a full blown gui
application . However when I try the code below the dialog does not
disappear after clicking the Open button on the dialog but stays on top
until the script exits. What am I doing wrong??
Thanks, Janwillem
def open_files
ir=default_dir,
multiple=True)
return list(filenames)
if __name__ == '__main__':
print('open dialog')
lst = open_files()
print('dialog finished')
for fname in lst:
print(fname)
On 05/27/2011 10:53 AM, Wilbert Berendsen wrote:
Op woensdag 11
Is there for opening a file in a non-qui script a PqQt4 equivalent for
the TkInter based function below?
def open_files(starting_dir):
"""Returns list of filenames+paths given starting dir"""
import Tkinter
import tkFileDialog
root = Tkinter.Tk()
root.withdraw() # Hide root
On 12/23/2010 07:00 PM, mw wrote:
hope this helps.
written on python 2.7 with pyqt 4.8.1 on WinXP
On Thu, Dec 23, 2010 at 6:14 AM, Janwillem van Dijk
mailto:jwevand...@xs4all.nl>> wrote:
I have small application build with Eric/Qt Designer. Even for
somebody like me who do
piece of example code.
Many thanks, Janwillem
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 11/24/2010 07:29 PM, Wolfgang Rohdewald wrote:
On Mittwoch 24 November 2010, Janwillem van Dijk wrote:
When I run the script from
Eric4 or directly from a terminal with "python scriptname.py"
all is OK. However I want to run it as a subprocess and than
the special chars gener
On 11/24/2010 10:04 AM, Yao Ko wrote:
On Wed, Nov 24, 2010 at 12:58 AM, Janwillem van Dijk
wrote:
I have a small application that displays a tree structure using ete2
(http://ete.cgenomics.org/). The node names are unicode and contain in
particular German and French special chars. When I
However I want to run it as a subprocess and than the special chars
generate errors:
import subprocess
arg =['python', script_path_name]
p = subprocess.Popen(arg)
Why and how to get it right.
Thanks,
Janwillem
___
PyQt
sure 'QTextBlock' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QTextCursor'
(Make sure 'QTextCursor' is registered using qRegisterMetaType().)
Many thanks for helping me out,
Janwillem
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
11 matches
Mail list logo