News: LimeReport new version 1.5 has been released
Вышла новая версия LimeReport 1.5

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Subst

Pages: [1] 2 3 ... 31
1
Discussion | Обсуждение / Re: api documentation
« on: May 18, 2025, 06:00:24 am »
Hi!
No, PDF only at time

2
Discussion | Обсуждение / Re: api documentation
« on: April 22, 2025, 09:00:13 am »
first - look the "printIfEmpty" property of bands... also "auotHeight" property may be usefull

second - no think so, but I didn't bother myself with such a question, it's looks rather stranger and uncomfortable.
What's the necessity for that?

4
Кто-то, вроде, начинал ваять обертку для питона.
Но подробностей не знаю...

Может, тебе стоит рассмотреть вариант просто собрать LR и заюзать его, как отдельное приложение?
Подробностей твоей архитекутры я не знаю, но если ты напрямую с БД работаешь, то, может, подойдет?

5
Discussion | Обсуждение / Re: Build error v 1.5
« on: March 07, 2025, 07:12:44 am »
first - if you hash clicked to error message the text must expandning and wil be shown as obove

Code: [Select]
D:\QtProjects\TtxUiTool\src\TMainWnd.cpp:749: error: incomplete type 'QDateTime' used in nested name specifier
..\..\src\TMainWnd.cpp: In member function 'bool TMainWnd::parseSdlxFile(quint16, const QString&)':
..\..\src\TMainWnd.cpp:749:26: error: incomplete type 'QDateTime' used in nested name specifier
  749 |   quint64 now=QDateTime::currentMSecsSinceEpoch();
      |                          ^~~~~~~~~~~~~~~~~~~~~~


second - the problem with database - it's a problem of Qt, not LR

LimeReport will work with database if your Qt can work with it. The base build of Qt not supports all database formats.
But it's obout Qt not LR.

You can walk to telegram-group https://t.me/qt_chat and try to resolve proble, there.
But it's Russian-language group  ;D Must of members known English to some extent but home lang - russion  :)

6
Discussion | Обсуждение / Re: Build error v 1.5
« on: March 01, 2025, 09:32:11 am »
Hi!

Quote
Aggregate 'Qpainterpath ' has incomplete type and cnnot be defined'

in which file message appears?

Quote
Can I add support for mysql to Lime Report? Now I have to convert Access dtabase to mysql and the to sqlite. All responses are appreciated

LR is able to work with any database. Your application must work with database, LR can operated with models, transferred from main application code.

7
Hi!
By using the script as the content of TextItem for example
Like this

Code: [Select]
$S{
  if (your_condition)
    THIS.borders=15;
  "simple_text";
  }

the Enum of borders is

Code: [Select]
enum BorderSide {
  NoLine = 0,
  TopLine = 1,
  BottomLine = 2,
  LeftLine = 4,
  RightLine = 8,
  AllLines = 15
  };

8
Hi!
Can I see your LR report file (.lrxml) ?

9
упс... так у Image вроде есть Property
Code: [Select]
scaleон же
Code: [Select]
Масштабировать

10
что есть "чек программы" ?

11
really, we are discussed about with Alex and we can't undestood, what you want at all.
are U want to change data in complete report according to dynamically change of your data??

12
Hi!

look the
Code: [Select]
IDataSourceManager::addModel(const QString& name, QAbstractItemModel *model, bool owned)
and look UserManualEng.pdf for "External data sources"

13
Hi!

QTableView dot't store any data it's own.
The data exists in the model.
This model You have been added to report.

Now You can just call
Code: [Select]
report->designReport() to show LRDesigner, and your model must be shown in datasources

14
если задача именно из кода сделать, то это вариант 1, через callbackDataSource

15
Хай!
Несколько неверно делаешь, смотри что происходит:
Ты сделал модели, отфильтровал (с помощью where id=..) твой customers и потом отдал модели в LR.
У тебя в отчете будут "замороженная" в моменте модель, с тем фильтром, который был применен на момент передачи ее (модели) в отчет.

Что нужно:
2 варианта:

1. использовать callBackDataSource - в docs/Руководство пользователя.pdf довольно подробно есть про это.
2. Твою customers модель полноценно создать в самом отчете LR, как subdetail. См. вкладку Datasources в дизайнере отчетов.

Pages: [1] 2 3 ... 31