Some bugs fixing
Release 3.2.0
code optimization
Not sure that you checked examples in the demo. Yes your invoice easy to make
Not sure that you checked examples in the demo
Not sure that checked examples in the demo
yes that possible to do. See examples in a demo
not sure what you suggest can help. To better clarify, I need to draw an invoice with borders like the attached example
To make a border to whole page - go to page settings and mark Page Border->Draw border. To make a boderder for the band. Place a Text Label on the band without any text but with a borders. Set a same size as a band. The other item should be placed over it.
Hi, I need a page with a border across bands, so that the page looks like a set of grids. pls look at the picture. Is this possible? The default page border is not connected to the page controls, it's not easy to draw horizontal lines on bands that start and end matching the default page border.
Many thanks. I have uploaded to the git my version. If you are able, check please and give me your response
Many thanks. I have uploaded to the git my version. If you are able, check please and give me your response
aggregate function, test
i solved it this way diff --git a/QtRptProject/QtRPT/RptScriptEngine.cpp b/QtRptProject/QtRPT/RptScriptEngine.cpp index f5d680de..30bfe2e3 100644 --- a/QtRptProject/QtRPT/RptScriptEngine.cpp +++ b/QtRptProject/QtRPT/RptScriptEngine.cpp @@ -179,32 +179,44 @@ double ScriptAPI::funcAggregate(int funcMode, QString paramName) else if (engine->globalObject().property("groupLevel").toInt() == 2) groupIdxList = engine->GroupIdxList_2; if (!engine->listOfPair->isEmpty()) min = engine->listOfPair->first().paramValue.toDouble();...
i solved it this way diff --git a/QtRptProject/QtRPT/RptScriptEngine.cpp b/QtRptProject/QtRPT/RptScriptEngine.cpp index f5d680de..30bfe2e3 100644 --- a/QtRptProject/QtRPT/RptScriptEngine.cpp +++ b/QtRptProject/QtRPT/RptScriptEngine.cpp @@ -179,32 +179,44 @@ double ScriptAPI::funcAggregate(int funcMode, QString paramName) else if (engine->globalObject().property("groupLevel").toInt() == 2) groupIdxList = engine->GroupIdxList_2; - if (!engine->listOfPair->isEmpty()) - min = engine->listOfPair->first().paramValue.toDouble();...
i solved it this way diff --git a/QtRptProject/QtRPT/RptScriptEngine.cpp b/QtRptProject/QtRPT/RptScriptEngine.cpp index f5d680de..30bfe2e3 100644 --- a/QtRptProject/QtRPT/RptScriptEngine.cpp +++ b/QtRptProject/QtRPT/RptScriptEngine.cpp @@ -179,32 +179,44 @@ double ScriptAPI::funcAggregate(int funcMode, QString paramName) else if (engine->globalObject().property("groupLevel").toInt() == 2) groupIdxList = engine->GroupIdxList_2; if (!engine->listOfPair->isEmpty()) min = engine->listOfPair->first().paramValue.toDouble();...
i solved it this way diff --git a/QtRptProject/QtRPT/RptScriptEngine.cpp b/QtRptProject/QtRPT/RptScriptEngine.cpp index f5d680de..30bfe2e3 100644 --- a/QtRptProject/QtRPT/RptScriptEngine.cpp +++ b/QtRptProject/QtRPT/RptScriptEngine.cpp @@ -179,32 +179,44 @@ double ScriptAPI::funcAggregate(int funcMode, QString paramName) else if (engine->globalObject().property("groupLevel").toInt() == 2) groupIdxList = engine->GroupIdxList_2; if (!engine->listOfPair->isEmpty()) min = engine->listOfPair->first().paramValue.toDouble();...
In master footer i try to use <sum(<span>[RW])> It works well with integers, but if I have polish locale format eg. 12,44 then it fails giving sum = 0 Is there any way to set locale for decimals?</sum(<span>
minor
Removed duplicated code
Engine code optimization
Fix a fontColor in a ScriptEditor for dark theme
QtRPT code optimization, interim
Added Themes to the QtRptDesigner
3.1.1 release
is still working with my Qt 5.13 up till now
Qt 5.13 might be too old for this. Try upgrading to a newer version if possible. If Linux binaries for 2.0.2 aren’t available, you may need to build from source. Let me know the errors you’re facing, and I’ll help troubleshoot!
Graphics processing bug fix
in my program .pro or in QtRPT.pri?
i used the default font opened in QtRPTDesigner, I did not change it. I used italic only for 1 object "specyfikacja" and as you see in xml all other have italicfont="0" But somehow in PDF all becomes italic. One interesting finding though, As soon as eliminated the italicfont="1" for this single header object all the false italics also disappeared.... strange
On the left side - preview On right - preview in the browser Seems a Qt6 bug, probably you use a some specific font. As not all labels has a Italic font. Try use another font
yes
With Qt5 everything OK ?
This started with qt6 so I guess it might be a qt6 error? maybe this https://forum.qt.io/topic/122464/qt-6-pdf-printer-not-embedding-font-properly?lang=pl
adding report file
Export to PDF adds Italic to font
Padding bug fix
minor
Hi, you need depends of the Qt version indicate a correct path to the binary LIBS += -L$$PWD/../Qt5/ZintLib -lQtZint or LIBS += -L$$PWD/../Qt6/ZintLib -lQtZint
Hi, you need depends of the Qt version indicate a path to the binary LIBS += -L$$PWD/../Qt5/ZintLib -lQtZint or LIBS += -L$$PWD/../Qt6/ZintLib -lQtZint
what do i need to change to make libqtzint compile automatically so i don't need to enter /QtRptProject/3rdparty/zint-2.4.4/backend_qt4 to recompile it every time i chnage qt5 to qt6 for my final app? Also would it be posible to have it statically linked to qtrpt? i tried modifying qtrpt.pri by adding : Include paths for Zint INCLUDEPATH += $$PWD/../3rdparty/zint-2.4.4/backend INCLUDEPATH += $$PWD/../3rdparty/zint-2.4.4/backend_qt4 Add the Zint project as a subdirectory SUBDIRS += ../3rdparty/zint-2.4.4/backend_qt4...
Work with XYZLibrary
v3.1.1. Two parameters for Text field added: paddingX(Y).
Please how can I rename horizontal axis of Simple stackedbarchart example from months to desirer name? thanks
minor, for speedup processing
actually i dont want code just wanna know what type of input i should put in series name and series data source inside of line chart property . Please Explain this.
I dont use GitHub. Please use Git if the Sourceforge. Re demo, I mean QtRptDemo folder. I think code for Charts in the mainwindow.cpp
As well as there is issue regarding sql ds. Sometimes it shows table data and sometime it misses even after entering the correct db details again and again.
Please Help me to sort it out how to use line chart dynamic configuration.And i just saw example 7 of line chart but there i saw no use of line property . Give me some example of use of line property
Please Help me to sort it out how to use line chart dynamic configuration.And i just saw example 7 of line chart but there i saw no use of line property . Give me some example of use of line property
Yes, I have gone through your GitHub demo examples, and I think there are some examples missing. There are no examples related to series names and series data sources. You can see that examples 14 and 7 are missing in your GitHub demo examples, and I think there should be examples demonstrating the usage of line charts.
Hello, there is a demo application which shows all capabilities. Inside of it there are two examples how build and use a chart, dynamically as well. Did you checked it?
Actually, the question is how to create a dynamic line chart diagram in QtRpt Designer. I have reviewed all of your documentation, but I found nothing that can solve my problem. Could you please provide regular documentation about any updates in QtRpt? Specifically, regarding line charts, I need information on what to do and how to handle series data sources.
Please add menu item for Data Source with keyboard shortcut and add keyboard shortcut for Page settings menu item.
okay, Thanks. More power to your elbow
I have added embedded function "Substring". You can take sources from git and build it or wait new release
added embedded function "Substring"
You can add qsqlmysql.dll as you wish. It was not added by windeployqt utility as there is no any links with it. At the next release I will add it
Current version QtRptproject 3.1.0 binary for windows is missing file qsqlmysql.dll. Previous version has this driver. Please, add back to standard ZIP this driver.
Thank you very much, I later came up with a solution since I query a table in an Sqlite, QString field1 = "abcdef"; substr(field1, 1, 4); the query yield the desired output in QtRpt
Yes in embedded script language in the QtRPT, so that I can execute function or codes from my Qt C++ app, I working with sqlite
Yes in embedded script language in the QtRPT, so that I can execute function or code from my app. I'm work with sqlite
Do you mean embedded script language in the QtRPT ? Or do you mean extraction a substring in your application ?
Please how can I select number of character from a string in a field, I want to implement something like this std::string field1 = "abcdef"; std::string field2 = field1.substr(0,3); required output = "abcd" QtRpt has a facility that can format decimal or floating point, but I need something for string. Thank you.
QString QString::left(int n) const Returns a substring that contains the n leftmost characters of the string. The entire string is returned if n is greater than or equal to size(), or less than zero. QString x = "Pineapple"; QString y = x.left(4); // y == "Pine"
not clear what problem do you have? You can do it by C++ or Qt functionality.
Please how possible to selecting N characters from string in QtRpt for example std::string field1 = "abcdef"; std::string field2 = field1.substr(0, 3); required out: field2 = "abdd" QtRpt has number formatting which work well floating point, I need similar facility for string. Thanks
yes, that was a bug. Now it is fixed, please pickup a fresh files from GIT repo
On the fly object construction, bug fixing
New version QRPT project 3.1.0
thank you
V3.1.0
there is now way to make image round
minor
minor
please how to make image on QtRpt appear round or circular?
I tried again on paypal and I get "Sorry, this payment can’t be completed due to regulations. If you keep seeing this, please contact Customer service."
Please make sure that you have Qt Charts installed
minor
Sorry I didn't get back to you sooner. I have tried all the .pro files, none of them build Most of the complaints are "unknown modules(s) in Qt:charts. Do not have a clue what is missing here. ken
Hello, many thanks for using QtRPT project, please advise what pro file do you use for build QtRPT library?
i am trying to build this as a lib in QT 5.9.3 with minGW. I opted out the barcode lib since I don't need this. I keep getting errors"unknown module(s) in QT:charts" I see no reference to charts anywhere in code.. so what is it looking for? I see this is a very complete project with many hours of work in it..i appreciate that k
hi, have you solved this problem? I meet the same question.
code optimization
DateTime bug fixed
bug fixing
Designer bug fix
Hi, I tried QTRpt and it is working as expected for all cases except one which I needed, to generate report without XML file using code only (example14) I have compiled binary under linux env. attaching the screen shot, I am getting blank page on print preview screen I help would be appreciated to complete my project I followed the code but it is not working
HTML rendering, small bug fix
working with XYZ
minor
-
and this is print preview