[Interest] Simulate Android CircularReveal with Qml

2017-04-11 Thread Majid Kamali
Hi. How can I create CircularReveal [1] in Qml? I tried using both OpacityMask and ShaderEffect, but with no luck. Using CircularReveal2, transition is not circle but an ellipse, because width and height of Item are not equal. Using CircularReveal3, OpacityMask is anchored in Item and quality of it

Re: [Interest] Is there a way to simulate serial port data?

2017-04-04 Thread Majid Kamali
You can emit readyRead signal explicitly where you are using that class. mySerialPort msp; emit msp.readyRead(YourByteArray); because signal is defined as public. But this may not be a good way for testing On Wed, Mar 29, 2017 at 4:32 PM, Murphy, Sean wrote: > > I have to ask, why is it such

Re: [Interest] How to make a 2D scrollable GridView

2017-03-27 Thread Majid Kamali
See Example Usage http://doc.qt.io/qt-5/qml-qtquick-flickable.html Nesting a GridLayout inside the Flickable may be useful On Mon, Mar 27, 2017 at 10:13 PM, Lynetta Rajkovich < lynetta.rajkov...@esterline.com> wrote: > Hi! > > > I need to make a Grid that is, lets say, 15 x 15 where only a 4 x >

Re: [Interest] [QGView] Center align text item that ignores inherited transformation

2016-11-23 Thread Majid Kamali
Hi. Check this code: void centerItemInRect(QGraphicsItem *item, QRectF rect) { float x = rect.width() - item->boundingRegion(item->transform()).boundingRect().width(); x /= 2; float y = rect.height() - item->boundingRegion(item->transform()).boundingRect().height(); y /= 2; it

[Interest] Fwd: QtCreator 3.6.1 on Linux

2016-06-08 Thread Majid Kamali
I have the same Issue on Qt Creator 3.6.1 I think it is very old bug, because I saw that in videos created by voidrealms owner, he uses Qt Creator 2.x I think (with Qt 4.8) ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mail

[Interest] Showcase Item in QML

2016-05-18 Thread Majid Kamali
Hi. How can I create some showcase item in QML? something like https://github.com/deano2390/MaterialShowcaseView ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest