Search found 456 matches

by barbara
Sun May 19 2024 4:13 pm
Forum: Enhancements
Topic: Progressive Typing
Replies: 1
Views: 35

Re: Progressive Typing

QComboBox currently has built in functionality to support these two items. (a) case sensitive/insensitive, the default is “case insensitive” (b) beginning of word match It sounds like you are interested in knowing how to use a QComboBox and have the display be limited by what the user has typed. We ...
by barbara
Fri May 03 2024 9:45 pm
Forum: Issues
Topic: Fedora CsMultiMedia bug
Replies: 1
Views: 231

Re: Fedora CsMultiMedia bug

I opened the "CopperSpiceLibraryTargets.cmake" file located in our Fedora 36 binary release (CS 1.9.1), dated Feb 19 2024. The binary distribution is located on our CS download page and also on our CS github page. We also tested CSMultimedia in KitchenSink using the Music Player and did no...
by barbara
Fri Apr 26 2024 3:29 am
Forum: Issues
Topic: QLocalServer bug
Replies: 2
Views: 780

Re: QLocalServer bug

The single change has been made in our source code. It will be committed shortly.

Barbara
by barbara
Fri Apr 26 2024 3:23 am
Forum: Issues
Topic: QLocalServer documentation error
Replies: 1
Views: 495

Re: QLocalServer documentation error

Thanks, we corrected the documentation. This will appear in the next release of the CS API documentation.
by barbara
Sat Apr 13 2024 7:08 pm
Forum: Developers
Topic: Conversion between QJsonObject and QVariantMap
Replies: 2
Views: 921

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...
by barbara
Wed Apr 10 2024 3:43 pm
Forum: Developers
Topic: Conversion between QJsonObject and QVariantMap
Replies: 2
Views: 921

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.
by barbara
Fri Apr 05 2024 12:50 am
Forum: Issues
Topic: QListWidgetItem->setHidden(true) doesn't really hide
Replies: 2
Views: 584

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.

Code: Select all

QListWidgetItem *item = new QListWidgetItem("Item Text");
listView->addItem(item);
item->setHidden(true);

Barbara
by barbara
Thu Apr 04 2024 6:13 pm
Forum: Journal Discussion
Topic: New GUI Examples
Replies: 0
Views: 1139

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...
by barbara
Thu Apr 04 2024 6:02 pm
Forum: Developers
Topic: Questions about SIGNAL
Replies: 1
Views: 330

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...
by barbara
Thu Mar 28 2024 7:32 pm
Forum: Issues
Topic: QString documentation issue
Replies: 3
Views: 2305

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...