Archaeopteryx Software, Inc.
Take Flight!Search

Home
Wing IDE
News
Support
About Us
Python
Open Source
Store

 Search:
 
 Advanced Search




[wingide-users] Using wingide with qtdesigner

John Ehresman jpe at wingide.com
25 Apr 2003 16:45:59 -0400


On Fri, 2003-04-25 at 15:13, Allen Bierbaum wrote:
> I would really like to be able to double click on a .ui file and have it 
> open in qt designer.

You're almost there, but Wing currently requires you to do this in 2
steps: first define a new mime type for .ui files and then define a
display command for that mime type.  To define a new mime type for .ui,
add the following to your preferences:

main.extra-mime-types = { 'ui': 'text/x-qt-designer' }

Then add the following to define the display command:

gui.file-display-cmds={ \
   'text/x-qt-designer': [ 'designer3 %s &', 'designer %s &' ], \
}

John







Run by Mailman v 2.0.8


Copyright (c) 2000-2002, Archaeopteryx Software, Inc.
Legal Statements