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. Drawing visual acuity E test
Forum Updated to NodeBB v4.3 + New Features

Drawing visual acuity E test

Scheduled Pinned Locked Moved Unsolved General and Desktop
im using qt crator
4 Posts 3 Posters 532 Views 2 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.
  • M Offline
    M Offline
    mfaghani
    wrote on last edited by
    #1

    I'm using qt creator 3.3.0 and qt 5.4.0 and wanted to show visual acuity E test pages (uses by optometrists) with various size of Es. Sometimes I should show a single E in center of page, and sometimes it should be a single row with some Es, and also multiple row of Es.
    What is the best widget for this? And describe a bit about it, please.
    Thanks a lot

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you using a special font for that ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Are you using a special font for that ?

        M Offline
        M Offline
        mfaghani
        wrote on last edited by mfaghani
        #3

        @SGaist
        The Es are not alphabet and should craeted by graphical methodes. And I should put some text there, too. Like "20/20" that means the distance of the test.
        Something like this:
        0_1541174278160_e test.png

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          Hi
          I would just create the the Es symbols in inkscape and save as svg.
          QLabel can be used to both display the Text ( with different font size) and
          can also show SVG image. SVG is vector and can be shown in any size.

          Is each "row" always the same so each row can be premade or does app need to
          put a row together with random symbols?

          What are the rule for the 20/200 number.

          would next row (3) be 20/50 ?

          is this the full symbol set ? ( just E rotated 4 times )
          alt text

          Also how do you tell app is to show single big E, a row or multiple rows?
          Just like 3 buttons to show or would it be random ?

          Also the sizes seems important (of the Es )
          alt text
          So you would need some sort of reference size to display it at say 25%

          1 Reply Last reply
          1

          • Login

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