473,597 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4076
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...@pan afonet.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
7746
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 GUI toolkit that is cross-platform for Python, and am leaning toward PyQt (PyGTK is kind of dull looking in comparison). Unfortunately, although TrollTech says Qt is cross-platform, its license strategy has me a bit confused. So here is to...
8
4845
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 wxWindows, but am confused with all the Windows licensing issues. For the moment this is just for my own tinkering and utility apps, but
17
11815
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 _both_toolkits_. I'm only mildly interested in the IDEs and UI designers for each, as i want to do as much as i can in just Xemacs and xterm. Feel free to rant, rave, pontificate, whatever. t.i.a., E
29
3640
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
2066
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 programming language and supports the same platforms as Qt (Windows, Linux and MacOS/X). Like Qt, PyQt is available under the GPL and a commercial license. PyQt v4 supports Qt v4 (http://www.trolltech.com/products/qt/index.html). PyQt v3 is still...
9
1479
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 Java, is there a way to disable/uninstall some Java-specific stuff and make the environment actually more snappy ?? thanks for any help
9
5496
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 from the python side?
1
2287
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 start, even when i installed the old version: The error massage is: Warning: translation file 'qt_en_US'could not be loaded. Using default. Warning: translation file 'eric4_en_US'could not be loaded. Using default.
0
284
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 download site doesn't specifically offer a 2.6-compatible version that's likely the problem here, sorry :( In the meantime take a look at WingIDE - there's a free or low-cost version that might meet your needs, and I'd be very surprised if they
0
7965
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8271
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8258
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3881
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3923
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2399
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1231
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.