Hello to all,
I'm a newbie of Qt and I'd like to embed an excel file into QDialog by
QAxWidget.
I search by documentation and internet and I got some example, so I try to
got it but... I reach two ways:
1) If I use *QAxWidget->setControl("C:\file.xls")* I see the sheet into my
control (as I like)
e the schema.
> 2) Example code
> 3) A picture that shows the result (The example adds a warning icon and
> a tooltip message on the first column).
>
> The example uses the MySQL Driver.
>
> Best Regards,
> Thales Lange.
>
>
> On 20-02-2012 10:55, Michele Ciampichetti
odelIndex &item, int role =
> Qt::DisplayRole ) const
>
> When "item" is your table index and role == Qt::DecorationRole, you can
> return the desirable icon.
>
> I hope this solution might be useful!
>
> Best Regards,
> Thales Lange.
>
>
> On 19-02-
Dear to all,
I need to insert an icon into every index of a QSqlQueryModel (so I
can retrieve them from DB but mark them with the icon).
I need something like QStandardItem (const QIcon &icon, const QString
&text) constructor, but I don't know how can I subclass It.
I need also to activate the tool
TableModel::setFilter(const
QString&)' discards qualifiers
Any ideas of how resolve it?
thanks a lot for your time!
Michele
2012/1/9 Michele Ciampichetti
>
> Good morning to all,
> How can I create 3 depending QCombobox, for example Country, City and Zip
Code, so that when
-- Forwarded message --
From: Michele Ciampichetti
Date: 2012/1/9
Subject: Re: [Qt-interest] Store/Retrive Image (or file) into/from QSqlite
BLOB field
To: Esdras Beleza
Dear Esdras,
thanks for your answer but... how I can do it? :) I need to subclass the
QSqlRelationDelegate
Good morning to all,
How can I create 3 depending QCombobox, for example Country, City and Zip
Code, so that when I select one, the other ones are filtered by the value
of the first one? I'm use a QSqlRelationalTableModel and 3 relations (so
also 3 QSqlTableModel). I know that I can use QComboBox s
Good morning to all,
How I can store/retreive Image (or file) into/from QSqlite BLOB field using
QDataWidgetMapper and QLabel (to show the picture) and
QSqlRelationalTableModel?
Could you send my any example?
Thanks a lot for your time
Michele
___
Inte
Good morning to all,
How can I create 3 depending QCombobox, for example Country, City and Zip
Code, so that when I select one, the other ones are filtered by the value
of the first one? I'm use a QSqlRelationalTableModel and 3 relations (so
also 3 QSqlTableModel). I know that I can use signal to f