Hello!
There's nice qt docs example here:
http://doc.qt.nokia.com/4.7-snapshot/sql-sqlwidgetmapper.html
demonstrating QSqlRelationalTable, QDataWidgetMapper and QComboBox.
They setup model:
...
query.exec("create table person (id int primary key, "
"name varchar(20
You can set a style sheet for a specific widget only. Look in examples.
On 2/23/12 6:34 AM Pritam wrote:
On Thursday 23 February 2012 05:46 PM, Николай Шатохин wrote:
So, If I change StyleSheet of CentralWidget then I must change StyleSheets of
all children Widgets? So, is it possible to see de
Does Qt's QXmlQuery have implementation specific (extension) functions that can
be used within the XQuery scripts?
Saxon, Mark Logic, XQilla, and other implementations of XQuery engines have
extension functions. Where can I find QXmlQuery's?
Or are we supposed to use something like EXSLT
Thanks. I found out that the issue is that Harfbuzz is only used on Mac
(even when enabled) for fonts that have GSUB and GPOS tables. I assumed
that it was used for all TTF fonts (which Harfbuzz can shape). But
apparently Qt can't/doesn't distinguish between AAT fonts and TTF fonts
except for n
Thank you Thiago,
If the "Pixmap is not an X11 ..." bug has been fixed, why then, the creator
installed with the SDK installer prints these messages? Is there a patch that
could be installed?
Zen
> -Original Message-
> From: interest-bounces+zms=slac.stanford@qt-project.org
> [mail
Thanks everyone! This would have taken me ages to figure out. #4 it is.
From: Thiago Macieira
To: interest@qt-project.org
Sent: Thursday, February 23, 2012 10:49 AM
Subject: Re: [Interest] Proper use of SharedPointer/WeakPointer
On quinta-feira, 23 de fevere
On quinta-feira, 23 de fevereiro de 2012 06.40.29, Jason H wrote:
> Hrm, my objects do have parents, and when the parent goes, the children need
> to go too. How is that resolved?
It isn't.
You must resolve this on your own. Suggestions:
1) don't set a parent
2) don't put them in a QSharedPointe
Hrm, my objects *do* have parents, and when the parent goes, the children need
to go too. How is that resolved?
From: André Somers
To: interest@qt-project.org
Sent: Thursday, February 23, 2012 9:37 AM
Subject: Re: [Interest] Proper use of SharedPointer/WeakP
Op 23-2-2012 15:29, Thiago Macieira schreef:
> On quinta-feira, 23 de fevereiro de 2012 06.26.19, Jason H wrote:
>> So in a return-everything query function, it would look like:
>>
>> QList > ObjectDatabase::returnAll()
>> {
>> QList > results;
>> foreach (const obj, m_pObjects)
>>
On quinta-feira, 23 de fevereiro de 2012 06.26.19, Jason H wrote:
> So in a return-everything query function, it would look like:
>
> QList > ObjectDatabase::returnAll()
> {
> QList > results;
> foreach (const obj, m_pObjects)
> {
>
> results << QSharedPointer(obj);
> }
>
On Thursday 23 February 2012 07:40 PM, Jason H wrote:
I have an object database (objects inherit QObject) which is
queryable. The result of the query is a list of zero or more objects.
I don't want to give pointers themselves, as people could call delete
on them and destroy the database.
In t
On quinta-feira, 23 de fevereiro de 2012 16.11.31, Николай Шатохин wrote:
> Hello.
>
> Is it possible to develop Google NaCl applications by Qt and with interface
> by QML?
Yes. See
http://labs.qt.nokia.com/2010/06/25/qt-for-google-native-client-preview/
There's some work going on to bring this
Hello.
Is it possible to develop Google NaCl applications by Qt and with interface
by QML? Is it possible to port NaCl to other browsers, not only Google
Chrome and Chromium?
Best regards,
Nick
___
Interest mailing list
Interest@qt-project.org
http://li
I have an object database (objects inherit QObject) which is queryable. The
result of the query is a list of zero or more objects. I don't want to give
pointers themselves, as people could call delete on them and destroy the
database.
In this example:
QList results = objDb.query();
I want res
On Thursday 23 February 2012 05:46 PM, Николай Шатохин wrote:
So, If I change StyleSheet of CentralWidget then I must change
StyleSheets of all children Widgets? So, is it possible to see default
stylesheets of widgets? What stylesheet do I must to set to create
button with rounded corners and
You can use something like the following for only the button with the object
name (mybutton):
QPushButton#mybutton {
border: 2px solid gray;
border-radius: 3px;
}
In the code you must use:
pButton->setObjectName("mybutton");
But I recommend that you have a look on QStyle.
Best Regards
Op 23-2-2012 13:16, Николай Шатохин schreef:
> So, If I change StyleSheet of CentralWidget then I must change
> StyleSheets of all children Widgets? So, is it possible to see default
> stylesheets of widgets? What stylesheet do I must to set to create
> button with rounded corners and different
So, If I change StyleSheet of CentralWidget then I must change StyleSheets
of all children Widgets? So, is it possible to see default stylesheets of
widgets? What stylesheet do I must to set to create button with rounded
corners and different pictures on click, mouse over, selection, normal and
dis
This isn't possible. I know there where a hack/workaround but this doesn't work
either.
Best Regards
Am 23.02.2012 um 12:14 schrieb Николай Шатохин :
> Hello.
>
> When I set custom StyleSheet in CentralWidget or MainWindow, all children
> widgets and elements lost their default StyleSheets. H
Hello.
When I set custom StyleSheet in CentralWidget or MainWindow, all children
widgets and elements lost their default StyleSheets. How to keep default
StyleSheets in cheldren elements? And how to disable ugly pink selection in
buttons when I change it StyleSheets?
Best regards,
Nick
__
Joshua Grauman wrote:
> According to this page, it is now possible to enable Harfbuzz on Mac by
> setting
> an environment variable:
> https://bugreports.qt-project.org/browse/QTBUG-17728
>
> However, unless I'm missing something I haven't been able to enable
> Harfbuzz on Mac. I'm using Qt 4.8,
On quarta-feira, 22 de fevereiro de 2012 21.11.34, Szalata, Zenon M. wrote:
> I suppose if I deleted ~/.config/Nokia from my home directory, then the
> installation would succeed. However, it is very likely that the
> installation would break next time RedHat upgraded some component in its qt
> in
22 matches
Mail list logo