Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT Ruler Application for selecting and coloring text
Forum Updated to NodeBB v4.3 + New Features

QT Ruler Application for selecting and coloring text

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 1.3k 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.
  • S Offline
    S Offline
    sameer1111
    wrote on last edited by
    #1

    I am trying to make a ruler in QT. I am developing an application which requires a line edit in which user can select any part of the string. When selection is done the starting and end co-ordinates of selection is passed to backend.

    The ruler which is shown with line edit has a precision of one character or blank space in the string.
    I have build a similar widget using Java and ExtJS some time back. I am tring to simulate the same with QT for quite some time now but not succeeding in doing so.

    Any kind of help is most welcome.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sameer1111
      wrote on last edited by
      #2

      !file:///C:/Users/sharms30/Desktop/Ruler.png(ruler)!

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sameer1111
        wrote on last edited by
        #3

        Please take alook to understand what i am trying to build.

        !http://i.stack.imgur.com/NxnUG.png(This is what I am trying to achive.)!

        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