The v3.17 documentation doesn't mention any QT classes for primitive text, but then it's also missing a QT class that is available (QLabel). So now we can't be confident OA's QT documentation is complete
QT Class for Primitive Text?
- RJM1987
- Posts:11
- Joined: Mon Feb 24, 2020 5:06 am
QT Class for Primitive Text?
Is there a QT class available to style primitive text objects? (and if not, why not..?)
The v3.17 documentation doesn't mention any QT classes for primitive text, but then it's also missing a QT class that is available (QLabel). So now we can't be confident OA's QT documentation is complete
The v3.17 documentation doesn't mention any QT classes for primitive text, but then it's also missing a QT class that is available (QLabel). So now we can't be confident OA's QT documentation is complete
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: QT Class for Primitive Text?
Hi,
Primitive text is a similar to geo shapes (rectangle, circle, line) and cannot be styled using QSS afaik. Those are basically drawing and no QWidgets...
BR
Alex
Primitive text is a similar to geo shapes (rectangle, circle, line) and cannot be styled using QSS afaik. Those are basically drawing and no QWidgets...
BR
Alex
- RJM1987
- Posts:11
- Joined: Mon Feb 24, 2020 5:06 am
Re: QT Class for Primitive Text?
Thanks for the reply Alex, if Primitive Texts can't be styled then I guess we'll have to explore some alternatives...
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: QT Class for Primitive Text?
The Label can be used as an alternative
- RJM1987
- Posts:11
- Joined: Mon Feb 24, 2020 5:06 am
Re: QT Class for Primitive Text?
Thanks, note however the Label is not always a valid alternative - whilst it does have more styling options, Labels don't seem to have a native "Ellipsis Mode" property, whilst primitive texts do have this feature.