On 21 Apr 2012, at 11:25, ext [email protected] wrote: > When using the "new class" option, we have to type the base class > information. > > Unfortunately, this dialog box is modal, and when you forgot the exact > name of the base class, you have to cancel, lookup the name, and then > start over. > > Since we have auto-completion working on class names, why not using it > to allow completion on the base class name ? > > And since we would then know which file it is defined in, why not > #including that file name in the new class headers, so that the new > class would compile right out of the box (not the case now, except for > base classes) ? > > Even better, knowing the base class, we could properly auto-fill the > Type Information field, making creating a new class stupid errors > prone (am I the only one to sometimes forget to add the Q_OBJECT macro > when needed ?) > > Also useful would be : > - the automatic inclusion of a text message at the head of the new > files, typically the usual copyright & author's message ;
Tools > Options > C++ > File Naming > License template :) > - to allow "new class" on an existing file, allowing to add the new > class to selected file header and source, instead of helping bloat the > number of files in a project. > > Finally, total nirvana would be to have a list of virtual methods from > base(s) class show up and let the programmer select those that need > re-implementation, and hence copy their prototype in the header and > source files... > > Anyway, thank's for an already awesome piece of software ! > > Quentin > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator -- Eike Ziller Principal Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
