fralx / LimeReport

Report generator for Qt Framework
http://limereport.ru/
Other
403 stars 154 forks source link

preview background color, language and report page position #317

Open Joyker opened 3 years ago

Joyker commented 3 years ago

Hello again, i have some questions

1) I see setPreviewPageBackgroundColor method, but i cant get it working, in preview backgroung always white, is there any way to change it ? Example code:

m_report->setPreviewPageBackgroundColor(QColor("#8c8c8c")); // not working

2) Is there any way to change preview page language ? Now it is always english 3) is it possible to place report pages side by side in preview ?

fralx commented 3 years ago

Hi!

  1. I see setPreviewPageBackgroundColor method, but i cant get it working, in preview backgroung always white, is there any way to change it ? Example code:

I have fixed setting the color for the preview page background.

  1. Is there any way to change preview page language ? Now it is always english

You can use the common Qt way for GUI translation. Just make LimeReport translation using Qt Linguist tool and load it.

  1. is it possible to place report pages side by side in preview ?

At the moment, no.