472,971 Members | 2,224 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,971 software developers and data experts.

Eclipse/PyQt/Eric4 question

Hi, this is actually goes to whoever is using Eclipse and Eric4, the
IDE that comes bundled with PyQt.
I was using Eclipse until i saw Eric4 and i started experiment with
it, very nice work.

Eric4 has a feature that actually reminds us the work of some
expensive IDEs, like Visual Studio, Delphi and the like: when you
compile your project, it checks to see if some .ui files (Qt Designer
form files) has changed and if so, it call pyuic.bat and compiles it
(or them) transparently so it then runs your program with latest form
changes.

In Eclipse, i have the luxury of double-click a .ui file and thus Qt
Designer opens and then design my forms there, but i cannot fing an
automatic way to accomplish the thing that eric4 does: e.x.
automatically compile changed .ui files when i hit F9. And it really a
loss of time to go to dos-prompt and do this manually.

Has anyone who work on Eclipse/PyDev and PyQt, found a way to do
this ??
Dec 13 '07 #1
6 4041
In Eclipse, i have the luxury of double-click a .ui file and thus Qt
Designer opens and then design my forms there, but i cannot fing an
automatic way to accomplish the thing that eric4 does: e.x.
automatically compile changed .ui files when i hit F9. And it really a
loss of time to go to dos-prompt and do this manually.

Has anyone who work on Eclipse/PyDev and PyQt, found a way to do
this ??

You can create a builder for calling an external program to do that on
builds (right-click project -properties Builders).

Another option is configuring an external program run --menu: run >
external tools open external tools dialog (and you can bind a
shortcut to rerun the last external tool launched).

Cheers,

Fabio
Dec 13 '07 #2
You can create a builder for calling an external program to do that on
builds (right-click project -properties Builders).

Another option is configuring an external program run --menu: run >
external tools open external tools dialog (and you can bind a
shortcut to rerun the last external tool launched).

Cheers,

Fabio

Hmmm...but this means that i am forced to do this for ALL .ui files on
the project, either changed or not and this can slow things down...
(pyuic.bat can run for one or for ALL .ui files)
The goal is to find a way to automatically do this only for the
changed ones, like eric does...

Anyway, thanks for the help!
Dec 13 '07 #3
>
Hmmm...but this means that i am forced to do this for ALL .ui files on
the project, either changed or not and this can slow things down...
(pyuic.bat can run for one or for ALL .ui files)
The goal is to find a way to automatically do this only for the
changed ones, like eric does...
When you do a new builder, you can make it be run only when a file is
changed, and you can select as arguments only receiving the files
changed (build_files)... take a look at the variables to specify as
arguments (you could also select 'python.exe' as the external program
and choose some python script as argument + the files changed).

The auto-build can be specified at the build options tab.

Cheers,

Fabio
Dec 13 '07 #4
On 14 Δεκ, 01:09, "Fabio Zadrozny" <fabi...@gmail.comwrote:
Hmmm...but this means that i am forced to do this for ALL .ui files on
the project, either changed or not and this can slow things down...
(pyuic.bat can run for one or for ALL .ui files)
The goal is to find a way to automatically do this only for the
changed ones, like eric does...

When you do a new builder, you can make it be run only when a file is
changed, and you can select as arguments only receiving the files
changed (build_files)... take a look at the variables to specify as
arguments (you could also select 'python.exe' as the external program
and choose some python script as argument + the files changed).

The auto-build can be specified at the build options tab.

Cheers,

Fabio
Axa! I didn't know (or better, i didn't experiment enough) this...So,
basically you tell me that this is possible on Eclipse! I will test it
at home on the afternoon, is sounds great!
Dec 14 '07 #5
On 14 Dez., 10:59, king kikapu <aboudou...@panafonet.grwrote:
On 14 Δεκ, 01:09, "Fabio Zadrozny" <fabi...@gmail.comwrote:


Hmmm...but this means that i am forced to do this for ALL .ui files on
the project, either changed or not and this can slow things down...
(pyuic.bat can run for one or for ALL .ui files)
The goal is to find a way to automatically do this only for the
changed ones, like eric does...
When you do a new builder, you can make it be run only when a file is
changed, and you can select as arguments only receiving the files
changed (build_files)... take a look at the variables to specify as
arguments (you could also select 'python.exe' as the external program
and choose some python script as argument + the files changed).
The auto-build can be specified at the build options tab.
Cheers,
Fabio

Axa! I didn't know (or better, i didn't experiment enough) this...So,
basically you tell me that this is possible on Eclipse! I will test it
at home on the afternoon, is sounds great!- Zitierten Text ausblenden -

- Zitierten Text anzeigen -
Hi -
in fact, you can do pretty much everything you have to do with pydev
in eclipse. Eclipse itself is very flexible, robust and intuitive.
pydev may be a touch too nervous, but is very supportive. It has a few
bugs, but none lethal. Only setback is that you have to pay a small
licence fee. Since I don't have a credit card, i had to switch to
eric4. Has more bugs, crashes more often and doesn't have as nice a
look-and-feel as eclipse. Loading upgrades for eric is a little bit
more complicated than in eclipse, which is extremely efficient.
Overall, eric is good enough for hobby programming where time doesn't
count as much (it's only your wife complaining, not your boss).

Regards
Bernhard
Dec 19 '07 #6
>
Hi -
in fact, you can do pretty much everything you have to do with pydev
in eclipse. Eclipse itself is very flexible, robust and intuitive.
pydev may be a touch too nervous, but is very supportive. It has a few
bugs, but none lethal. Only setback is that you have to pay a small
licence fee. Since I don't have a credit card, i had to switch to
eric4. Has more bugs, crashes more often and doesn't have as nice a
look-and-feel as eclipse. Loading upgrades for eric is a little bit
more complicated than in eclipse, which is extremely efficient.
Overall, eric is good enough for hobby programming where time doesn't
count as much (it's only your wife complaining, not your boss).

Actually, Pydev itself is open source: http://pydev.sourceforge.net/
-- You do have to pay for Pydev Extensions: http://fabioz.com/pydev/
but you can use Pydev by itself without any problems... (you can see
the difference between both at:
http://fabioz.com/pydev/manual_adv_features.html )

Cheers,

Fabio
Dec 20 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: Vamsi Mudrageda | last post by:
I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another...
8
by: simo | last post by:
OK, so I'm at the stage where I want to make a choice between wxPython and PyQt. Currently I'm using wxPython mainly due to the fact that it has GPL Linux and Windows versions. I prefer Qt to...
17
by: eholbroo | last post by:
I've narrowed down my toolkit selection for my project to wxPython and pyQt, and now i'd like to hear any opinions, war stories, peeves, etc, about them, particularly from anyone who's used...
29
by: seberino | last post by:
I'm trying to move beyond Emacs/Vim/Kate and was wondering if Eclipse is better and if it is the *best* IDE for Python. Should I leave Emacs and do Python coding in Eclipse? Chris
3
by: Phil Thompson | last post by:
Riverbank Computing is pleased to announce the release of PyQt v4.0beta1 available from http://www.riverbankcomputing.co.uk/pyqt/. PyQt is a comprehensive set of Qt bindings for the Python...
9
by: king kikapu | last post by:
Hi, this is actually a question to those of us who use Eclipse and Pydev as their main Python developing environment. As i use Eclipse (3.3 Europa) only for Python and i have nothing to do with...
9
by: cgrebeld | last post by:
Is it possible for a Qt C++ application, which embeds the python interpreter, to import and use PyQt? There can be only one QApplication, which is created in the C++ side, so how would I use that...
1
by: dusans | last post by:
Hi i took a look at eric4, its nice, cuz u have the script output and console in the same window, which is why i love pyscripter. Then i upgradet eric4 to newest version: eric4-4.0.4, it doesnt...
0
by: Steve Holden | last post by:
Saurabh Agrawal wrote: Unfortunately when a new release comes out package authors don't always rush to meet the demand for their software by providing a release for the new version. If the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
3
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.