LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: ghon on January 18, 2017, 12:10:20 PM

Title: Problem in Arabic language
Post by: ghon on January 18, 2017, 12:10:20 PM
Thank you for the great work on the LimeReport Project, but there are some problems.
1- QR Code object does not support Arabic letters, It shows instead "error: Invalid character in input data"
2- TextItem does not support "setLayoutDirection (Qt :: RightToLeft)"
Title: Re: Problem in Arabic language
Post by: Arin Alex on January 18, 2017, 08:41:47 PM
Hi !
Quote
1- QR Code object does not support Arabic letters, It shows instead "error: Invalid character in input data"
Try to change "inputMode" property of BarcodeItem maybe "DATA_INPUT_MODE" will ok for you

Quote
2- TextItem does not support "setLayoutDirection (Qt :: RightToLeft)"
Do you mean QApplication::setLayoutDirection(Qt :: RightToLeft)? How it should be? If you explain me what wrong i will try to fix it;
Title: Re: Problem in Arabic language
Post by: ghon on January 19, 2017, 01:37:45 AM
Thanks for help.
You can add  "layoutDirection" property to TextItem and FieldItem like QLineEdit in Qt Creator.
Value= Qt :: RightToLeft and Qt :: LeftToRight
Like rtl.png Attachment file
Title: Re: Problem in Arabic language
Post by: Arin Alex on January 21, 2017, 02:28:37 AM
I have added textLayoutDirection property to TextItem and pushed it on github (branch 1.4)
Title: Re: Problem in Arabic language
Post by: ghon on January 21, 2017, 06:32:54 PM
Thank you so much.
Title: Re: Problem in Arabic language
Post by: Arin Alex on January 22, 2017, 12:35:31 PM
You are welcome