Re: [Development] Qt Installer Framework to allow only Updates

2015-05-07 Thread Juan Navarro
/ and no updates are available. widget.findChild("PackageManagerRadioButton").updatesEnabled = false; widget.findChild("UninstallerRadioButton").updatesEnabled = false; } } On Tue, May 5, 2015 at 2:29 PM, Juan Navarro wrote: > I am attempting to create an u

[Development] Qt Installer Framework to allow only Updates

2015-05-05 Thread Juan Navarro
I am attempting to create an updater tool for my already installed application in a locked-down system. The Maintenance tool from the Qt Installer Framework seems perfect, with its integration with remote repositories, but I would need to remove the "Add" and "Remove" components options, leaving on

[Development] QML CheckBox, ComboBox & QObject property bindings

2014-07-10 Thread Juan Navarro
king on buttons 1, 2 & 3 and editing the fields, will show how all values are properly stored on their corresponding data objects, but Components won't load their corresponding values. Could you please enlighten me about this issue? Regards, Juan Navarro __

[Development] Inconsistent resizing of QQuickView (unexpected item’s width & height)

2014-04-15 Thread Juan Navarro
Hi all, I'm facing a problem when resizing a QQuickView instance and I'd like to ask some developers if this issue is a bug or either an error on my side (Qt Project forums thread: http://qt-project.org/forums/viewthread/41445/) I have a simple test case that produces different output when ran on

Re: [Development] Implementation of qFuzzyCompare and zero values

2013-07-26 Thread Juan Navarro
On Thu, Jul 25, 2013 at 5:26 PM, Thiago Macieira wrote: > > if ((qFuzzyIsNull(p1) && qFuzzyIsNull(p2)) || qFuzzyCompare(p1, p2)) > > That's exactly like the macro with which I end up "convering" the current Qt implementation. On your first reply, you also said that On Thu, Jul 25, 2013 at 1:19 AM

[Development] Implementation of qFuzzyCompare and zero values

2013-07-24 Thread Juan Navarro
Hello all, I’m using qFuzzyCompare(a, b) in order to handle all floating point comparisons, but it has severe limitations when a or b may be zero. Somewhere in the docs it is recommended to add +1 to the values, but this is not a really useful suggestion because some of the values might be -1.0,