Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-9

Change the naming convention for the Qt GUI Class template in VS integration

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 1.1.7
    • None
    • General
    • None
    • f8c9b1affedda58ef4f1f91f6ab962292dbe04ab

    Description

      It would be nice if the VS integration could create a more describing name for the uic generated classes.

      Using "Add Qt GUI Class" in the integration, the template will generate a class with the name %CLASS%Class.
      Ex: If i create a class CMyFileDialog with this, uic will create a CMyFileDialogClass that i can use to setupUi() my widget.

      My suggestion: use %CLASS%WidgetFactory instead (or shorter: %CLASS%Factory), so you get CMyFileDialogWidgetFactory (which is a name that actually gives a hint about what this class does)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes