Re: [SailfishDevel] Big images in qml rich text

2015-07-29 Thread Samuli Silvius
Thanks you are so fast to answer :) I was afraid of that answer:( And there is no way to detect big images, but I would need to do it for all images... loosing correct places of images in the page. Br -Samuli 2015-07-29 22:50 GMT+03:00 Andrey Kozhevnikov : > i can suggest to remove images from

Re: [SailfishDevel] Big images in qml rich text

2015-07-29 Thread Andrey Kozhevnikov
i can suggest to remove images from html and paste it below with Image component. -- Исходное сообщение -- От: "Samuli Silvius" Кому: "Sailfish OS Developers" Отправлено: 30.07.2015 0:46:56 Тема: [SailfishDevel] Big images in qml rich text Hi, I have a problem with jolla2gether app

[SailfishDevel] Big images in qml rich text

2015-07-29 Thread Samuli Silvius
Hi, I have a problem with jolla2gether app when question includes big image. App is showing text as rich text with qml html markup i..e images are shown as . If image size in very big it will jam not only the app but whole phone until it reboots itself. Any way to prevent? img tag supports only w

Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread Amilcar Santos
My best guess is: go through WebView document + Javascript: Here's an example from Webcat project (FirstPage.qml): webview.experimental.evaluateJavaScript("document.body.style.backgroundColor=\"#262626\"; document.body.style.color=\"#FF\""); https://github.com/llelectronics/webcat/ Check

Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread yurumi
Thanks for the reply! Adding webkitwidgets results in: Project ERROR: Unknown module(s) in QT: webkitwidgets I tried this before but thought it was some Qt 4.X stuff because of the error message. So maybe QWidgets *are* permitted? In that case, what would be an alternative approach? Cheers, Th

Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread Amilcar Santos
>From docs: Header: #include qmake: QT += webkitwidgets Since: Qt 4.4 Inherits: QObject As far as I known, dependencies with QWidgets aren't permitted in Sailfish OS. B.G. Amilcar 2015-07-28 22:57 GMT+01:00 yurumi : > Hi all, > > I would like to load a web page and programmatically fill in a u