Hi
Well now that I know why it ignores me, I can move on :)
I asked in 3 forums and no one knows *anything* about those files so I assume 
it is not a much 
after sought feature and I am pretty sure time could be spend on stuff with 
more common appeal.
I am also on the design part so that´s why I tried this feature.
Thank you

-----Original Message-----
From: Hunger Tobias [mailto:[email protected]] 
Sent: 24. august 2015 15:46
To: Jonas Eriksen Hjortlund; '[email protected]'
Subject: Re: Form Templates are compiled into Qt Creator ?

Jonas,

I still want in the long term to have all wizards on the same infrastructure, I 
just am not sure that it is worth going through the trouble for this particular 
wizard anytime soon. There is already some code to handle the form files, but I 
am not sure how much work it is to move the form class wizard over to the new 
infrastructure and since it is doing some unique things it might not be worth 
the work involved. But I need to check that again, I don't remember the details 
of why I did not change that one yet:-)

Having the existing wizard use templates that are not hard-coded into some 
plugin is a mostly separate issue from that. But I will remove those unused 
templates for the time being. If somebody ends up making templates available in 
a more generic fashion (either in the old wizard or turning it into a Json 
wizard) we can still get them from git.

Best Regards,
Tobias

Tobias Hunger, Senior Software Engineer | The Qt Company

The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der 
Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

________________________________________
From: Jonas Eriksen Hjortlund <[email protected]>
Sent: Monday, August 24, 2015 15:33
To: Hunger Tobias; '[email protected]'
Subject: RE: Form Templates are compiled into Qt Creator ?

Hi Tobias
Thank you for answering.

So only way to add new template would compile a new version.

Having templates for dialogs are very handy. So each contains same elements etc.

However, since just adding an UI file to a project sort give the same, I do 
understand if you think adding support for forms templates to the json wizard 
is too much work for what it does.

At least now I can have peace of mind and not try to add via the files since it 
will never happens.

Thank you a lot.

-----Original Message-----
From: Hunger Tobias [mailto:[email protected]]
Sent: 24. august 2015 13:26
To: Jonas Eriksen Hjortlund; '[email protected]'
Subject: Re: Form Templates are compiled into Qt Creator ?


Hi Jonas,

I have been reworking quite a few of our wizards since Qt Creator 3.4, so I 
guess I killed the wizard that actually used those templates but forgot to 
remove the templates themselves. I'll fix that.

The Qt Designer Form Class is still a old-style wizard that has basically 
everything hard-coded in formclasswizard.cpp and related classes.

That wizard should also use new json wizard syntax eventually, but there are a 
few things in it that are unique and not yet possible in the json wizards, but 
I am not sure it is worth the trouble of enableing the form handling code that 
is used in that code in the json wizard. Why generalize something that is used 
exactly once?

Best Regards,
Tobias

Tobias Hunger, Senior Software Engineer | The Qt Company

The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der 
Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

________________________________________
From: [email protected] 
<[email protected]> on behalf of 
Jonas Eriksen Hjortlund <[email protected]>
Sent: Monday, August 24, 2015 09:41
To: '[email protected]'
Subject: [Qt-creator] Form Templates are compiled into Qt Creator ?

Hi

Win 7 (64bit), Qt 5.5. mingw, Qt Creator 3.4.2

The Dialog Templates shown
when Pressing File->New ->Qt ->Qt Designer Form Class Like 
Dialog_with_Buttons_Right

Those files seems to live in
Qt\Tools\QtCreator\share\qtcreator\designer\templates and Enumerated in 
templates.xml

But even if I delete the whole folder, it is still shown in Creator ?!
and that seems to explain why adding a new one is 100% ignored and never listed.

So my questions are:
Can I add a new Form Template somehow ?

Are the external files something that was never fully implemented  or why does 
it include them When it seems that Creator never loads them.

Thank you
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to