According to the documentation:
QTableView.scrollTo (*self*,
QModelIndex
*index*,
QAbstractItemView.ScrollHint
*hint* = QAbstractItemView.EnsureVisible)
I assume you would have to create a QModelIndex based on the first tables'
scrolled to record, and then feed it into the second table via a k
Hello,
Using Python 2.6, PyQt 4.4.4 on Windows XP sp3.
I can't seem to find this information in the regular documentation, nor
does Google seem to help. MS's website is not helpful either
researching whether this is a limit set from within Access for outside
'access' (bad pun) using odbc.
So I have a tab widget, which when constructed gets a scroll area for
page/tab one. Works fine.
During a later process I add another tab with a similar scroll area.
Works fine.
A separate process uses the indexOf() method to search for the second scroll
area that may not have been added yet. Wh
Well, what you say makes sense and I follow your reasoning, however it still
doesn't seem to work for making the line-edit show the size I want it to.
Giving the group-box an explicit parent doesn't work, that is.
The only thing I could find in the documentation regarding
QToolBar.addWidget() is
Some more poking around revealed that while QLineEdit.setGeometry() and
QLineEdit.setSizePolicy() are disregarded by the toolbar, that
QLineEdit.setFixedSize() _is_ respected! It results in the appropriately
sized line-edit being shown centered in the middle of the toolbar, with its
label on the f
Now that's a 'yeesh' moment if I've ever seen one! Thanks!
After reading the QPainter, QPaintDevice, QPaintEngine, etc documentation
assuming it was something to do with one of those classes, it never occurred
to me that it could be the scroll-area...
The reason for using a scroll-area in the
So, using PyQt4/WindowsXP:
I'm attempting to adapt the basic drawing example for the simple purpose of
drawing an arc on the background of a widget. The following code opens a
main window with a child widget inside, but doesn't draw the arc. Probably
something simple that I'm missing, but I ca
Hi there,
I'm running WindowsXP.
So using PyQt4x I set up a toolbar, add a line edit to it, set the geometry
and sizepolicy of the line-edit widget, and watch as the toolbar promptly
ignores any directions I give the child widget!
Is there a secret to making the toolbar respect the size polici
Rance,
Your code works as intended on my Windows XP sp2 machine. Not sure why or
what it's not doing on your machine.
Scott
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt