Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Wie kann ich einen Downarrow einer editierbaren combobox ändern? (QComboBox[type= "xy"]::down-arrow:editable{})

    German
    2
    2
    1371
    Loading More Posts
    • 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.
    • M
      martin s. last edited by

      Hi,
      ich bin ein Anfänger für QT und möchte nur vorhandene Objekte mittels Stylesheet umformatieren.
      Nun habe ich hübsche Comboboxen gestaltet jedoch funktioniert der DropDown arrow nur bei einer QComboBox:!editable
      Wie kann ich den down-arrow für eine editier bare Combobox ändern?
      Der untere Code funktioniert nicht. (Also nur für eine !editable Combobox obwohl ich es nicht ausdrücklich geschrieben habe)
      QComboBox[type = “xy”]::down-arrow
      { image: url(pictures:downarrow.svg); top: 1px; left: 0px;
      }
      QComboBox[type = “xy”]::down-arrow:editable
      { image: url(pictures:downarrow.svg); top: 1px; left: 0px;
      }
      Bin für jede Hilfe dankbar!

      1 Reply Last reply Reply Quote 0
      • raven-worx
        raven-worx Moderators last edited by

        probier mal folgendes:

        @
        QComboBox[type = “xy”][editable="true"]::down-arrow
        {
        image: url(pictures:downarrow.svg); top: 1px; left: 0px;
        }
        @

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply Reply Quote 0
        • First post
          Last post