Re: [Interest] Blur part of rectangle possible?

2014-02-05 Thread Josh Faust
> > That could probably work if i want to blur an image. > In this case i want to blur the bottom part of a ListView where i want > to overlay a search field and blur the background. > That case makes splitting it a bit difficult ;) > You can use sourceRect on ShaderEffectSource, and then apply t

Re: [Interest] Turning on MSAA on a Qml-created Window

2013-11-04 Thread Josh Faust
. The > scene graph will pick up the format you specified using > QQuickWindow::setFormat() and use that. > > cheers, > Gunnar > > Fra: > interest-bounces+gunnar.sletta=digia@qt-project.org[interest-bounces+gunnar.sletta= &g

[Interest] Turning on MSAA on a Qml-created Window

2013-11-01 Thread Josh Faust
Is this possible? I can't use a custom QQuickWindow subclass, as I'm using ApplicationWindow. Is there any way to set the default QSurfaceFormat that will be used by QWindow? Josh ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.

[Interest] QtQuick: are animations supposed to cause rendering even if the element it's animating is invisible?

2013-07-24 Thread Josh Faust
Is this expected behavior? e.g. in the following, even though the rectangle is not visible, the animation still causes constant rendering (Qt 5.1) import QtQuick 2.1 import QtQuick.Window 2.1 Window { width: 500 height: 500 visible: true Rectangle { id: rect anchors.centerIn: par

[Interest] QtQuick Controls: Styling combobox dropdowns

2013-07-19 Thread Josh Faust
The ability to style ComboBox dropdowns (through ComboBoxStyle) exists, but it seems to only cover the non-popup state of the control. This means we can style how it looks until you click on it, but then we get the 'Base' MenuStyle for the dropdown. Am I missing an option somewhere to style the dr

[Interest] QtQuick: Changing duration on a PropertyAnimation while the animation is running

2013-06-17 Thread Josh Faust
Hey all, I have a RotationAnimation where I'd like to adjust the duration in real-time (it's a rotation that changes speed based on an external factor). Just changing the duration doesn't work -- it doesn't take affect until the animation is restarted, and restarting the animation also resets the

Re: [Interest] Qml bindings with javascript library functions in them

2013-06-13 Thread Josh Faust
On Thu, Jun 13, 2013 at 11:41 AM, Alan Alpert <4163654...@gmail.com> wrote: > Bindings do not update when a purely JS variable changes, it can only > respond to changes in QML properties. You could bind to something like > stateObject.value, and still be able to use > JS.setValue(stateObject.valu

[Interest] Qml bindings with javascript library functions in them

2013-06-13 Thread Josh Faust
Hey all, I have a javascript library, with functions that are used in a lot of bindings. I'm trying to get those bindings to reevaluate when some variables used inside the functions change. A simple example: // JS.js .pragma library var _Value = 0; function getValue() { return _Value; } functi

Re: [Interest] Multiple rectangles or any shapes in Scene Graph plugin?

2013-06-05 Thread Josh Faust
Hi Mark, QSGNodes form a tree, so you can do something like: QSGGeometryNode *background = new QSGGeometryNode(); QSGGeometryNode *line1 = new QSGGeometryNode(); QSGGeometryNode *line2 = new QSGGeometryNode(); // ... setup background, line1 and line2 background ->appendChildNode(line1); backgro

Re: [Interest] QtQuick Controls: custom styling

2013-05-16 Thread Josh Faust
> Yes. Not everything will be style capable in the first release. But keep > in mind that ToolButton is pretty much simply a custom styled Button, so > there is not much point in exposing it when you can simply use a custom > styled Button instead. > The ToolBarStyle and StatusBarStyle is also cur

Re: [Interest] QtQuick Controls: custom styling

2013-05-16 Thread Josh Faust
> Is this expected? Is custom styling not a supported feature? > Did some more digging, it looks like I should now be extending from the specific control's style, which works fine. However, there are some styles that do not exist in the qmldir. Is that on purpose for specific styles, or should al

[Interest] QtQuick Controls: custom styling

2013-05-16 Thread Josh Faust
The Style class is currently private, but is required as a base-class for custom styling. This wasn't the case until recently, but I'm not sure what changed to require it. Is this expected? Is custom styling not a supported feature? Josh ___ Interest ma

Re: [Interest] Qml Window: handling close events?

2013-05-06 Thread Josh Faust
> onVisibleChanged or onVisibilityChanged perhaps? But it happens after the > window is already closed, so you can do some auto-saving of data for > example, but it's a bit late to pop up a FileDialog to prompt the user > where to save (the FileDialog would have no visible parent window). > Other

[Interest] Qml Window: handling close events?

2013-05-03 Thread Josh Faust
There doesn't appear to be any way of handling Window close events in QtQuick (nor, now that I look at it, in QWindow). Am I missing something obvious? Josh ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/in

Re: [Interest] CSS with QML

2013-04-10 Thread Josh Faust
Qml does not use webkit ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest