single interface for an SP call backed by multiple
> > "syntax handlers" which is much easier than handling lots of syntactic
> > differences for any kind of operations one might want to do with a
> > database. It's not ideal, it has its drawbacks but it also has
> > adv
Hi all,
in my Qt application I've to duplicate sql instructions for MySql and
Postgres due to different sql syntax.
Most problems are on date types. For instance, MySql has DATEDIFF, Postgres
has EXTRACT, CAST...
Without using ORMs, is there a way to manage specific sql syntax?
Thanks
pm
__
20:14 GMT+02:00 Till Oliver Knoll :
> Am 08.08.14 18:08, schrieb pmqt71:
> > ...
> > @Oliver:
> > yes my problem is that QLineEdit can have only 1 validator. I think
> > inherithance should be easier than implementin a ChainValidator, am I
> right?
>
> We
You don't have to modify it. Just filter it out if it's one you don't want
> to to allow the lineedit to receive.
>
> Bo.
>
> Den 08-08-2014 16:54, pmqt71 skrev:
>
>> Hi Bo,
>> as I said, some controls already have a validator so I can't repl
ethod to change the key!
//...
}
2014-08-08 15:48 GMT+02:00 Bo Thorsen :
> Den 08-08-2014 15:41, pmqt71 skrev:
> > Hi,
> >
> > I need a QLineEdit control that forces user input in uppercase while
> > editing, not after loosing the focus.
> >
> > I
Hi,
I need a QLineEdit control that forces user input in uppercase while
editing, not after loosing the focus.
I'm trying different ways but each has side effects:
- using the textEdited signal to make the text upper : bad behaviour if
editing in the middle;
- using a validator : dislike this so