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

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

      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:

        1. Error_Ok_NotOk_AndroidSettings.png
          3 kB
          Alessandro Portale
        2. StatusDiagnosticConfiguration.png
          3 kB
          Alessandro Portale
        3. StatusProjectWizard.png
          1 kB
          Alessandro Portale
        4. WarningCmakeBuildConfiguration.png
          4 kB
          Alessandro Portale
        5. WarningQmakeBuildConfiguration.png
          4 kB
          Alessandro Portale
        6. StatusProjectWizardQDS.png
          2 kB
          Alessandro Portale
        7. tst_manual_widgets_infolabel.png
          43 kB
          Alessandro Portale
        8. tst_manual_widgets_infolabel@2x.png
          40 kB
          Alessandro Portale
        9. InfoLabelInProjectIntroPage.png
          21 kB
          Alessandro Portale
        10. InfoLabelInTestSettingsPage.png
          25 kB
          Alessandro Portale
        11. InfoLabelInCMakeBuildSettingsWidget.png
          16 kB
          Alessandro Portale
        12. InfoLabelInMcuSupportOptionsPage.png
          13 kB
          Alessandro Portale
        13. InfoLabelInDiagnosticConfigsWidget.png
          9 kB
          Alessandro Portale
        14. InfoLabelInAvdDialog.png
          19 kB
          Alessandro Portale
        15. InfoLabelInAndroidSdkManagerWidget.png
          18 kB
          Alessandro Portale
        16. InfoLabelInAndroidBuildApk.png
          16 kB
          Alessandro Portale
        17. InfoLabelInBuildDirectoryAspect.png
          10 kB
          Alessandro Portale
        18. InfoLabelInQtbuildaspectsCpp.png
          12 kB
          Alessandro Portale
        19. InfoLabelInAndroidSettingsWidget.png
          4 kB
          Alessandro Portale
        20. InfoLabelInCreateAndroidManifestWizard.png
          19 kB
          Alessandro Portale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved: