Search found 218 matches
- Fri Nov 18 2022 4:29 pm
- Forum: Developers
- Topic: QPrinter documentation bug
- Replies: 1
- Views: 474
QPrinter documentation bug
https://www.copperspice.com/docs/cs_api/class_qpagesize.html#a265a41f1202c27e4c2882d877b089909 QPageSize::Millimeter 0 QPageSize::Point 1 1/72nd of an inch QPageSize::Inch 2 QPageSize::Pica 3 1/72nd of a foot, 1/6th of an inch, 12 Points QPageSize::Didot 4 1/72nd of a French inch, 0.375 mm QPageSize...
- Wed Nov 16 2022 8:42 pm
- Forum: Developers
- Topic: QFont fromString() toString() bug
- Replies: 1
- Views: 553
Re: QFont fromString() toString() bug
Saw a bunch of new code checked in. Built from tip of tip. This has now been fixed. I didn't touch anything in my code yet today.
- Tue Nov 15 2022 9:34 pm
- Forum: Developers
- Topic: QFont fromString() toString() bug
- Replies: 1
- Views: 553
QFont fromString() toString() bug
All, Ubuntu 20.04 LTS Built from tip of tip on Saturday. m_ui->headerFontLE->text(): Monospace,10,-1,5,50,0,0,0,0,0,12,-1,5,50,0,0,0,0,0 QFont::fromString: Invalid description 'Monospace,10,-1,5,50,0,0,0,0,0,12,-1,5,50,0,0,0,0,0' done saving header font m_ui->footerFontLE->text(): Monospace,10,-1,5,...
- Mon Nov 14 2022 3:03 pm
- Forum: Developers
- Topic: QVariant bug/documentation issue
- Replies: 5
- Views: 937
Re: QVariant bug/documentation issue
Ansel, Thank you for your reply. Once again you have completely missed the point. QVariant has an enum to identify it contains a QFont. You (Copperspice) have enumerated support for a data type QVariant does not in fact support. There are no toQFont() or fromQFont() methods. The reason for them not ...
- Mon Oct 31 2022 10:22 pm
- Forum: Developers
- Topic: QVariant bug/documentation issue
- Replies: 5
- Views: 937
Re: QVariant bug/documentation issue
Ansel, Thank you for the reply, but you completely missed what was being reported. QVariant has an enum to identify it contains a QFont . What it doesn't have is a QVariant( QFont) and QVariant::toQFont() Yes, I can wedge a string in there, and have done it. What was being reported is that the docum...
- Mon Oct 31 2022 12:20 pm
- Forum: Developers
- Topic: QRegularExpressionValidator documentation issue
- Replies: 1
- Views: 488
QRegularExpressionValidator documentation issue
All, https://www.copperspice.com/docs/cs_api/class_qregularexpressionvalidator.html QRegularExpressionValidator had its own header file. It appears CopperSpice hath moved it If the class doesn't have its own header file the documentation really needs to inform the user just where to find it. I know ...
- Wed Oct 26 2022 11:17 pm
- Forum: Developers
- Topic: QVariant bug/documentation issue
- Replies: 5
- Views: 937
QVariant bug/documentation issue
All, The QVariant documentation has an enum to indicate a QFont is contained. https://www.copperspice.com/docs/cs_api/class_qvariant.html What it doesn't have is a QVariant( QFont) or toFont(). If we have to serialize QFont ourselves via toString() https://www.copperspice.com/docs/cs_api/class_qfont...
- Wed Oct 05 2022 6:17 pm
- Forum: Developers
- Topic: QFileInfo::size()
- Replies: 0
- Views: 787
QFileInfo::size()
This https://www.copperspice.com/docs/cs_api/class_qfileinfo.html#abfae4bab3619fb3a839fc0158c51c8f7 is one of the many places where Qt project made incredibly poor decisions. They used a qint64 instead of a quint64 for the return value of size(). Unless there is a legitimate (not just convenient) re...
- Tue Sep 27 2022 2:34 pm
- Forum: Developers
- Topic: QSettings::setPath() being ignored
- Replies: 2
- Views: 952
Re: QSettings::setPath() being ignored
We took a look at the constructors for QSettings. If you are using the constructor where the first parameter is a filename, the file will be created relative to the current working directory. One option is to specify the full path as part of the filename. There are other constructors which may have...
- Fri Sep 23 2022 4:08 pm
- Forum: Developers
- Topic: scaledToWidth scaledToHeight Documentation
- Replies: 0
- Views: 765
scaledToWidth scaledToHeight Documentation
When visiting here https://www.copperspice.com/docs/cs_api/class_qpixmap.html#a770dae6f92c58c409a682424ca5aabf5 The documentation just uses an int for height and width but doesn't list units. Yes, one could theoretically assume pixels, but one could also assume inches or centimeters if they are scal...