[Qt-creator] Suggestion
Kuiper, Luuk
kuiper at hitt.nl
Tue Jan 27 08:57:12 CET 2009
Hello all,
I would like to propose a third grouping option.
We have organized the software for one executable in functional parts,
where all sources belonging to the same functionality is grouped in one
directory.
I would like to see the directory structure back in the file overview.
Best regards,
Luuk Kuiper
-----Original Message-----
From: qt-creator-bounces at trolltech.com
[mailto:qt-creator-bounces at trolltech.com] On Behalf Of Yves Bailly
Sent: 26 January 2009 14:45
To: qt-creator at trolltech.com
Subject: [Qt-creator] Suggestion
Hello all,
Here's a feedback after having completed a small project using QtCreator
(assuming a project is ever finished, of course).
General feeling: very, very (very, very) positive.
But... because there's always a "but"...
This project contains 7 forms, 28 headers, 29 source files. On a
day-to-day usage, the proposed flat view of files is not really adequate
when you have many files, even though it is sometimes handy. Some
grouping would be quite nice to have.
Let me suggest some possible groupings.
1- The classic grouping, by file type:
my_project
\- my_project.pro
|- Headers
| \- first_dialog.h
| |- second_dialog.h
| |- some_class.h
|- Sources
| \- first_dialog.cpp
| |- second_dialog.cpp
| |- some_class.cpp
| |- main.cpp
|- Forms
| \- first_dialog.ui
| |- second_dialog.ui
|- Resources
\- first_resource.qrc
|- second_resource.qrc
2- As shown here, I mostly name my files using the class name then
adding .h or .cpp according if it's a header or a source file. If
two files are detected, such as "my_file.h" and "my_file.cpp", they
could be grouped. Maybe even group with them the form file. Thus
the previous tree would be shown like this:
my_project
\- my_project.pro
|- first_dialog
| \- header (first_dialog.h)
| |- source (first_dialog.cpp)
| |- form (first_dialog.ui)
|- second_dialog
| \- header (second_dialog.h)
| |- source (second_dialog.cpp)
| |- form (second_dialog.ui)
|- some_class
| \- header (some_class.h)
| |- source (some_class.cpp)
|- Other sources
| \- main.cpp
|- Resources
\- first_resource.qrc
|- second_resource.qrc
Well, you get the idea: to be able to see only some of your files, to
reduce the visual searching in the list to find a given file.
But maybe this can be done by creating a plugin, maybe I should have a
look at *how* to create a plugin for QtCreator... ;-)
Regards,
--
/- Yves Bailly - Software developper -\
\- Sescoi France http://www.sescoi.fr -/ "The possible is done. The
impossible is being done. For miracles, thanks to allow a little delay."
_______________________________________________
Qt-creator mailing list
Qt-creator at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list