Is this the sort of thing you mean?
self.lineEdit_list = self.ui.tabs.findChildren(QtGui.QLineEdit)
self.spin_list = self.ui.tabs.findChildren(QtGui.QSpinBox)
self.combo_list = self.ui.tabs.findChildren(QtGui.QComboBox)
self.widget_list = self.lineEdit_list + self.spin_list + self.combo_list
My Windows application uses PyQt and VTK. When I try to build an executable
with py2exe, the following modules appear to be missing:
'libvtkCommonPython', 'libvtkFilteringPython', 'libvtkGenericFilteringPython',
'libvtkGeovisPython', 'libvtkGraphicsPython', 'libvtkHybridPython',
'libvtkIOPyth
I found my mistake, a very basic one.
I was using
VTKscene = QVTKRenderWindowInteractor(self)
but should have been using
VTKscene = QVTKRenderWindowInteractor(page_VTK)
where page_VTK is the widget I created to display the scene.
I apologize for cluttering up the mailing list with my ign
Hi Matt and Bastian,
Thanks for your responses. I am now setting the size of the scene:
VTKscene = QVTKRenderWindowInteractor(self)
VTKscene.Initialize()
VTKscene.Start()
VTKscene.setGeometry(QtCore.QRect(200, 200, 600, 600))
renWin = VTKscene.GetRenderWindow()
This all wor
Perhaps someone will tell me what I'm doing wrong here. I'm trying to create
the render window for VTK programmatically, having given up on Qt Designer for
the time being. The following code can't be too badly wrong, because it
generates no errors - but on the other hand it doesn't display the
Gib Bogle wrote:
OK, I located QVTKRenderWindowInteractor.py. I'll see if I can figure
out how to use it.
Not much success here. I can run the example QVTKRenderWidgetConeExample() from
within my Qt GUI program, and it creates its own render window, independent of
the Qt window. I ha
Gib Bogle wrote:
Is it possible to display a VTK renderer within a Qt page? If so, is
there some example code that I could use?
OK, I located QVTKRenderWindowInteractor.py. I'll see if I can figure out how
to use it.
___
PyQt mailing list
Is it possible to display a VTK renderer within a Qt page? If so, is there some
example code that I could use?
Thanks
Gib
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
This is more of a PyQwt question than a PyQt question, but someone here may know
the answer.
I'm using the QwtPlot widgets with QtDesigner, on Windows XP. The numbers
labeling the ticks on the left y-axis are often (but not always) displayed with
the left edge cut off, so '8.0' looks like '3.
Russell Valentine wrote:
I would suggest sending a small example version of the code that just
has enough code to show the problem you are talking about. You also
might find the problem when making this small example.
I tracked this down. The code (which I didn't write) uses the Qt Undo/Redo
Using PyQt 4.5.4, I'm getting strange behaviour with sliders. Everything works
as expected when the slider handle is dragged, but not when the Left/Right keys
are used (this is a horizontal slider). What happens here is the Left key works
OK, being able to take the value all the way down to 0,
I installed the latest PyQt (4.7-1), then PyQwt 5.2.0, which was built with
PyQt4.5.4. This line
import PyQt4.Qwt5 as Qwt
fails to load the DLL. Could this be the result of not using PyQt4 4.5.4?
___
PyQt mailing listPyQt@riverbankcomputing.com
12 matches
Mail list logo