This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 156762 - New wizards for Qt projects and files
Summary: New wizards for Qt projects and files
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: jrojcek
URL: http://wiki.netbeans.org/CND70UIChanges
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-14 11:11 UTC by Alexey Vladykin
Modified: 2009-02-19 20:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Vladykin 2009-01-14 11:11:57 UTC
Please review the addition of "New Project" and "New File" wizards related to Qt support. This involves adding new file
category. See sections "New project types" and "New file types" at http://wiki.netbeans.org/CND70UIChanges.
Note: "New C/C++ Qt Application" wizard is already approved.
Comment 1 jrojcek 2009-01-15 09:32:51 UTC
The changes seem good to me.

I've updated the New File Wizard spec:
http://wiki.netbeans.org/NewFileWizard#section-NewFileWizard-QtApplicationLibrary

And the New Project Wizard spec:
http://wiki.netbeans.org/NewProjectWizard

I assume the Qt Files folder would only show up in the Qt Application and Library projects (not in regular C/C++ project). Correct?

I also suggest to remove the word "Files" from the names of categories in the New File wizard. The Files word doesn't give any information, just clutters the list of 
categories. Without it, the categories would be like this:
---
C
C++
Qt
Assembler
Fortran
Shell Script
Makefiles
---

Please let me know if you're okay with such change.

I expect the Qt file templates would show up by default in the New > contextual menu on Qt projects. If that's correct, than you should also provide a spec for the Qt 
project contextual menu that would go into this permanent UI spec:
http://wiki.netbeans.org/ProjectContextualMenus

Keeping the review open for now.
Comment 2 Alexey Vladykin 2009-01-15 12:41:23 UTC
"Qt Files" folder should show up in all types of C/C++ projects, not only in Qt Application and Qt Library.

I'm OK to rename the categories and remove word "Files". It will be consistent with other NetBeans modules.

"New >" contextual menu on Qt projects (application/library) should have four additional items at the beginning:
- Main C++ file for Qt application
- Qt Form
- Qt Resource
- Qt Translation
Is new IZ needed for this change?

Thank you for suggestions.
Comment 3 jrojcek 2009-01-15 14:54:58 UTC
I've removed "Files" word from category names:
http://wiki.netbeans.org/NewFileWizard#section-NewFileWizard-QtApplicationLibrary

I've added Qt file items into the Qt Application and Library projects' New> contextual menu:
http://wiki.netbeans.org/ProjectContextualMenus#section-ProjectContextualMenus-CCQtApplicationLibrary
Comment 4 Quality Engineering 2009-01-16 07:25:39 UTC
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1c04a07e425e
User: jrojcek@netbeans.org
Log: #156762 - New wizards for Qt projects and files

Adding "C/C+ Qt Library" into the permanent UI spec.
Comment 5 Quality Engineering 2009-01-17 06:55:02 UTC
Integrated into 'main-golden', will be available in build *200901170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/41d4f437071c
User: Alexey Vladykin <alexey_vladykin@netbeans.org>
Log: Qt-related UI changes (UI review IZ #156762)
Comment 6 Alexey Vladykin 2009-01-19 12:04:31 UTC
I reopen this request because "C/C++ Qt Library" should be split in two:
C/C++ Qt Dynamic Library
C/C++ Qt Static Library

It will be more consistent with non-Qt C/C++ library project types than the original idea.
Could you please update the spec once again? Thanks!
Comment 7 jrojcek 2009-01-19 13:54:55 UTC
The change is okay. I updated the spec.
http://wiki.netbeans.org/NewProjectWizard

Additional notes...

How about calling those projects just:

Qt Application
Qt Dynamic Library
Qt Static Library

I assume it's clear the Qt projects are C/C++ based. Or not? It would be easier to scan the list and find what the user needs.

Comment 8 Alexey Vladykin 2009-01-19 14:22:05 UTC
There exist Qt bindings for many languages including Java, Python and C#. So it makes sense to have C/C++ in project type.
Comment 9 Quality Engineering 2009-01-20 07:32:26 UTC
Integrated into 'main-golden', will be available in build *200901200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ec3761a522b7
User: jrojcek@netbeans.org
Log: #156762 - New wizards for Qt projects and files

Splitting Qt library template into Dynamic and Static Library projects.
Comment 10 jrojcek 2009-01-20 08:46:06 UTC
In that case closing as fixed.