Commited QtDesigner stuff

Christian Couder chcouder at club-internet.fr
Wed Aug 16 05:42:06 UTC 2000


Reginald Stadlbauer a écrit :
> 
> On Tue, 15 Aug 2000, you wrote:
> > Reginald Stadlbauer a écrit :
> > > On Tue, 15 Aug 2000, you wrote:
> > > > 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 ?
> > >
> > > No, I meant just adding a ui file to a project. I couldn't find an easy
> > > way of doing that.
> >
> > Did you try the "Project/Add existing file" menu ?
> > It worked for me (well at least once out of 2 tries :-)
> 
> And how do you add a _new_ one.

You can choose Qt Designer in the "Tools" menu (it should appear if
kdevelop has reinstalled its tool) to create a new .ui file and then
save it in Qt Designer and then add it in kdevelop with "Project/Add
existing file".

> When I righclick in the Interfaces section I
> get this dialog which offers me templates for new files, but for course there
> is no .ui template.

Ok, I see, I will try to add an .ui template there.

Bye,
Christian.




More information about the KDevelop-devel mailing list