Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Right to Left GUI application not showing dynamic text correctly

    General and Desktop
    1
    1
    698
    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.
    • N
      neel2818 last edited by

      Hi All,

      I have created one Qt Desktop GUI application. I am just reversing the whole GUI from Left to Right to Right to Left (Just like Arabic language). In that GUI i have some of the Qt controls in that i set the text with setText function as below.

      @QString Name1 = "All";
      QString Name2;
      Name2 = QString("(%1)").arg(value);
      QString title = Name1 + Name2;
      m_tab->setTabText(Index, title);@

      With above text formation original text will form like "All(100)" but currently it shows the text like "(All(100".

      Why it showing the text like this ? Can anyone tell me the reason ?

      Thanks,
      Neel

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