[Interest] QPlainTextEdit and zoom-in / zoom-out

2013-01-26 Thread Wilhelm
Hi all, is there a way to implement a text zoom-in/-out for a QPlainTextEdit (like QTextEdit e.g.). The only way I managed to change the QPlainTextEdit font was to set the default font for the whole application. Any hints? -- Wilhelm ___ Interest

Re: [Interest] Problem with QSharedMemory

2013-01-26 Thread Guido Seifert
> Yes. The QSharedMemory code is really racy. If you attach and detach, > create and attempt to destroy, it's quite easy to get the QSharedMemory > code to fail. Thanks. It is easy to workaround this problem. Just makes my code a little bit more complicated than it has to be. I wanted a second

Re: [Interest] QThreads: There's no one way to "do it right"! :)

2013-01-26 Thread K. Frank
Hello Mandeep and Friends! On Wed, Jan 23, 2013 at 2:42 AM, Mandeep Sandhu wrote: > First I thought "I was doing it right" > > Then they said "you're doing it wrong" > (http://blog.qt.digia.com/blog/2010/06/17/youre-doing-it-wrong/) > > Then I thought "I _finally_ got it right"!! > > Now they say

Re: [Interest] Problem with QSharedMemory

2013-01-26 Thread Thiago Macieira
On sábado, 26 de janeiro de 2013 11.38.58, Guido Seifert wrote: > The program runs for hrs and the code seems to be ok. Most of the time. But > in my logs I see, that from time to time I get an error. The shared memory > cannot be created, because it already exists. I can live with it, but it > loo

Re: [Interest] Does this time suitable for SQL plugins

2013-01-26 Thread Thiago Macieira
On sábado, 26 de janeiro de 2013 16.12.51, M. Bashir Al-Noimi wrote: > > Just remind us when the time for 5.1.0 comes, in about a month (after the > > feature freeze). > > I don't know when feature freezing will comes. In about a month :-) -- Thiago Macieira - thiago.macieira (AT) intel.com Soft

Re: [Interest] How to save QTextEdit content by QSqlQuery

2013-01-26 Thread Mark Brand
Andre Somers wrote: > As long as you use the binding feature of QSqlQuery to put your HTML > in your query, as opposed to trying to build the sting manually, you > should be fine. > > André > Thanks for mentioning this posibility. It didn't occur to me in time for my earlier comment in this

Re: [Interest] How to save QTextEdit content by QSqlQuery

2013-01-26 Thread Andre Somers
Op 26-1-2013 0:51, M. Bashir Al-Noimi schreef: Hi guys, I want to save the content of QTextEdit to the database through QSqlQuery... how can I do that? Running textEdit->toHtml() won't work because the returned string has many illegal characters to execute into sql. As long as you use the bi

Re: [Interest] How to save QTextEdit content by QSqlQuery

2013-01-26 Thread Mark Brand
M. Bashir Al-Noimi wrote: > Hi guys, > > I want to save the content of QTextEdit to the database through > QSqlQuery... how can I do that? > > Running textEdit->toHtml() won't work because the returned string has > many illegal characters to execute into sql. If you are trying to get a string f

Re: [Interest] Does this time suitable for SQL plugins

2013-01-26 Thread M. Bashir Al-Noimi
On 26/01/2013 04:55 ص, Thiago Macieira wrote: > On sábado, 26 de janeiro de 2013 03.29.52, M. Bashir Al-Noimi wrote: >> Do I&aps;ve to subscribe to [Development] mailing list for adding my >> suggest? > Just remind us when the time for 5.1.0 comes, in about a month (after the > feature freeze). I d

[Interest] Problem with QSharedMemory

2013-01-26 Thread Guido Seifert
Hi, I have a minor problem with QSharedMemory. I do the necessary lock/unlock and attach/detach. Process 1 creates a shared memory segment, writes into it. Process 2 attaches, reads, and detaches. Process 1 detaches. This should destroy the shared memory segment, since no process references it a