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. Switching Table View from Left-to-Right
Qt 6.11 is out! See what's new in the release blog

Switching Table View from Left-to-Right

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 982 Views
  • 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.
  • C Offline
    C Offline
    CroCo
    wrote on last edited by
    #1

    I've developing an application in which an employee can request a vacation request. This request will be automatically forwarded for another manager in case the first one ignores it. This application is linked to database Microsoft SQL server. Now I need to translate it to an Arabic version. This is the English version

    0_1515133147928_Capture.PNG

    The expected output is

    0_1515133310594_Capture.PNG

    Is this possible and how?

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      http://doc.qt.io/qt-5/qwidget.html#layoutDirection-prop

      tableView->setLayoutDirection(Qt::RightToLeft); should be enough to do the trick

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      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