The single change has been made in our source code. It will be committed shortly.
Barbara
Search found 454 matches
- Fri Apr 26 2024 3:29 am
- Forum: Issues
- Topic: QLocalServer bug
- Replies: 2
- Views: 45
- Fri Apr 26 2024 3:23 am
- Forum: Issues
- Topic: QLocalServer documentation error
- Replies: 1
- Views: 26
Re: QLocalServer documentation error
Thanks, we corrected the documentation. This will appear in the next release of the CS API documentation.
- Sat Apr 13 2024 7:08 pm
- Forum: Developers
- Topic: Conversion between QJsonObject and QVariantMap
- Replies: 2
- Views: 194
Re: Conversion between QJsonObject and QVariantMap
We have taken a look at your reported issue and we want to discuss what line 2 is really doing. Line 2 is taking a QVariantMap and storing it in a QVariant. If you call tmpVariant.typeName() it will return the data type of what the variant is storing. In this example code it is storing a QVariantMap...
- Wed Apr 10 2024 3:43 pm
- Forum: Developers
- Topic: Conversion between QJsonObject and QVariantMap
- Replies: 2
- Views: 194
Re: Conversion between QJsonObject and QVariantMap
Thank you for reporting this issues. We will add this as a unit test and make any changes which are required.
- Fri Apr 05 2024 12:50 am
- Forum: Issues
- Topic: QListWidgetItem->setHidden(true) doesn't really hide
- Replies: 2
- Views: 222
Re: QListWidgetItem->setHidden(true) doesn't really hide
In order to hide a QListWidgetItem you need to add the item before calling setHidden(). We will enhance the API documentation to provide this information.
Barbara
Code: Select all
QListWidgetItem *item = new QListWidgetItem("Item Text");
listView->addItem(item);
item->setHidden(true);
Barbara
- Thu Apr 04 2024 6:13 pm
- Forum: Journal Discussion
- Topic: New GUI Examples
- Replies: 0
- Views: 205
New GUI Examples
We now have 43 blog entries on the CopperSpice Journal. Pattern matching using QRegularExpression Displaying currency, numbers, and dates using the selected Locale Retrieve the Operating System Name and Version Command Line Parsing with Optional Arguments Command Line Parsing and Displaying Help Tab...
- Thu Apr 04 2024 6:02 pm
- Forum: Developers
- Topic: Questions about SIGNAL
- Replies: 1
- Views: 64
Re: Questions about SIGNAL
In order to declare a SIGNAL you must provide both CS_SIGNAL_1() and CS_SIGNAL_2() . Each macro is responsible for a different part of the signal implementation. This link to our CS Overview documentation shows some sample macros and how to handle overloaded signals. https://www.copperspice.com/docs...
- Thu Mar 28 2024 7:32 pm
- Forum: Issues
- Topic: QString documentation issue
- Replies: 3
- Views: 1169
Re: QString documentation issue
An alias is not a typedef. Calling an alias a typedef gets you into all kinds of trouble. The following text was copied directly from cppreference, which is a trusted site for interpreting the C++ standard. "A type alias declaration introduces a name which can be used as a synonym for the type...
- Wed Mar 27 2024 5:46 pm
- Forum: Issues
- Topic: Qt::CaseInsensitive no longer working
- Replies: 5
- Views: 1280
Re: Qt::CaseInsensitive no longer working
CopperSpice currently requires C++17 and we are moving to C++20 this year. We are continually migrating the code base to a more modern version of the language. However, our team is careful when making changes which will affect our user base. I can assure you we have changed some enums to enum classe...
- Tue Mar 26 2024 4:02 am
- Forum: Issues
- Topic: Qt::CaseInsensitive no longer working
- Replies: 5
- Views: 1280
Re: Qt::CaseInsensitive no longer working
We took another look at this and I noticed you are missing the second parameter. The API shows three parameters with the second and third having default values. If you want to pass Qt::CaseInsensitive for the third parameter you must pass 0 (default value) for the second parameter. When all three pa...