Search found 285 matches

by barbara
Wed Dec 01 2021 1:14 am
Forum: Developers
Topic: QRegularExpressionmatch documentation bug
Replies: 4
Views: 169

Re: QRegularExpressionmatch documentation bug

S QRegularExpressionMatch< S >::captured ( int index = 0 ) const Every other place in the doc index=0 means that indexes start at zero. In C++ default arguments are a value provided in a method or function declaration. The default value is automatically assigned by the compiler if the caller of the...
by barbara
Sat Nov 20 2021 6:52 pm
Forum: Developers
Topic: QRegularExpressionmatch documentation bug
Replies: 4
Views: 169

Re: QRegularExpressionmatch documentation bug

The code you quoted which says int index = 0 indicates the default value when calling this method.

If you do not pass a value for the parameter it will return the entire match. When you want to return the first capture pass one, to return the second capture pass two, etc.

Barbara
by barbara
Tue Nov 16 2021 6:04 am
Forum: Developers
Topic: QRegularExpressionmatch documentation bug
Replies: 4
Views: 169

Re: QRegularExpressionmatch documentation bug

Looking at the full example we noticed the comment for "first equals "35" should have said "number equals "35". This is being corrected in the documentation. Calling "match.captured(0)" will always returns the entire match. In this example this returns the string "35 Bob". If you use "match.captured...
by barbara
Mon Nov 15 2021 5:41 am
Forum: Developers
Topic: QString documentation issue
Replies: 1
Views: 74

Re: QString documentation issue

Thanks for catching this. Turns out the correct result is actually "trbe" since the "." in the regex will remove any character following a vowel. We are making the change in the API docs.
by barbara
Thu Oct 14 2021 11:13 pm
Forum: User Support
Topic: CopperSpice on Arm - again
Replies: 2
Views: 273

Re: CopperSpice on Arm - again

Just letting you know this is something we will be working towards the beginning of November, after CppCon.

Barbara
by barbara
Thu Oct 14 2021 9:13 pm
Forum: User Support
Topic: Copper Spice on M1 Mac
Replies: 9
Views: 3566

Re: Copper Spice on M1 Mac

We are currently working with another company in Germany on their embedded requirements. Our current idea is to purchase a Raspberry PI as the first officially supported ARM platform.

Barbara
by barbara
Fri Oct 08 2021 10:04 pm
Forum: Developers
Topic: QSqlRecord documentation issue
Replies: 1
Views: 267

Re: QSqlRecord documentation issue

Thanks, we will look into this.
by barbara
Sat Sep 25 2021 5:24 pm
Forum: Developers
Topic: Documentation bug - QMultiMap
Replies: 3
Views: 3331

Re: Documentation bug - QMultiMap

New CopperSpice API documentation has been uploaded. There are a substantial changes in the parameter names and improved method descriptions. Both QMap and QMultiMap were changed.

Barbara
by barbara
Fri Sep 24 2021 11:18 pm
Forum: Developers
Topic: PDF library
Replies: 4
Views: 439

Re: PDF library

. . . they are very often using viral licenses such as GPL/AGPL. I want to be more benevolent, so PDF4QT project uses LGPL license, version 3, so it is usable also in commercial applications. I do not want to restrict people from using my library. We value knowing about other third party libraries....
by barbara
Fri Sep 24 2021 4:50 pm
Forum: Developers
Topic: Documentation bug - QMultiMap
Replies: 3
Views: 3331

Re: Documentation bug - QMultiMap

We did a review of QMap and QMultiMap and there is more information about the compare template parameter in the QMap documentation. Please have a look in the detailed section for "Overriding Sort Order" (in QMap) where we show the default comparator and also an example of a user defined Compare clas...