Re: [Interest] QTextEdit and Style sheets

2012-03-12 Thread Tony Rietwyk
Hi Graham, Have you tried using url(qrc:/images/Chrysanthemum.png) ? Sorry, I can't find a help reference for this. Tony. From: interest-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of graham labdon

[Interest] QML and C++ types mapping

2012-03-12 Thread STEFANI Mathieu
Hi, These last days, I'm playing with QML, by making a Calendar application (or at least trying to). However, I'm facing an issue : I want to emit a clicked(date d) from my QML file and connect it to a private slot in my C++ view (a subclass of QDeclarativeView). But QObject tells me that such

Re: [Interest] qmake Conditions and Scopes

2012-03-12 Thread Szalata, Zenon M.
Thank you for your suggestion. It is something that I can use. Zen > -Original Message- > From: interest-bounces+zms=slac.stanford@qt-project.org > [mailto:interest-bounces+zms=slac.stanford@qt-project.org] On Behalf Of > Lincoln Ramsay > Sent: Sunday, March 11, 2012 10:13 PM > To

Re: [Interest] DBus multithreading problems with Qt 4.8

2012-03-12 Thread Marc Mutz
On Friday March 9 2012, christian_weilb...@web.de wrote: > Nobody can help me on #kde-devel or the kde-devel list and I am out of > ideas. What can I do to make it work again? I am likely doing it wrong, but > am stuck. Has anything significant changed in Qt 4.8 in this regard? If you have a test

Re: [Interest] QTextEdit and Style sheets

2012-03-12 Thread Jason H
It could be that you Need to add "QTextEdit{ %1 }" to your spec. Rather what I prefer to do is set the stylesheet for the whole app in the main.cpp. To specifically target this textbox and not every textbox, you can use: QTextEdit#objectName { } From: Graham

Re: [Interest] QTextEdit and Style sheets

2012-03-12 Thread Bill Crocker
On 03/12/2012 09:12 AM, Graham Labdon wrote: > I realise that using the colon implies a compilied in resource but this > resource > exits and can be used to set the background image on a push button > > Any other ideas? > I resolve most of my Qt problems by tracing execution through the source. S

Re: [Interest] QTextEdit and Style sheets

2012-03-12 Thread Graham Labdon
I realise that using the colon implies a compilied in resource but this resource exits and can be used to set the background image on a push button Any other ideas? From: interest-bounces+graham.labdon=avalonsciences@qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences@q

Re: [Interest] QT4.8.0, Win7: QTextEdit (insertHtml) working too slowly.

2012-03-12 Thread Harri Pasanen
Is your QTextEdit format rich text? The reason I ask, is that I found that QML TextEdit was unusably slow on Android (using Necessitas) if RichText was used. It took like 10 seconds to display ~100 lines of text on Nexus One the first time. Subsequent displays were fast. My guess was that font met

Re: [Interest] QTextEdit and Style sheets

2012-03-12 Thread Jason H
You've understanding it fine. But the colon in the filename means, it's a complied-in resource. While you develop/test, I would suggest taking the colon out and using the file system. All you have to do without usingĀ  style sheets is subclass QTextEdit then re implement draw, draw your water m

[Interest] QT4.8.0, Win7: QTextEdit (insertHtml) working too slowly.

2012-03-12 Thread mat //common mail
Hi, *OS: Windows 7, 64 bit* *SDK: Qt_SDK_Win_offline_v1_2_en* *Qt 4.8.0 * *mingw* *My experiment:* void MainWindow::*SlotInsertLat*() // for insertLatBtn { QTime timer; timer.start(); *InsertText*( QString("Text text text text text text text text text text text text.") ); // Latin text (UT

[Interest] QTextEdit and Style sheets

2012-03-12 Thread graham labdon
Hi I am trying to set a background image on a QTextEdit using setStyleSheet - textEdit->setStyleSheet(QString::fromUtf8("background-image: url(:/images/Chrysanthemum.png);background-attachment: fixed")); However, this doe not work. Am i misunderstanding the documentation or is it not possible?

Re: [Interest] QTextEdit and watermark

2012-03-12 Thread Jason H
I know what a watermark is. I don't know start you mean by watermark in a text edit though. Got a pic as an example? -J ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QTextEdit and watermark

2012-03-12 Thread Graham Labdon
Hi I have a QTextEdit in which I want to display a watermark Could someone tell me if this is possible and how I can achieve this Thanks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest