[Interest] QAccessibleQuickItem setText

2016-02-12 Thread manish sharma
I was exploring accessibility options to run some automation and looks like setting text to an item is not implemented in QAccessibleQuickItem which is preventing me from setting text to text items. https://code.woboq.org/qt5/qtdeclarative/src/quick/accessible/qaccessiblequickitem_p.h.html#83 And

[Interest] qml extension plugin in qt creator's designer

2015-07-01 Thread manish sharma
Hi, I have created a QQmlExtension plugin which has some custom qml controls. I want to include this plugin in qt-creator's qml designer so that i can drag and drop and layout my own controls. I have exported plugin and qmldir and qmltypes to correct folder but still it does not appear in import

[Interest] QMap operator<() overload.

2015-02-25 Thread manish sharma
Hi, I am using a QMap to maintain my sorted list based with QString as key. QMap list; I have certain pattern inside key of above map and want to have my own sorting order than default QString operator<(). So i have following function in my cpp. bool operator<(const QString &s1, const QString

Re: [Interest] git pull and git checkout in Qt source tree

2014-11-10 Thread manish sharma
there are some instructions in below link :- http://qt-project.org/wiki/Building_Qt_5_from_Git read 'Getting updates' and 'Using latest branches in the submodules' section. On Mon, Nov 10, 2014 at 4:32 PM, Stanislav Baiduzhyi < baiduzhyi.de...@gmail.com> wrote: > Thanx Maurice, looks like that

[Interest] rendering thread context switch

2014-09-16 Thread manish sharma
Hi, I have few quick items, each of those items render some data every few milli sec. Somewhere in my code i do something like below:- void renderNewData() { item1->update() item2->update() . item*K*->update() . . item*N*->update() } Is there a possibility of a contex

Re: [Interest] QImage from ShaderEffectSource

2014-09-15 Thread manish sharma
Thanks Gunnar, I might need this to be portable. I will figure out a way to convert texture to fbo and as suggested will do something similar in qt_gl_read_framebuffer. Regards, Manish On Mon, Sep 15, 2014 at 11:49 AM, Gunnar Sletta wrote: > > On 13 Sep 2014, at 16:28, manish sharma &

Re: [Interest] QImage from ShaderEffectSource

2014-09-14 Thread manish sharma
::enabled is the way to do this prior to Qt 5.4. > > cheers, > Gunnar > www.sletta.org > > On 13 Sep 2014, at 16:28, manish sharma <83.man...@gmail.com> wrote: > > > Hi, > > > > I found a way to get the QImage of an QQuickItem, I am aware of >

[Interest] QImage from ShaderEffectSource

2014-09-13 Thread manish sharma
Hi, I found a way to get the QImage of an QQuickItem, I am aware of QQuickWindow::grabImage and QQuickItem::grabToImage will be available in Qt5.4. So far i am getting correct QImage and it seems to work quite well. I want to know what i am doing is correct. Flow:- - create ShaderEffectSource - o

Re: [Interest] Setting QQuickItem properties inside QQuickItem::UpdatePaintNode

2014-06-04 Thread manish sharma
HI Gunnar, Thanks for the suggestion, I will use updatePolish(). Also the fix on codereview works. On Thu, Jun 5, 2014 at 10:43 AM, Gunnar Sletta wrote: > > On 05 Jun 2014, at 06:45, manish sharma <83.man...@gmail.com> wrote: > > > Hi, > > > > Qt documentation

[Interest] Setting QQuickItem properties inside QQuickItem::UpdatePaintNode

2014-06-04 Thread manish sharma
Hi, Qt documentation says "The main thread is blocked while this function is executed so it is safe to *read* values from the QQuickItem instance and other objects in the main thread." Can we only read QQuickItem properties? We can not set it? I have few QQuickItems and I am trying to set QQuickI

Re: [Interest] Drag and Drop in QtQuick

2014-05-22 Thread manish sharma
I hope you have set the MouseArea::drag.target correctly? Make sure that your drag target is either Image or it's parent. Also make sure that your drag.target does not have anchors set for drag.axis direction, for example a drag target anchored left and right can not be moved in x direction. On W

Re: [Interest] qtquick externaldragdrop crashing on x11 (Ubuntu 13.10)

2014-04-21 Thread manish sharma
Created a ticket for this https://bugreports.qt-project.org/browse/QTBUG-38479 Regards, Manish On Mon, Apr 21, 2014 at 9:48 AM, manish sharma <83.man...@gmail.com> wrote: > Hi, > > I ran externaldragdrop sample under qtdeclarative/examples/quick folder. > And it crashe

[Interest] qtquick externaldragdrop crashing on x11 (Ubuntu 13.10)

2014-04-20 Thread manish sharma
Hi, I ran externaldragdrop sample under qtdeclarative/examples/quick folder. And it crashed and below is the backtrace. The internal dragdrop sample works perfect. I was thinking to check here before logging a ticket. Regards, Manish (gdb) backtrace #0 0x7615602f in QCoreApplication::p

Re: [Interest] Dragging between separate windows in Qml

2014-04-09 Thread manish sharma
-operat Similar thing you can do in Qml, start a timer and follow your mouse base on QCursor::pos(). On Wed, Apr 9, 2014 at 3:52 PM, manish sharma <83.man...@gmail.com> wrote: > And about moving the window while mouse is being moved while in external > drag is not possible as startD

Re: [Interest] Dragging between separate windows in Qml

2014-04-09 Thread manish sharma
And about moving the window while mouse is being moved while in external drag is not possible as startDrag starts a different event loop. About the question on setting a pixmap for Drag attached property i have raised a jira ticket https://bugreports.qt-project.org/browse/QTBUG-37366and so far res

Re: [Interest] Is it possible to override dll in runtime in Qt?

2014-04-09 Thread manish sharma
you might want to take a look at http://qt-project.org/doc/qt-5/qtwidgets-tools-plugandpaint-example.html On Wed, Apr 9, 2014 at 3:29 PM, manish sharma <83.man...@gmail.com> wrote: > I think you might have to design your application something like below: > > For instance al

Re: [Interest] Is it possible to override dll in runtime in Qt?

2014-04-09 Thread manish sharma
ing > Application? > >BTW, Core.dll is dependent on Prmt.dll, how can Core.dll > know access symbols in Prmt.dll after changing Prmt.dll? > > > > Regards, > > Vincent. > > *From:* manish sharma [mailto:83.man...@gmail.com] > *Sent:* Wednesday, April 09,

Re: [Interest] Is it possible to override dll in runtime in Qt?

2014-04-08 Thread manish sharma
i think it should work using pluginloader something like below: QObject* getPrmt(QString path) { QDir pluginsDir(path) QPluginLoader loader(pluginsDir.absoluteFilePath(fileName)); return loader.instance(); } and call getPrmt function with any of "A/Prmt.dll", "B/Prmt.dll"?

[Interest] Qt Quick Drag and Drop, internal and external.

2014-03-19 Thread manish sharma
Hi, I have an Item and i would like to do an internal drag for it as long as MouseArea::mouseX is with in window range and as soon as MouseArea::mouseX goes outside window i enable external drag. Till this part it works fine. By setting Drag.dragType:Drag.Internal and on MouseArea::onPositionChan