thanks a lot, Mark!
I made the following things:
from MainForm
self.connect(self.ui.srcTable.selectionModel(),
QtCore.SIGNAL("currentRowChanged(QModelIndex, QModelIndex)"),
self.frmTableFilter)
further:
def frmTableFilter(self):
index = self.ui.srcTable.currentIndex()
if index
On 2010-06-14, Vadym Honcharuk wrote:
> thank you, Mark!
>
> one more question about applying filter in the context of
> QSortFilterProxyModel:
[snip]
>
> Question what method is analog of SQL setFilter() in context of
> QSortFilterProxyModel?
There are two approaches you can take with QSortFilt
thank you, Mark!
one more question about applying filter in the context of QSortFilterProxyModel:
in MainForm() i created connection
self.connect(self.ui.TABLE#1.selectionModel(),
QtCore.SIGNAL("currentRowChanged(QModelIndex, QModelIndex)"),
self.TABLE#2Filter),
further (in simple way)
def
On 2010-06-05, Vadym Honcharuk wrote:
> works excellent! Thanks a lot!
:-D
> one question almost on this issue: only one QDataStream may exist per
> one file? May be one more approach is separate QDataStream for each
> tables and in one file?
Yes, only *one* QDataStream per file!
If you wante
works excellent! Thanks a lot!
one question almost on this issue: only one QDataStream may exist per
one file? May be one more approach is separate QDataStream for each
tables and in one file?
with best regards,
-vadym
2010/6/5 Mark Summerfield :
> On 2010-06-05, Mark Summerfield wrote:
>> On 2
On 2010-06-05, Mark Summerfield wrote:
> On 2010-06-05, Vadym Honcharuk wrote:
> > Thanks a lot, Mark!
>
> Hi Vadym,
>
> One approach that you could take is to write the count of how many
> things you're going to write and then write the things. For example,
> you could try something like this:
>
On 2010-06-05, Vadym Honcharuk wrote:
> Thanks a lot, Mark!
Hi Vadym,
One approach that you could take is to write the count of how many
things you're going to write and then write the things. For example,
you could try something like this:
write data:
srcCount = self.srcTableModel.count()
Thanks a lot, Mark!
thereis problem rather how to read data from file than write it in
using QDataStream. As all tree tables may contain different and
unknown number of rows I find difficults to iterate row when read data
from stream. For example:
write data:
stream = QtCore.QDataS
On 2010-05-20, Vadym Honcharuk wrote:
> 2010/5/9 Mark Summerfield :
[snip]
> Thank you, Mark!
>
> One more question in this issue is how to save data from these three
> tables with different models in one file by QDataStream module. The
> point of problem in that save method calling from their mo
2010/5/9 Mark Summerfield :
> On 2010-05-08, Vadym Honcharuk wrote:
>> Hi to All,
>>
>> I need three tables with master-detail relationship one to other. I
>> made QTableView Model from Mark book and three vertical frame on one
>> page for it. How possible connect these tables with master-detail
>
On 2010-05-08, Vadym Honcharuk wrote:
> Hi to All,
>
> I need three tables with master-detail relationship one to other. I
> made QTableView Model from Mark book and three vertical frame on one
> page for it. How possible connect these tables with master-detail
> relationship? Examples are really
Hi to All,
I need three tables with master-detail relationship one to other. I
made QTableView Model from Mark book and three vertical frame on one
page for it. How possible connect these tables with master-detail
relationship? Examples are really welcome if possible...
thanks a lot!
with best
12 matches
Mail list logo