tag:blogger.com,1999:blog-6447849434617576469.post6674626883884526863..comments2023-10-28T02:05:16.282-07:00Comments on CodeCereal: QML Theming/StylingAnonymoushttp://www.blogger.com/profile/13246366811991245999noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-6447849434617576469.post-25459238204900579672012-05-07T09:57:48.710-07:002012-05-07T09:57:48.710-07:00Actually there is a qt.pro.patch you have to apply...Actually there is a qt.pro.patch you have to apply in the qt.pro root. Doing that, you can compile qtquickstyles together with Qt5 repo.Anonymoushttps://www.blogger.com/profile/13246366811991245999noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-49490488966033240772012-05-07T09:56:14.036-07:002012-05-07T09:56:14.036-07:00ScrollBar is one of the next components in the que...ScrollBar is one of the next components in the queue we're trying to build.<br />Maybe we'll also have an ScrollArea and the ListItemView we have in Plasma Components. Having the ScrollBar, they're almost done.<br />Thank you very much for the feedback!Anonymoushttps://www.blogger.com/profile/13246366811991245999noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-9127787634968904682012-05-07T09:53:31.600-07:002012-05-07T09:53:31.600-07:00We haven't tested it on Windows but it's s...We haven't tested it on Windows but it's supposed to work. It's not under Qt 5 alpha, you'll have to install it yourself.Anonymoushttps://www.blogger.com/profile/13246366811991245999noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-73779888489789037152012-05-06T06:25:30.498-07:002012-05-06T06:25:30.498-07:00Did you install the following?
git://code.openboss...Did you install the following?<br />git://code.openbossa.org/projects/qtquickstyles.git<br /><br />I'm not familiar with qmake (pro files) at all, but I think you do not need to add "QT+=uicomponents".<br />After installing the files from qtquickstyles git repository to the imports folder from your QT5 installation, QtQuick will find the module automatically.Stefan A.https://www.blogger.com/profile/08812122619513078113noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-52192941474657853622012-05-06T02:58:12.475-07:002012-05-06T02:58:12.475-07:00I am trying to use it on windows (I have add QT+=u...I am trying to use it on windows (I have add QT+=uicomponents) but it don't find import "import QtUiComponents 1.0" .. I am using qt 5 alpha.qtnexthttps://www.blogger.com/profile/09374510913265597922noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-69511997582642918492012-05-02T04:22:28.593-07:002012-05-02T04:22:28.593-07:00Daker, as you are the one behind the Scrollbar com...Daker, as you are the one behind the Scrollbar component from Kde.Plasma, will there be an equivalent inside QtUiComponents in the near future?<br />While experimenting with the current state of this project developing a simple QML-based desktop application, I feel the lack of a "real" deskop-like ScrollBar is the major barrier using qml on non-mobile platforms right now.<br /><br />Thanks for your time and the great efforts you and your team are doing bringing QML to desktop!<br /><br /> Greetings from Germany,<br /> StefanStefan A.https://www.blogger.com/profile/08812122619513078113noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-33236365101818151222012-04-27T14:24:35.609-07:002012-04-27T14:24:35.609-07:00Hi Stefan,
Surely key handling for QtComponents i...Hi Stefan,<br /><br />Surely key handling for QtComponents is needed, and will be done in the way you stated, we just would like to solve the styling before polishing the widgets behaviour.Anonymoushttps://www.blogger.com/profile/13246366811991245999noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-48165635284591373542012-04-27T03:57:17.165-07:002012-04-27T03:57:17.165-07:00#1 What about integrating support for Qml Keys for...#1 What about integrating support for Qml Keys for activating/pressing currently focused components?<br /><br />#2 Regarding #1: Are there thoughts about implementing a Tab-based navigation through enabled components for a more native desktop look&feel?<br /><br />I've changed BasicButton according #1:<br /><br />[code]<br />diff --git a/src/components/uicomponents/qml/BasicButton.qml b/src/components/uicomponents/qml/BasicButton.qml<br />index f283272..22f427a 100644<br />--- a/src/components/uicomponents/qml/BasicButton.qml<br />+++ b/src/components/uicomponents/qml/BasicButton.qml<br />@@ -62,4 +62,18 @@ FocusScope {<br /> }<br /> <br /> Text { id: fontPropertyHolder; visible: false; onFontChanged: root.fontChanged() } // ###: temporary solution<br />+<br />+ Keys.onPressed: {<br />+ if (event.key == Qt.Key_Return || event.key == Qt.Key_Space) {<br />+ event.accepted = true<br />+ pressed = true<br />+ }<br />+ }<br />+<br />+ Keys.onReleased: {<br />+ if (event.key == Qt.Key_Return || event.key == Qt.Key_Space) {<br />+ event.accepted = true<br />+ pressed = false<br />+ }<br />+ }<br /> }<br />[/code]Stefan A.https://www.blogger.com/profile/08812122619513078113noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-24529222969255892232012-04-17T07:40:21.871-07:002012-04-17T07:40:21.871-07:00Hi, the code is now updated and can be downloaded ...Hi, the code is now updated and can be downloaded from git://code.openbossa.org/projects/qtquickstyles.git<br />We have found some bugs that were impeding the module to run properly. We have fixed it and integrated on the master.<br />RegardsThiago Lacerdahttps://www.blogger.com/profile/17066944090826417189noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-89785357547210083132012-04-16T12:18:12.949-07:002012-04-16T12:18:12.949-07:00It's possible to make that the ApplicationStyl...It's possible to make that the ApplicationStyle read a CSS file and create CustomStyles when they have a widget class and set the properties. However, it's not a priority now, but it's a point to be considered.Anonymoushttps://www.blogger.com/profile/13246366811991245999noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-62799955298749060502012-04-16T11:53:41.678-07:002012-04-16T11:53:41.678-07:00The current CustomStyle implementation uses a Bord...The current CustomStyle implementation uses a BorderImage, and it can handle SVG, so if you create your custom style with SVGs it will be rendered without such issues.Anonymoushttps://www.blogger.com/profile/13246366811991245999noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-21830961006341800422012-04-16T08:25:35.027-07:002012-04-16T08:25:35.027-07:00Prior to having a look at the current discussions,...Prior to having a look at the current discussions, I'd prefer having a CSS-style (maybe QSS) solution for this one. Adherence to common practices (at least w3c practices), better re-usability and a visible path for backward compatibility.miltonhttps://www.blogger.com/profile/13237812904269172666noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-37773319277708421232012-04-16T07:19:01.815-07:002012-04-16T07:19:01.815-07:00Just dropping by to leave an idea: what about taki...Just dropping by to leave an idea: what about taking SVG beside PNG? SVG have absolutely no problem with sizes and that works great for translation and line breaks.J Janzhttps://www.blogger.com/profile/12161769249078157897noreply@blogger.comtag:blogger.com,1999:blog-6447849434617576469.post-62059139063070245792012-04-16T01:06:49.644-07:002012-04-16T01:06:49.644-07:00Finally this sounds like somebody cares about nati...Finally this sounds like somebody cares about native look and feel :)<br /><br />I think you should try styles for platforms completely unsimiliar to each other - e.g. the datepicker for ios and for android<br />to really prove this approach works out well :)Anonymousnoreply@blogger.com