Fw: Re: [PyQt] QSpinBox and setLineEdit

2009-01-30 Thread Mpi
- Original Besked Fra: Mpi Til: Phil Thompson Emne: Re: [PyQt] QSpinBox and setLineEdit Dato: 30/01/09 10:49 > > - Original Besked > Fra: Phil Thompson <p...@riverbankcomputing.com> > Til: Mpi <m...@comxnet.dk> > Cc: pyqt@riverb

[PyQt] QSpinBox and setLineEdit

2009-01-30 Thread Mpi
Hi, You can set a custom line edit on a spinbox using the method setLineEdit(). Suppose I implement a class that inherits from QLineEdit and overwirite the 'setText' method, you'd expect that pressing the arrow button on the spinbox would trigger a call to your custom setText method. I can't get t

[PyQt] QsciScintilla vertical scrollbar

2008-12-25 Thread Mpi
First of all - I hope this is the right place to ask questions about QsciScintilla. A 'default' QsciScintilla window displays a vertical scrollbar. I would expect this to appear once the column position of the cursor exceeds the width of the editor window - but not by default. I believe this is t

[PyQt] Designer plugins do not show up

2008-11-23 Thread Mpi
Hi, 1. Running python plugins.py in PyQt-x11-gpl-4.4.4/examples/designer/plugins. No custom plugin group named 'PyQt Examples' shows up in designer. 2. Setting export PYQTDESIGNERPATH=/home/job/PyQt-x11-gpl-4.4.3/examples/designer/plugins/python export PYTHONPATH=/home/job/PyQt-x11-gpl-4.4.3

[PyQt] No cancel button in QProgressDialog

2008-10-07 Thread Mpi
Dear all, I don't want the cancel button to show up in my progress dialog. If you pass a 0 for the cancelButtonText in the constructor, the button should go away. Here's what I do progress = QProgressDialog ('Rendering...', QString(0), 0, 100) But the button still appears. Any clues on how to go