QGraphicsObject is a graphics item that can be put into a layout. Graphics items define their own painting (see their paint method), so the answer would be no, no support for widget styles or stylesheets there. The only relation between QGraphicsView and widget styles is QGraphicsScene::setStyle, which defines the widget styles to apply to QGraphicsWidgets (which are QWidgets embedded into the QGraphicsView scene). And in fact this method only support widget styles, not stylesheets.
i can´t find a video-tutorial or even a text-based tutorial about creating a web site using Qt for WebAssembly, i mean, creating headers, banners, carrousels, and such... im pretty sure all of these items can be done in Qt, but is a bit tricky to get all well arranged in browser!. do you plan to create some content like this someday?.. thanks..
Hi Thank you for taking the time to suggest this video idea. We're always open to feedback and new content suggestions from our audience. We'll definitely do some research on your idea, but please understand that we can't guarantee the production of a specific video in the immediate future. Our content creation process is influenced by several factors, including audience interest and available resources. Your input is valuable to us, and we'll continue striving to create content that resonates with our viewers. We appreciate your support and hope you'll stay tuned for future updates! :)
Hi! In short: no. QtQuick.Controls.Styles is part of QtQuick Controls 1, which have been deprecated in Qt 5 and removed in Qt 6. Take a look at doc.qt.io/qt-5/qtquickcontrols2-differences.html for the differences, and doc.qt.io/qt-6/qtquickcontrols-changes-qt6.html for what is new regarding Controls in Qt 6.
the library qt-material for Pyside, which also uses qt advanced stylesheet, seems to give you a lot of flexibility where you can also add padding etc.
thank you, David!
Hi David, thanks for the video.
Please tell me, is it possible to use Qt Stylesheets for QGraphicsObject objects?
QGraphicsObject is a graphics item that can be put into a layout. Graphics items define their own painting (see their paint method), so the answer would be no, no support for widget styles or stylesheets there. The only relation between QGraphicsView and widget styles is QGraphicsScene::setStyle, which defines the widget styles to apply to QGraphicsWidgets (which are QWidgets embedded into the QGraphicsView scene). And in fact this method only support widget styles, not stylesheets.
Merci beacoup!
i can´t find a video-tutorial or even a text-based tutorial about creating a web site using Qt for WebAssembly, i mean, creating headers, banners, carrousels, and such... im pretty sure all of these items can be done in Qt, but is a bit tricky to get all well arranged in browser!. do you plan to create some content like this someday?.. thanks..
Hi
Thank you for taking the time to suggest this video idea. We're always open to feedback and new content suggestions from our audience. We'll definitely do some research on your idea, but please understand that we can't guarantee the production of a specific video in the immediate future. Our content creation process is influenced by several factors, including audience interest and available resources. Your input is valuable to us, and we'll continue striving to create content that resonates with our viewers. We appreciate your support and hope you'll stay tuned for future updates! :)
@@KDABtv thanks so much, i will be in tune.. greetings..!
Hi!
Is it possible to use QtQuick.Controls.Styles of Qt5 in the new Qt6?
Hi!
In short: no. QtQuick.Controls.Styles is part of QtQuick Controls 1, which have been deprecated in Qt 5 and removed in Qt 6. Take a look at doc.qt.io/qt-5/qtquickcontrols2-differences.html for the differences, and doc.qt.io/qt-6/qtquickcontrols-changes-qt6.html for what is new regarding Controls in Qt 6.
@@KDABtv thanks ;)