Commited QtDesigner stuff

Christian Couder chcouder at club-internet.fr
Tue Aug 15 17:23:23 UTC 2000


Reginald Stadlbauer wrote:
> 
> On Tue, 15 Aug 2000, you wrote:
> > Hi,
> >
> > I just commited a few improvements related to Qt Designer:
> >
> > _ In CKDevelop::switchToFile(QString filename, bool bForceReload,bool
> > bShowModifiedBox) I use KProcess to launch Qt Designer on .ui files.
> >
> > _ In CKDevInstall::slotAuto() I added Qt Designer as a tool, but it can
> > appear only if the tools are reinstalled. By the way, do you know an
> > easy way to reinstall only the tools ?
> >
> > _ In CKAppWizard::slotProcessExited() I added a new filter group for
> > User Interface .ui files. This group is shown in the LFV and Qt Designer
> > is launched when a ui file is clicked in the LFV.
> 
> Ok, I looked it it now. Would be cool if there would be a nice way to add .ui
> files (offer it in this template dialog).

Do you mean a kdevelop dialog that would open up when the .ui file is
saved in Qt Designer ?
This would perhaps be possible with stdin/stdout communication. It would
need Qt Designer to send something to stdout when a file is saved (like:
"File 'filepath' saved."). Could you add it ?

> Also I noticed that every time you
> click on a ui file it is opened again in the designer. That is for sure not
> what one wants, and it is a bug of the Qt Designer. I fixed that now, here is
> a patch against qt/tools/designer/designer/main.cpp for those interested:
> 
[...]
> 
> BTW: Tonight we will release a Qt 2.2.0beta2. This will unfortunately not
> include this patch as the packages are already done and freezed.

Ok, so perhaps we can add it to qt-copy (if it still exists) just after
it is updated with the new release.

Bye,
Christian.




More information about the KDevelop-devel mailing list