Re: [Interest] QML WebView modules

2017-04-04 Thread Nibedit Dey
Dear Sze-Howe, I haven't worked much in Qt web modules. But below is my understanding. With Qt 5.5 the Qt WebKit module is deprecated:( https://wiki.qt.io/New-Features-in-Qt-5.5#Deprecated_Functionality) QWebView uses WebKit as the backend. QWebEngineView uses Chromium as the backend. WebView

Re: [Interest] QListWidgetItem selection border too large

2017-04-04 Thread Frank Rueter | OHUfx
Ah, thanks Jake, that would explain it. I am using an earlier version. The host software I tested this in uses 4.8.5 though and somehow the problem doesn't appear in their version. I wonder if there is a way to workaround this bug (as it will have to work as a standalone rather than run inside

Re: [Interest] QListWidgetItem selection border too large

2017-04-04 Thread Jake Petroules
Which version of Qt are you using? I believe this was fixed by https://codereview.qt-project.org/#/c/150307/ in Qt 5.6. See also https://bugreports.qt.io/browse/QTBUG-50645 > On Apr 4, 2017, at 1:59 PM, Frank Rueter | OHUfx wrote: > > Hi, > > I have two QListWidgets living

Re: [Interest] QML WebView modules

2017-04-04 Thread Sze Howe Koh
On 4 April 2017 at 21:39, Nibedit Dey wrote: > > > Hi Mark, > > Qt WebEngine is only supported on desktop platforms.Hence Linux is supported. > It's not supported on mobile platforms yet .So Qt 5.5.1 doesn't support. > Refer: https://doc.qt.io/archives/qt-5.5/qtmodules.html

Re: [Interest] WebEngineView memory cache

2017-04-04 Thread Allan Sandfeld Jensen
On Tuesday 04 April 2017, Jani Tykka wrote: > Hi, > > WebEngineViews has possibility to set: > profile.httpCacheType: WebEngineProfile.MemoryHttpCache > > Even though memory cache is set I can see that WebCache directory is > created and data written there. Is this a bug or do you think it works

[Interest] QListWidgetItem selection border too large

2017-04-04 Thread Frank Rueter | OHUfx
Hi, I have two QListWidgets living in a QSplitter. I need the items to be editable. Some of the item labels are longer than the visible label. When I edit one, it's selection border extends right across the splitter like this: It seems that the selection box is as large as the longest item

[Interest] [Qt Connectivity] Bluetooth state is not a HostPoweredOff on Android when turning it off

2017-04-04 Thread Oleg Evseev
Hi, I'm working with bluetooth on android. Handling bluetoothLocalDevice hostModeStateChanged signal I get HostConnectable on one tablet (Android 5.1) and HostDiscoverable on another phone (Android 4.4.4) when I *turn off* (!) bluetooth in system. And no signals when I turn bluetooth on in system

Re: [Interest] QPrintPreviewWidget

2017-04-04 Thread Dan Allen
No problem. Thanks Roland. On 04/04/17 18:32, Roland Hughes wrote: Not ignoring your question Bill, but this response answered it better. There is always __something__ which gets in the way. Ultimately you end up needing an object which can only exist in the primary thread due to the tight

Re: [Interest] QPrintPreviewWidget

2017-04-04 Thread Roland Hughes
Not ignoring your question Bill, but this response answered it better. There is always __something__ which gets in the way. Ultimately you end up needing an object which can only exist in the primary thread due to the tight coupling of that thread to the underlying windowing system and that

Re: [Interest] QPrintPreviewWidget

2017-04-04 Thread Dan Allen
Thanks for your help Bill. On 04/04/17 17:56, william.croc...@analog.com wrote: On 04/04/2017 11:52 AM, Dan Allen wrote: Hi Bill, What you've listed below is pretty much how my printing mechanism works. This works perfectly and I'm happy with it. I'm still a little confused as to why the

Re: [Interest] QPrintPreviewWidget

2017-04-04 Thread william.croc...@analog.com
On 04/04/2017 11:52 AM, Dan Allen wrote: Hi Bill, What you've listed below is pretty much how my printing mechanism works. This works perfectly and I'm happy with it. I'm still a little confused as to why the preview can't operate in the same way. If another thread paints into a QImage and

Re: [Interest] QPrintPreviewWidget

2017-04-04 Thread Dan Allen
Hi Roland, Not 100% sure what you mean in the first part. Are you also saying I shouldn't use a another thread? Thanks, Dan Allen. On 04/04/17 12:24, Roland Hughes wrote: You know, "painting into an off screen image is not GUI related" __should__ be true. Haven't tried it since 4.8.x,

Re: [Interest] QPrintPreviewWidget

2017-04-04 Thread Dan Allen
Hi Bill, What you've listed below is pretty much how my printing mechanism works. This works perfectly and I'm happy with it. I'm still a little confused as to why the preview can't operate in the same way. If another thread paints into a QImage and then informs the dialog using a signal

Re: [Interest] QML WebView modules

2017-04-04 Thread Nibedit Dey
Hi Mark, Qt WebEngine is only supported on desktop platforms.Hence Linux is supported. It's not supported on mobile platforms yet .So Qt 5.5.1 doesn't support. Refer: https://doc.qt.io/archives/qt-5.5/qtmodules.html To use WebView module, in pro file add: QT += webkit

[Interest] Using QAndroidStyle without depending on private headers?

2017-04-04 Thread Nikos Chantziaras
If I don't do: QT += widgets-private in the project file, and then: #include // ... app.setStyle(new QAndroidStyle); then I'm getting the default style (Fusion, I think) on Android on subsequent runs of the application. The android style is only used the very first time the

Re: [Interest] QPrintPreviewWidget

2017-04-04 Thread Roland Hughes
You know, "painting into an off screen image is not GUI related" __should__ be true. Haven't tried it since 4.8.x, but it certainly wasn't true back then. Desperately wanted to thread off the generating of many pixmaps which would be later BLITted onto the touch screen as needed by

[Interest] WebEngineView memory cache

2017-04-04 Thread Jani Tykka
Hi, WebEngineViews has possibility to set: profile.httpCacheType: WebEngineProfile.MemoryHttpCache Even though memory cache is set I can see that WebCache directory is created and data written there. Is this a bug or do you think it works as expected? Jani -- This email is intended solely

[Interest] QML WebView modules

2017-04-04 Thread Mark Tucker
Hi, I'm currently trying to create a QML app that works on both a Linux platform and an Android platform. Due to the nature of my target platforms (embedded systems), I'm limited to Qt 5.5.1 and cannot upgrade. Note that my app is pure QML and I cannot write any C++ code to solve this. To get

Re: [Interest] Qt3D simple geometry example

2017-04-04 Thread Sean Harmer
Hi, On Tuesday 04 April 2017 11:55:18 Igor Mironchik wrote: > Hi, > > Thank you. > > In QPlainGeometry I found that they use position, texture coordinate, > normal and tangent to describe vertex data. > > So my question is - why they need tangent, and why tangent defined with > 4 floats? > >

Re: [Interest] Qt3D simple geometry example

2017-04-04 Thread Igor Mironchik
Hi, Thank you. In QPlainGeometry I found that they use position, texture coordinate, normal and tangent to describe vertex data. So my question is - why they need tangent, and why tangent defined with 4 floats? //tangent *fptr++=1.0f; *fptr++=0.0f; *fptr++=0.0f; *fptr++=1.0f;

Re: [Interest] Is the QtOpenGLExtensions module official?

2017-04-04 Thread Sean Harmer
On Thursday 16 March 2017 20:52:30 Stefan Monov wrote: > Hi. > > I need to do something very simple - use OpenGL extensions in my Qt > code. For this, I've found this link [1] which says the best way is > the QtOpenGLExtensions module. But this module doesn't exist in the > documentation. Does

Re: [Interest] Qt3D simple geometry example

2017-04-04 Thread Oleg Evseev
Hi, Igor Take a look on this examples in qt3d/tests/manual folder: custom-mesh-cpp custom-mesh-qml custom-mesh-update-data-cpp custom-mesh-update-data-qml I think they are exactly what you need. With regards, Oleg. 2017-04-04 11:01 GMT+03:00 Igor Mironchik : >

[Interest] Qt3D simple geometry example

2017-04-04 Thread Igor Mironchik
Hello, Did anybody see any very simple example of Qt3D geometry creation. Let it be a simple plain ellipse. Can anybody explain in a few words what should be done to generate such geometry in 3D. Thank you. ___ Interest mailing list

Re: [Interest] Will QtWebEngine Available for Mobile?

2017-04-04 Thread Jake Petroules
No, it won't (this is in large part due to platform restrictions, especially on iOS). Can you elaborate on why QtWebView is not flexible enough for your use case? > On Mar 16, 2017, at 12:31 PM, Programcı Kanguru > wrote: > > Hi; > WebView is available for

[Interest] Qt Bulgarian translation

2017-04-04 Thread Любомир Василев
Hello! I have translated all of the Qt localisation files to Bulgarian. I didn't post here first, as I communicated with Oswald Buddenhagen, and understood that there is no such translation started. Moreover, I didn't want to communicate in the open, until I have something to show, but I

[Interest] Will QtWebEngine Available for Mobile?

2017-04-04 Thread Programcı Kanguru
Hi; WebView is available for mobile, but it's not flexible. Will QtWebEngine available for Android, iOS, Windows Mobile ...? Thanks. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Is the QtOpenGLExtensions module official?

2017-04-04 Thread Stefan Monov
Hi. I need to do something very simple - use OpenGL extensions in my Qt code. For this, I've found this link [1] which says the best way is the QtOpenGLExtensions module. But this module doesn't exist in the documentation. Does anyone know why? TIA, Stefan [1]