Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved]Back icon button when disabled ?
Forum Updated to NodeBB v4.3 + New Features

[Solved]Back icon button when disabled ?

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nesaver
    wrote on last edited by
    #1

    I use :
    ToolIcon {
    id: btnBack;
    iconId: "toolbar-back";
    enabled: false;
    }
    to show disabled button, but it's not show back-disabled icon. How to find back-disabled icon ?
    Please help me. Thanks

    1 Reply Last reply
    0
    • T Offline
      T Offline
      task_struct
      wrote on last edited by
      #2

      Which version of Qt Components do you use?

      If you use those for MeeGo, search in SDK folder for "icon-m-toolbar-back". You will find a folder full with icons. There should be disabled version of toolbar-back icon.

      "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."

      • Linu...
      1 Reply Last reply
      0
      • N Offline
        N Offline
        nesaver
        wrote on last edited by
        #3

        In sdk i'm not found icon-m-toolbar-back :(.

        But i found the way to solve it:
        @
        ToolIcon {
        iconSource: enabled ? (theme.inverted ? "image://theme/icon-m-toolbar-back-white" : "image://theme/icon-m-toolbar-back-white")
        : (theme.inverted ? "image://theme/icon-m-toolbar-back-dimmed-white" : "image://theme/icon-m-toolbar-back-dimmed")
        }

        @

        [edit, please use @ code tags for your code, Eddy]

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved