Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved QLineedit

    General and Desktop
    2
    2
    382
    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.
    • S
      SurendarK last edited by

      Hi,

      Is it possible to set separate color for cursor line and text edit in the QLineedit class???I mean cursor color is pink and the text entering in the lineedit field is black.

      mrjj 1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion @SurendarK last edited by

        @SurendarK said in QLineedit:

        Hi, maybe. If there is a key for its color
        You can try to fool around with
        https://forum.qt.io/topic/1137/change-qlineedit-text-cursor-shape/3
        Not sure if the color can be controlled.

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