Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23346

UX: Create a comon error/warning/info label and use it in many places

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • None
    • None
    • All Other Issues
    • None

    Description

      We have a couple of places which implement the same thing in many different ways, with many different looks: A label with text and error/warning/info icon.
      Let's have a central one and use it everywhere.

      Some custom implementations:

      • Qmake build configuration:
      • CMake build configuration:
      • Android options:
      • Project Wizard:
      • Diagnostic Configuration:

      See the proposed Utils::InfoLabel in action:

      InfoLabel in @2x:

      Attachments

        1. InfoLabelInCreateAndroidManifestWizard.png
          19 kB
          Alessandro Portale
        2. InfoLabelInAndroidSettingsWidget.png
          4 kB
          Alessandro Portale
        3. InfoLabelInQtbuildaspectsCpp.png
          12 kB
          Alessandro Portale
        4. InfoLabelInBuildDirectoryAspect.png
          10 kB
          Alessandro Portale
        5. InfoLabelInAndroidBuildApk.png
          16 kB
          Alessandro Portale
        6. InfoLabelInAndroidSdkManagerWidget.png
          18 kB
          Alessandro Portale
        7. InfoLabelInAvdDialog.png
          19 kB
          Alessandro Portale
        8. InfoLabelInDiagnosticConfigsWidget.png
          9 kB
          Alessandro Portale
        9. InfoLabelInMcuSupportOptionsPage.png
          13 kB
          Alessandro Portale
        10. InfoLabelInCMakeBuildSettingsWidget.png
          16 kB
          Alessandro Portale
        11. InfoLabelInTestSettingsPage.png
          25 kB
          Alessandro Portale
        12. InfoLabelInProjectIntroPage.png
          21 kB
          Alessandro Portale
        13. tst_manual_widgets_infolabel@2x.png
          40 kB
          Alessandro Portale
        14. tst_manual_widgets_infolabel.png
          43 kB
          Alessandro Portale
        15. StatusProjectWizardQDS.png
          2 kB
          Alessandro Portale
        16. Error_Ok_NotOk_AndroidSettings.png
          3 kB
          Alessandro Portale
        17. StatusDiagnosticConfiguration.png
          3 kB
          Alessandro Portale
        18. StatusProjectWizard.png
          1 kB
          Alessandro Portale
        19. WarningCmakeBuildConfiguration.png
          4 kB
          Alessandro Portale
        20. WarningQmakeBuildConfiguration.png
          4 kB
          Alessandro Portale

        Issue Links

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

          Activity

            People

              portale Alessandro Portale
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: