[PyQt] Read data from spanned cell of Qtablewidget

2012-09-06 Thread Vadym Honcharuk
Good day! about subject - return errors... AttributeError: 'NoneType' object has no attribute 'data' setSpan() work ok, display correctly but how now read from these cells data? clearSpan() ? thanks a lot! with best regards, -vadym -- Vadym Honcharuk, n

[PyQt] Disable QSpinBox in QTableView

2012-04-20 Thread Vadym
mns. So, I dont understand is it feature and right behaviour or my mistake? In any case I like to disable this editor or, at least, find how it can be modified? Couple hours with google didn't give me any result... Thanks a lot! With best regards, -vadym

[PyQt] Rotated text in QTableWidget cell

2012-04-10 Thread Vadym
). So, question is how better rotate on 90 degree text in table cell (which served as header)? Unfortunately google didnt said me anything intelligible. Thanks a lot! With best regards, -vadym ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] QLineEdit in QToolBar

2011-12-01 Thread Vadym Honcharuk
> > You may want to use new style signals, this would have thrown a (hard to > ignore) python exception then... > > self.searchDBLine.textChanged.connect(self.searchBDLineChanged) > > Pete > it works fine! with best regards, -vadym

[PyQt] QLineEdit in QToolBar

2011-11-30 Thread Vadym Honcharuk
archDBLine) self.ui.toolBar.addAction(self.searchDBLineAction) and connected with: * @QtCore.pyqtSignature * usual signal connect (self.connect(self.searchDBLine, QtCore.SIGNAL("textEdited()"), self.searchBDLineChanged)) but without any success, could you please advice where is problem? t

[PyQt] setData in QTableView

2011-04-11 Thread Vadym
(other file) with code: import trianon ... trianon.emsTableModel().setData((trianon.emsTableModel().index(0, 2)), QtCore.QVariant(111)) becomes nothing... nor error, nor success where is mistake? -- Vadym Honcharuk, nic-handle:vh20-uanic ___ PyQt

[PyQt] Multiple widgets in one ui file?

2010-11-27 Thread Vadym Honcharuk
y separate file for every widget possible? I asking because less files - easy their managment... Thanks! regards, -vadym -- Vadym Honcharuk, nic-handle:vh20-uanic ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.c

Re: [PyQt] QWidget over QTableView

2010-11-24 Thread Vadym Honcharuk
QWidget from cell? _ ___ | | | | | | | file with data | ---> | search box | ---> | QTableView | || |__||___| thanks a lot! with best regards. -vadym 2010/11/

Re: [PyQt] Complex header of QTableView

2010-11-24 Thread Vadym
thank you Hans-Peter! Sorry for enought common question about but I asked rather the way to resolve problem than specific code for me. Seems for multilevel table headers better creates two different tables: one as header and one properly for data? thanks a lot! with best regards, -vadym 2010/11

[PyQt] QWidget over QTableView

2010-11-24 Thread Vadym Honcharuk
. with best regards, -vadym ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Complex header of QTableView

2010-11-23 Thread Vadym
strange situation... i didn't see my email in list during more than two days ago so decided that something wrong with list or my email... Sorry if I bothered you. with best regards, -vadym 2010/11/23 Arnold Krille > On Tuesday 23 November 2010 15:36:18 Vadym wrote: > > I c

[PyQt] Complex header of QTableView

2010-11-23 Thread Vadym
ng or exists roundabout ways, could you please share your recipes? Thanks a lot! With best regards, -vadym -- Vadym Honcharuk, nic-handle:vh20-uanic ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Complex header of QTableView

2010-11-23 Thread Vadym Honcharuk
ng or exists roundabout ways, could you please share your recipes? Thanks a lot! With best regards, -vadym -- Vadym Honcharuk, nic-handle:vh20-uanic ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Complex header of QTableView

2010-11-22 Thread Vadym Honcharuk
ng or exists roundabout ways, could you please share your recipes? Thanks a lot! With best regards, -vadym ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Complex header of QTableView

2010-11-22 Thread Vadym Honcharuk
l but perhaps I wrong or exists roundabout ways, could you please share your recipes? Thanks a lot! With best regards, -vadym <>___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Master-detail relationship with plain QTableView tables (no SQL database)

2010-06-17 Thread Vadym Honcharuk
ake filter filterFrmTable.setFilterRegExp(regExp) # use filter Seems work correctly and enought simple and shortly but I not sure if it's right way... with best regards, -vadym 2010/6/17 Mark Summerfield : > On 2010-06-14, Vadym Honcharuk wrote: >> thank you, Mark! >> >> one mo

Re: [PyQt] Master-detail relationship with plain QTableView tables (no SQL database)

2010-06-13 Thread Vadym Honcharuk
ply filter --->filterFrmTable.???(srcCode)<-- Question what method is analog of SQL setFilter() in context of QSortFilterProxyModel? Thanks in advance! With best regards, -vadym 2010/5/9 Mark Summerfield : > On 2010-05-08, Vadym Honcharuk wrote: >> Hi to All, >> >

Re: [PyQt] Master-detail relationship with plain QTableView tables (no SQL database)

2010-06-05 Thread Vadym Honcharuk
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: &g

Re: [PyQt] Master-detail relationship with plain QTableView tables (no SQL database)

2010-06-04 Thread Vadym Honcharuk
evolvingGasTemperature = stream.readInt32() self.frmTableModel.ships.append(frmShip(formationSrcName, evolvingGasDepletion, evolvingGasTemperature)) It works only if each tables contains one row. thanks a lot! with best regards, -vadym 2010/5/20 Mark Summerfield : > On 2010-05-20, Va

Re: [PyQt] Master-detail relationship with plain QTableView tables (no SQL database)

2010-05-19 Thread Vadym Honcharuk
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 connec

[PyQt] Master-detail relationship with plain QTableView tables (no SQL database)

2010-05-08 Thread Vadym Honcharuk
best regards, -vadym ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] PyQt examples for beginner and programming

2010-04-23 Thread Vadym Honcharuk
dear community, could you please pointed where is possible find out examples of PyQt application in order to learn programming practices. I am beginner and try programming application based rather on QTableView. I find very useful for it book and examples of Mark Summerfield - very intelligibly. S

Re: [PyQt] Simple Qt application

2010-04-04 Thread Vadym Honcharuk
ks a lot! with best regards, -vadym 2010/4/4 Thorsten Kampe : > The overall structure is now clear to me: gather the "external data" via > subprocess or QProcess and display it via QTreeView or QTreeWidget. Mark > Summerfield's book also contains chapters "Using the C