Re: Python users in Stavanger, Norway?

2011-04-03 Thread David Boddie
On Sunday 03 April 2011 09:32, Austin Bingham wrote: > I'm a Python developer in Stavanger, Norway looking for other Python > users/developers/etc. who might be interested in starting a local user > group. Anyone interested? This group might actually evolve into a > general programming/computer gr

Re: Development tools and practices for Pythonistas

2011-05-01 Thread David Boddie
On Sunday 01 May 2011 18:11, Dietmar Schwertberger wrote: > Am 01.05.2011 02:47, schrieb Shawn Milochik: >> Look at the big two sites for open-source repositories -- github and >> bitbucket. One's git, the other Mercurial. I don't think you can go >> wrong picking either one. > > Can any of those

Re: PDF Viewer

2005-09-30 Thread David Boddie
John J. Lee wrote: > Alternatively, if you feel rather adventurous, try compiling KPDF on > Windows with the free Qt3 port(s?) or Qt4, if that's arrived yet. I think you might be slightly too optimistic about getting KPDF to run natively on Windows. The project you mention does have a page descri

Re: Looking Python script to compare two files

2005-11-10 Thread David Boddie
Tim Golden wrote: > + PDF: David Boddie's pdftools looks like about the only possibility: > (ducks as a thousand people jump on him and point out the alternatives) I might as well do that! Here are a couple of alternatives: http://www.sourceforge.net/projects/pdfplayground http://www.adaptive-en

Re: PyQt layout question: QScrollView and QGridLayout?

2005-11-17 Thread David Boddie
Volker Lenhardt wrote: > Phil Thompson schrieb: > > On Thursday 17 November 2005 2:56 pm, Volker Lenhardt wrote: [Using a QGridLayout in a QScrollView] > >>Is there a way to get it to work? Filling a box viewport with lots of > >>padding boxes and white space labels to establish grids is very > >

Re: How to get started in GUI Programming?

2005-11-25 Thread David Boddie
[EMAIL PROTECTED] wrote: > I am trying to learn GUI programming in Python, but have to confess I > am finding it difficult. > > I am not an experienced programmer - just someone who from time to > time writes small programs for my use. Over the years I have moved > from GWBASIC to QBASIC to Visual

Re: QCheckListItem signal question

2005-09-20 Thread David Boddie
You could connect the currentChanged() or clicked() signals in your QListView to a slot in some other object (perhaps the parent of the QListView). When the signal is emitted, you can examine the state of the item passed to the slot. Hope this helps, David -- http://mail.python.org/mailman/list

Re: PyQT installation /configuration

2006-07-15 Thread David Boddie
[EMAIL PROTECTED] wrote: > I've got another problem, I'm afraid - I've installed Qt 4.1.4 and PyQt > GPL v4.0 over Python 2.4, and the demos for both run happily enough, > but when I try to run the first example (in IDLE) from Boudewijn > Rempt's GUI Programming with Python: QT Edition I just get

Re: PyQT installation /configuration

2006-07-16 Thread David Boddie
[EMAIL PROTECTED] wrote: > David Boddie wrote: > > > However, you will have difficulty using the examples in that book > > because it was written for PyQt3. > > Ah yes, it doesn't recognise "QApplication" now. Never mind. QApplication is still there. You can

Re: Py2exe & (Py)QT4

2006-07-20 Thread David Boddie
[EMAIL PROTECTED] wrote: > I'm having trouble using Py2exe with a PyQT-based python project. Or > possibly I'm having a problem with PyQT and Py2exe makes it apparent. > Whichever it is, I run into trouble with importing QtCore and QtGui. > The error reported is: > > Traceback (most recent call la

Re: Using PyQT and OpenGL

2006-07-26 Thread David Boddie
Peter TB Brett wrote: > Although the PyQt documentation indicates that QGLWidget & friends have > been ported to Python for the PyQt bindings, I'm not entirely sure what's > necessary to make the normal OpenGL/GLUT interface available. > > Does PyQt work okay with PyOpenGL? Or is a more complicat

Re: X windows and Python?

2006-08-15 Thread David Boddie
Paul Rubin wrote: > I'd like to program my Python script to put a string into the X > windows cut buffer. Can anyone suggest the simplest way to do that? > Maybe I can do it by putting up a Tkinter text widget, sticking the > string into it, and selecting it (I'm checking the docs) but uggh. > I'd

Re: X windows and Python?

2006-08-15 Thread David Boddie
The usual follow-up to "fix" Google's "formatting". Maybe this does what you need: http://python-xlib.sourceforge.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Disable close button in management window.(KDE- pyQT)

2006-08-19 Thread David Boddie
Gabriel - BR wrote: > Hi,,, > Is possible disable the close button in KDE management window? Using > python+qt? Can you say exactly which window you're talking about? The "Control Center" or something else? David -- http://mail.python.org/mailman/listinfo/python-list

Re: Disable close button in management window.(KDE- pyQT)

2006-08-21 Thread David Boddie
Gabriel - BR wrote: > HI, > I am talking about the close button "X", that appears when I execute > my application (pyQt), in kde. Initially, I thought this might be possible with PyQt, just by setting the appropriate window flags when you create a widget, or with the setWFlags() method afterwards:

Re: Kde Taskbar

2006-10-07 Thread David Boddie
On Saturday 07 October 2006 14:59, DarkBlue wrote: > In linux I use kmail as my email client under KDE, > if a message comes in the Kontact button in the > taskbar changes to blue. > How can I have the same behaviour in a python app ? You need to activate the window associated with the applicatio

Re: Kde Taskbar

2006-10-07 Thread David Boddie
On Saturday 07 October 2006 15:41, Diez B. Roggisch wrote: > pykde afaik supports systray-iconified apps. And you could use the > dcop-mechanisms that are available as command line tools as well I > guess, and invoke knotify. I think DarkBlue wanted to affect the behaviour of the taskbar, though

Re: Kde Taskbar

2006-10-07 Thread David Boddie
On Saturday 07 October 2006 16:29, DarkBlue wrote: > David Boddie wrote: >> You need to activate the window associated with the application. [...] > My python app actually is a pythoncard app > which I hope will make things easier. If PythonCard or its underlying API has

Re: Kde Taskbar

2006-10-08 Thread David Boddie
On Sunday 08 October 2006 14:16, Lawrence D'Oliveiro wrote: > In message <[EMAIL PROTECTED]>, David Boddie > wrote: > >> I'd be interested in an example of how to use knotify via DCOP. > > Found a tutorial here <http://lukeplant.me.uk/articles.php?id=3>

Re: python GUIs comparison (want)

2006-10-24 Thread David Boddie
On Tuesday 24 October 2006 17:38, Kevin Walzer wrote: > PyQt: > Pro: Powerful, cross-platform, sophisticated GUI's > Con: Based on C++ toolkit; That's not a bad thing in itself. > docs assume knowledge of C++; Only to a point. I knew Python before I knew C++, and it didn't stop me from learning

Re: python GUIs comparison (want)

2006-10-25 Thread David Boddie
Fredrik Lundh wrote: > Christophe wrote: > > Even if you consider that the huge time saving you get out of using Qt > > is worth more than what you pay to acquire a licence? > > then it sounds like a combination between "it's a silver bullet!" and > "commercial software is better than free softwar

Re: PyQt-x11-gpl-3.16 compile error

2006-10-27 Thread David Boddie
[EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] PyQt-x11-gpl-3.16]# python configure.py -q > /usr/lib/qt-3.3/ > This is the GPL version of PyQt 3.16 (licensed under the GNU General > Public > License) for Python 2.4.2 on linux2. [...] > Creating features file... > Error: Unable to build mkfeatures u

Re: python GUIs comparison (want)

2006-10-27 Thread David Boddie
On Friday 27 October 2006 16:36, Magnus Lycka wrote: > David Boddie wrote: >> You're forgetting that Qt isn't just a widget toolkit. > > I suspect that the non-GUI parts are (just like in Wx) C++ stuff > which is more or less equivalent with things that are either P

Re: PyQt-x11-gpl-3.16 compile error

2006-10-28 Thread David Boddie
On Saturday 28 October 2006 06:42, [EMAIL PROTECTED] wrote: > here is th output : > > [EMAIL PROTECTED] PyQt-x11-gpl-3.16]# python configure.py -q > /usr/lib/qt-3.3/ -w [...] > Checking to see if the qtcanvas module should be built... > /usr/bin/ld: cannot find -lXext > collect2: ld returned 1

Re: ANN: PyQt v4.1 Released

2006-11-06 Thread David Boddie
Tool69 wrote: > I followed the docs to build qscintilla2, all is going well with no > errors, but when I launched the PyQt Syntax Highlighter Example, > nothing is highlighted but the first line of text, whereas the C++ > sample works well in the demo. Do you mean the example from the PyQt4 distr

Re: Really strange behavior

2006-11-06 Thread David Boddie
Sion Arrowsmith wrote: > I don't know if this is the problem or not (knowing neither Qt nor > Twisted), but creWin() creates a window (or two) then throws it > (them?) away on returning to main() (I assume you've chopped > off the bit where main() is actually called). So it's not too > surprising

Re: ANN: PyQt v4.1 Released

2006-11-09 Thread David Boddie
Tool69 wrote: > > That uses a port of an old syntax highlighting example from Qt 4.0. Someone > needs to "port" the C++ example from Qt 4.2 to PyQt4. > > So, we've got no sample to use QScintilla2 ?? Well, this should get you started: import sys from PyQt4.QtGui import QApplication from PyQt4.Qs

Re: pyqt show wizard

2006-06-07 Thread David Boddie
Yves Glodt wrote: > I have a mainwindow in my pyqt application, and on click of a button I > want to start an assistant (wizard). > > I have create the wizard with the Qt Designer, generated the python code > with pyuic, imported it "from assistant import *", and subclassed it as > usual. > >

Re: pyqt show wizard

2006-06-07 Thread David Boddie
Summary of the usual mess made by the Google Groups web interface: I suspect that you really want to call w.exec_loop() instead, since this will only return control to the method after the user has finished interacting with the wizard. Take a look at the QWizard documentation for more informati

Re: convert .pdf files to .txt files

2006-06-10 Thread David Boddie
Davor wrote: > Hi, my name is david. > I need to read information from .pdf files and convert to .txt files, > and I have to do this on python, > I have been looking for libraries on python and the pdftools seems to > be the solution, but I do not know how to use them well, > this is the example th

Re: comparing of python GUI´s

2006-06-20 Thread David Boddie
Bayazee wrote: > i want some info ... > plz tell me the benefit (or any data) of each gui (pyqt , pyqtk , > wxpython , tkinter ..) > in the other hand wich one you offer (and why ?) ? Take a look at these resources: http://wiki.python.org/moin/GuiProgramming http://www.awaretek.com/toolkits.htm

Re: Drag and Drop with PyQt4

2006-08-25 Thread David Boddie
Harshad wrote: > When I run the program, DragEnterEvent works as expected, but the > DropEvent does not seem to be working. I'm not an experienced Python > hacker, and am unable to trace out any problems with the source code. > Any and all help will be appreciated! I'm making an educated guess fr

Re: models & editors in PyQt4

2006-08-30 Thread David Boddie
Skink wrote: > I created simple property classes with editing option, but since i'm not > too much experienced in PyQt4 i'd like to ask if i handle ColorProperty > changing right. Any other Property has its own editor and their control > flow is imho ok. Hovewer i'm not sure about ColorProperty. >

Re: models & editors in PyQt4

2006-08-30 Thread David Boddie
Skink wrote: > David Boddie wrote: > > I find it strange that you have to triple-click to edit any of the > > items in your example. Do you see the same behaviour? > oh, this is default Qt behavoiur: first click selects row, second select > editor (for ColorProperty, IntProp

Re: any portable way to print? (and i mean on a printer)

2006-09-06 Thread David Boddie
Steve Holden wrote: > Liquid Snake wrote: > > I think my question is clear.., is there any way to print any text on a > > portable way?..., and actually, i don't know how to print at all.., just > > give me some pointers, name a module, and i can investigate for myself.. > > sorry for my english, t

Re: evaluating gui modules, any experience on tkinter?

2006-12-02 Thread David Boddie
krishnakant Mane wrote: > I seam to have noticed this a bit late but it appears to me that > tkinter is being used very widely for gui development on all platform? > is that right? Tkinter is bundled with Python on all platforms that support Tcl/Tk. As a result there's a low "barrier to entry" to

Re: PyQt, designer, and directional flow

2006-12-06 Thread David Boddie
borntonetwork wrote: > I am creating a simple form using designer (qt4) on Ubuntu. I use pyuic > to create a python script from the form. I run the script and the form > shows up fine. The idiosyncrasy occurs when I try to type text into a > QTextEntry widget. The text is right-aligned, not left-al

Re: I'm looking to learn pyqt

2006-12-06 Thread David Boddie
vj wrote: > Is there a a tutorial or a sample application I can start with (that > works with qt4 and pyqt4)? PyQt4 is distributed with a set of small examples, mostly ported from the C++ ones supplied with Qt. Other than those, you could take a look at the PyQt and PyKDE Wiki for inspiration:

Re: Using DCOP from Python

2006-12-19 Thread David Boddie
Jeffrey Barish wrote: > The package python-dcop makes it possible to use DCOP from Python. Does > anyone know of a tutorial for this package or an example of its use? I > would like to use it to read a journal entry in Korganizer. I got as far > as figuring out that DCOP offers the interface > k

Re: cross-compiling python: reviewers needed

2006-12-20 Thread David Boddie
Han-Wen Nienhuys wrote: > I have a small patch for Python SVN that makes it possible to > cross-compile python on Unix to various other Unix targets. > I have successfully built a binary for FreeBSD on Linux. > > The patch is available at > https://sourceforge.net/tracker/?func=detail&atid=305470&

Re: KPanelApplet using Python

2006-02-24 Thread David Boddie
Varun Hiremath wrote: > I was wondering if there is any way to make KDE PanelApplets > using Python. I have made a small window using Qt, kdeui nad > kdecore libs. Now I want to add it to the KDE kicker. Can I > get any help regarding this matter. The other responses in this thread have covered s

Re: Printing a file

2006-02-28 Thread David Boddie
Jeremy Sanders wrote: > Fabian Steiner wrote: > > > Unfortunately I don't know how to realize this, since also some images > > and different boxes should be printed out. As the whole application is > > based on QT, QPrinter might be used, but I couldn't find any examples > > how to use it. [...]

Re: Printing a file

2006-03-01 Thread David Boddie
Fabian Steiner wrote: > This is what I have so far: > > app = QApplication(sys.argv) > printer = QPrinter(QPrinter.PrinterResolution) > if printer.setup(): > printer.setPageSize(printer.A4) > painter = QPainter(printer) > metrics = QPaintDeviceMetrics(painter.device()) > margin

Re: Printing a file

2006-03-02 Thread David Boddie
Sorry about that. I must have just skipped over the setup() call in your code. If you're creating highly customized content then I think you'll always need to think about getting the pages to the printer in the right order. For rich text documents, there's code that does this in the Qt 3 text draw

Re: Printing a file

2006-03-03 Thread David Boddie
Fabian Steiner wrote: > David Boddie wrote: > > In Qt 4, the demos/textedit demo does this with a lot less code. > > > > Or are you think of something else? > > Thank you very much for this hint! Thanks to this example I was able to > print out my first pages :) T

Re: scripting browsers from Python

2005-06-01 Thread David Boddie
Michele Simionato wrote: > This looks interesting, but I need an example here. What would be the > command to open Konqueror to a given page and to post a form with given > parameters? Launch Konqueror, note the process ID (pid), and use the dcop command line tool to open the page at a specified U

Re: Questions about mathematical and statistical functionality in Python

2007-06-17 Thread David Boddie
On Fri Jun 15 03:08:08 CEST 2007, Josh Gilbert wrote: > In a similar vein, I wish there was a reasonable Free Software equivalent to > Spotfire. The closest I've found (and they're nowhere near as good) are > Orange (http://www.ailab.si/orange) and WEKA > (http://www.cs.waikato.ac.nz/ml/weka/). Or

Re: how to query/test the state of a qt widget?

2007-06-24 Thread David Boddie
On Sun Jun 24 02:20:55 CEST 2007, raacampbell wrote: > I'm writing a simple Python/Qt3 application and I am trying to write > some code in which the user presses a button and the program performs > action A or B depending upon the state of a pair of radio buttons. You would typically connect the

Re: Memory leak in PyQt application

2007-06-30 Thread David Boddie
On Thu Jun 28 19:21:36 CEST 2007, Alexander Eisenhuth wrote: > I've a memory leak in a PyQt application and no idea how to find it. What > happens in the application ? > > From QWindow a QDialog is called on a button "pressed()" signal, that > instantiate a QThread and waits for it. If the thr

Re: Python-URL! - weekly Python news and links (Jul 16)

2007-07-18 Thread David Boddie
On Wed Jul 18 23:20:51 CEST 2007, Cameron Laird wrote: > Kay Schluehr wrote: > > >Not sure if it's important enough to be mentioned in weekly Python > >news but Europython 2007 actually happened and took place in Vilnius. > > *I* sure think it's important; is there a summary or narrative > fro

Re: PYQT 3 communication with 2 windows

2007-04-20 Thread David Boddie
On Thursday 19 April 2007 22:38, Marcpp wrote: > Hi, I'm introducing to program in python + pyqt. > I have a main window that call a second window (to introduce a info > with textedit) > when press the second window button I need to return to the main > window the info > introduced in the second w

Re: Beginner: Formatting text output (PyQt4)

2007-04-20 Thread David Boddie
On Thursday 19 April 2007 00:50, Glen wrote: > What seems to be happening is that the font that pyqt is using is not > fixed width, so I did this: > qTxtFormat = QTextCharFormat() > qTxtFormat.setFontFixedPitch(True) > ui.textEdit.setCurrentCharFormat(qTxtFormat) It may be that the font you're us

Re: Beginner: Simple Output to a Dialog PyQt4

2007-04-20 Thread David Boddie
On Tuesday 17 April 2007 07:42, Glen wrote: > I've written a script in python and put together a simple QFrame with a > QTextBrowser with Designer. I've translated the C++ into python using > puic4. Just to avoid any misunderstanding: the form is actually stored as XML. You can create C++

Re: Generate report containing pdf or ps figures?

2007-04-24 Thread David Boddie
On Tuesday 24 April 2007 20:42, Cameron Laird wrote: > I want to make sure we're all keeping up with each other, so > I'll make explicit a couple of points, despite the risk of > redundancy: > A. Bundling GS is a little touchy, depending on > what you mean by that. Check out its license. >

Re: Do other Python GUI toolkits require this?

2007-04-24 Thread David Boddie
On Monday 23 April 2007 15:55, Kevin Walzer wrote: > I had originally thought that learning PyObjC might preclude me from > having to learn Objective-C, but that seems not to be the case. I have > previously found the same to be true with PyQt and wxPython--not knowing > the toolkits as they are i

Re: GUI tutorial

2007-05-14 Thread David Boddie
On May 14, 2:57 am, BartlebyScrivener <[EMAIL PROTECTED]> wrote: > On May 13, 12:51 pm, John K Masters <[EMAIL PROTECTED]> > wrote: > > > Can someone point me in the direction of a good tutorial on programming > > python with a GUI? > > Alan Gauld added a gui programming tutorial to his main course

Re: Distributing programs depending on third party modules.

2007-05-16 Thread David Boddie
On May 16, 7:44 am, Tina I <[EMAIL PROTECTED]> wrote: > A binary would be ideal. I'll look into the freeze modules and > Pyinstaller. Even if they don't handle huge things like Qt it would be a > step in the right direction if it handles smaller third part modules. > And maybe the smartest thing t

Re: No Python for Blackberry?

2007-05-19 Thread David Boddie
On Saturday 19 May 2007 03:19, walterbyrd wrote: > I could not find a version of Python that runs on a Blackberrry. > > I'm just amazed. A fairly popular platform, and no Python > implementation? If you can get the hardware into the hands of capable developers, they'll put Python on it. ;-) Dav

Re: Scope PyQt question

2007-07-26 Thread David Boddie
On Thu Jul 26 18:00:44 CEST 2007, dittonamed wrote: > On Jul 26, 10:15 pm, Stargaming wrote: > > Answering from a non-Qt point of view (ie. I don't know if there were > > cleaner ways using Qt stuff), you have to bind p somewhere not local to > > the function. Any attribute of `self` (that's hop

Re: [python-list] pdf read & write

2007-07-27 Thread David Boddie
On Fri Jul 27 15:35:02 CEST 2007, Hyunchul Kim wrote: > How can I read a pdf file and add invisible comment? > I want to make a script which read a pdf file and add tags inside the > file invisibly. Then, I will make a script for managing tags of given > pdf files. > > I know "referencer" can man

Re: Best programs written completly in Python

2007-08-05 Thread David Boddie
On Sun Aug 5 14:44:55 CEST 2007, Franz Steinhäusler wrote: > I'm only interested to have a list, or even help to > extend an existing one. If the main criterion is that the programs are written in Python then surely the PythonInfo Wiki is the place for such a list: http://wiki.python.org/moi

Re: Adventure-Engines in Python

2007-08-13 Thread David Boddie
On Mon Aug 13 11:33:14 CEST 2007, Wildemar Wildenburger wrote: > Are there any? > > I've set out to make an adventure game and now I'm trying to find a set > of python-modules to help me do that. I know of the usual non-python > suspects (AGAST, AGS, Wintermute, ...) and while I they are really

Re: Co-developers wanted: document markup language

2007-08-24 Thread David Boddie
On Fri Aug 24 11:04:33 CEST 2007, Torsten Bronger wrote: > Paul Rubin writes: > > > TeX/LateX have been around forever and are well established > > standards, as awful as they are. Why do we want ANOTHER markup > > language? > > Well, because they are awful. ;-) I don't see that there is a >

Re: PyQt4: Clickable links in QLabel?

2007-03-05 Thread David Boddie
On Thursday 01 March 2007 09:00, Tina I wrote: > A short and sweet question: Is it possible to put a clickable link in a > QLabel that will open in the systems default browser? Yes. > I tried to put in some HTML but it did (of course?) simply display the > code instead of a link. I also tried to

Re: Python GUI + OpenGL

2007-03-05 Thread David Boddie
On Monday 05 March 2007 18:22, Chris Mellon wrote: > On 3/5/07, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> Beside that, I do love the Qt library and would always use it in >> preference to wx, but this is a general thing and by no means tied to the >> OpenGL-programming. After all, that actual

Re: How do I Color a QTableView row in PyQt4

2007-03-12 Thread David Boddie
On Friday 02 March 2007 21:55, Mel wrote: [This message is a bit old now. Still...] > Now that I can change the row colors of QTableView when loading data I > now need to be able to set the color of the row at anytime. I've been > trying by using an item delegate but I'm not sure if I'm using

Re: a better solution for GUI in python

2007-03-12 Thread David Boddie
On Monday 12 March 2007 16:57, Chris Mellon wrote: > Gtk I consider an extremely poor contender as a cross platform > toolkit. The runtime is enormous and it makes little effort to appear > native on any non-GNOME platform. Given that wxPython more or less relies on GTK+ on Linux, I think you're

Re: qt ver. 3, linux, windows, and modal forms

2007-03-24 Thread David Boddie
On Saturday 24 March 2007 23:08, Mike wrote: > I'm having a problem with modal forms on windows. I've written a very > short test program, with a main window and a form called from the main > window. The form is set to modal with form.setModal(1) before calling > form.show(). Is form an instance

Re: Is http://cheeseshop.python.org/pypi/ having issues

2007-04-07 Thread David Boddie
On Saturday 07 April 2007 19:36, RobJ wrote: > Has any one noticed any issues with http://cheeseshop.python.org/pypi/ > ? I have been trying for hours to install packages (using > easy_install) but the connection keeps timing out. Don't worry, you're not the first person to notice: http://mail.

Re: Pyqt calling a custom dialog and returning the vars

2007-04-16 Thread David Boddie
On Monday 16 April 2007 22:06, Marcpp wrote: > I call a dialog from a principal program but cannot return the value > of the > variables (text box's). Here is a example... [...] > class ag (Agenda): > ... > ... > def _slotAddClicked(self): > d=dialogo1() > d.exec_() >

QPicture and Qpainter PyQt4

2007-09-17 Thread David Boddie
On Mon Sep 17 09:29:43 CEST 2007, luca72 wrote: > class PictureFrame(QtGui.QFrame): > > def __init__(self, parent = None): > QFrame.__init__(self, parent) > picture = QtGui.QPicture() > > def paintEvent(self, event): > picture.load('dis.pic') > gr = QtGui.QPainter() > gr.

Re: building a GUI

2007-09-23 Thread David Boddie
On Mon Sep 24 00:08:09 CEST 2007, stef mientki wrote: > Phil Thompson wrote: > > On Sunday 23 September 2007, stef mientki wrote: > > >> Could well be, > >> but I never looked at PyQt seriously, > >> because of their weird license. > > > > It's not weird. It's either GPL or proprietary. Your choic

Script to extract text from PDF files

2007-09-26 Thread David Boddie
On Wed Sep 26 15:06:54 CEST 2007, byte8bits wrote: > On Sep 25, 10:19 pm, Lawrence D'Oliveiro central.gen.new_zealand> wrote: > > > This is inherent in the nature of PDF: it's a page-description language, > > not a document-interchange language. Each text-drawing command can put a > > block of t

Re: Script to extract text from PDF files

2007-09-26 Thread David Boddie
On Wed Sep 26 23:50:16 CEST 2007, byte8bits wrote: > On Sep 26, 4:49 pm, Svenn Are Bjerkem > wrote: > > > I have downloaded this package and installed it and found that the > > text-extraction is more or less useless. Looking into the code and > > comparing with the PDF spec show a very early im

Re: How to display a videostream in the PyQt GUI by a efficient way

2007-09-29 Thread David Boddie
On Sat Sep 29 05:12:25 CEST 2007, kivilaya wrote: > As required, I need to get a videostream from a camera, and process > every frame to add some information on it, and then display the frame > in a PyQt GUI. > But I don't know how to display the videostream in the PyQt GUI by a > efficient wa

Re: How to display a videostream in the PyQt GUI by a efficient way

2007-09-30 Thread David Boddie
On Sun Sep 30 09:10:40 CEST 2007, Kivilaya wrote: >I read the method in the given link and learn a lot from it. I'll > try to display the data inside a QWidget directly instead of the > current way. But I still have a question, is there any way to make the > displaying of RGB data in a QWidget

Re: Cross-platform GUI development

2007-10-12 Thread David Boddie
On Fri Oct 12 12:30:13 CEST 2007, Nick Craig-Wood wrote: > I'd recommend wxPython over those becase > > 1) native look and feel on all platforms > 2) doesn't require expensive licensing for non-commercial apps (QT) "Expensive" licensing is not required if you use the GNU General Public License (

Re: PyQt ProgressBar

2007-10-16 Thread David Boddie
>app.processEvents() > > But the bar remain fix to 0% don't increase. > > can you tell me how to prooced Can you post a complete runnable code example, either here (if it's short enough) or to the PyQt mailing list? Thanks, David -- David Boddie Lead Techni

Re: fclient project seeking co-coders

2007-10-28 Thread David Boddie
On Sun Oct 28 11:49:17 CET 2007, Jürgen Urner wrote: > I Just recently registered a project fclient to sourceforge.net > [http://sourceforge.net/projects/fclient]. fclient is intended to > become desktop client for the freenet [freenetproject.org] > network written in python and Qt4. It sounds li

PyQt with embedded python in Qt App

2007-11-02 Thread David Boddie
On Fri Nov 2 12:59:48 CET 2007, Bart. wrote: > Or I want to use PyQt in scripts to have similar gui for plugins written in > python > Or I want to extend application by scripts with PyQt. > > Or better question: > How to easy add python scripting in Qt application and have almast all > objects o

Re: creating simple Python scripting interfaces via C++

2007-01-11 Thread David Boddie
Ben Sizer wrote: > And is there anywhere else more appropriate that I should be asking > this question, given the lack of responses to this and my other embedding > topic so far? You could try asking on the C++ SIG mailing list at python.org: http://mail.python.org/mailman/listinfo/c++-sig David

Re: PyQt: QListviewItemIterator

2007-01-16 Thread David Boddie
On Tuesday 16 January 2007 18:57, Tina I wrote: > I have a QListView with a number of columns. In order to filter the > output I iterate using QListViewItemIterator looking for the string > entered by the user (filterString). Currently I do it this way: [Reformatted code for quoting purposes] >

Re: The proper use of QSignalMapper

2007-01-17 Thread David Boddie
borntonetwork wrote: > I am trying to implement QTCore.QSignalMapper using PyQT. I finally got > to a point where I don't receive any compile or runtime error messages, > but I also do not see the final slot function fire off. Here is a > snippet of the code: > > self.signalMapper = QtCore

Re: The proper use of QSignalMapper

2007-01-18 Thread David Boddie
borntonetwork wrote: > Thanks, David, for you help. > > When I change the slot function to what you show in your second > example, I get the same results: nothing. This may be due to something I missed in your code. When you connect the signal from the signal mapper to your class, you need to spec

Re: The proper use of QSignalMapper

2007-01-20 Thread David Boddie
On Saturday 20 January 2007 16:03, borntonetwork wrote: > David, thanks for your help. Unfortunately, all attempts of making this > solution work have failed. I would be interested to know if anyone has > used QSignalMapper successfully in a similar situation. Looking again at what you originally

Re: My python programs need a GUI, wxPython or PyQt4?

2007-01-24 Thread David Boddie
On Jan 24, 12:09 am, "Daniel" <[EMAIL PROTECTED]> wrote: > I've downloaded both the wxPython and the PyQt4 package, and by the > first impression I must say that the PyQt4 system had a very > compelling presentation. From what I can understand from the feedback > I've gotten so far is that the wxPy

Re: My python programs need a GUI, wxPython or PyQt4?

2007-01-24 Thread David Boddie
On Jan 24, 3:00 pm, Giovanni Bajo <[EMAIL PROTECTED]> wrote: > Thus, it is well possible to write internal GPL software, using the Qt Open > Source library, and to release/distribute/use it *ONLY* internally. http://www.gnu.org/licenses/gpl-faq.html#GPLRequireSourcePostedPublic > Also, it > shou

Re: My python programs need a GUI, wxPython or PyQt4?

2007-01-24 Thread David Boddie
On Jan 24, 11:54 am, Harry George <[EMAIL PROTECTED]> wrote: > It is all interpretation -- even after some cases have wandered > through the courts. Mostly the trolltech statements indicate their > intent to sue. That right there tells me I want to go elsewhere. Well, one could alternatively re

Re: pdf to text

2007-01-25 Thread David Boddie
On Thursday 25 January 2007 22:05, tubby wrote: > I know this question comes up a lot, so here goes again. I want to read > text from a PDF file, run re searches on the text, etc. I do not care > about layout, fonts, borders, etc. I just want the text. I've been > reading Adobe's PDF Reference Gui

Re: DCOP memory leak?

2007-01-31 Thread David Boddie
On Jan 31, 6:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The code I posted is not my actual program and was only to demonstrate > my problem. The complete program I'm writing uses QT and so the loop > is replaced by a Timer event. > I tried out the suggestion. I had already tried the d

Re: Regd. Regular expressions PyQt

2007-02-03 Thread David Boddie
On Saturday 03 February 2007 09:52, Paddy wrote: > On Feb 3, 8:24 am, [EMAIL PROTECTED] wrote: >> I am trying to work out a regular expression in a PyQt environment for >> time in hh:mm:ss format. Any suggestions? > > Yep, > Use Kodos! > http://kodos.sourceforge.net/ > > - It's Fab. There's al

Re: irclib problems

2007-02-12 Thread David Boddie
On Sunday 11 February 2007 09:29, Tina I wrote: > I'm playing around with the 'irclib' library working with the first > example at > http://www.devshed.com/c/a/Python/IRC-on-a-Higher-Level-Concluded/ > > When copying the example verbatim and running it from a console it works > flawlessly. It con

Re: Newbie Question

2007-02-14 Thread David Boddie
On Tuesday 13 February 2007 11:04, [EMAIL PROTECTED] wrote: > To be true, I don't know if any of these toolkits (GTK, wxWindows, QT) > and their GUIDesigners have the features you like in Delphi. What I > know is that: > 1/ these three toolkits have everything *needed* to write serious GUI > apps

Re: How do I Color a QTableView row in PyQt4

2007-02-28 Thread David Boddie
On Wednesday 28 February 2007 18:55, Mel wrote: > I am currently porting an SQL centered Visual Basic application to run > on Linux, Python, and Qt4. Currently I am stumped on changing row > colors in the QTableView widget. My test code is based on code from > the PyQt4 examples and looks like

Re: How do I Color a QTableView row in PyQt4

2007-02-28 Thread David Boddie
[Following up my own post.] On Thursday 01 March 2007 01:08, David Boddie wrote: > It's interesting to see that you subclassed QSqlQueryModel instead of > using a custom delegate to display the data. It's usually recommended > that you subclass QItemDelegate if you want t

Re: Low-overhead GUI toolkit for Linux w/o X11?

2007-11-03 Thread David Boddie
On Sat Nov 3 20:45:54 CET 2007, Grant Edwards wrote: > I'm looking for GUI toolkits that work with directly with the > Linux frambuffer (no X11). It's an embedded device with > limited resources, and getting X out of the picture would be a > big plus. > > The toolkit needs to be free and open-so

Re: Low-overhead GUI toolkit for Linux w/o X11?

2007-11-03 Thread David Boddie
On Sun Nov 4 03:22:27 CET 2007, Grant Edwards wrote: > I think we're definitely going to try to evaluate Qtopia on our > platform to see if it's any quicker and smaller than > wxWidgets/GTK+/X11. I guess that evaluation doesn't need to > use Python -- in theory we sould be able to compare perform

Re: Drawing charts in Qt

2007-11-06 Thread David Boddie
On Tue Nov 6 15:46:07 CET 2007, Michel Albert wrote: [PyQwt and matplotlib] > PyQwt looks much more interesting, but I have trouble installing it. > On my machine it complains that sipconfig "has no attribute > '_pkg_config'". Is the configuration script finding the sipconfig file for SIP 3 or S

Re: Contextmenu in a QTreeWidget with PyQT

2007-11-22 Thread David Boddie
On Wed Nov 21 19:46:48 CET 2007, blaven wrote: > I apologize in advance if this is not the correct forum to ask this > and if someone knows a better place, please let me know. There is a mailing list for PyQt/PyKDE issues: http://www.riverbankcomputing.com/mailman/listinfo/pyqt It's not a pro

Re: OPLC purchase period extended

2007-11-24 Thread David Boddie
On Sat Nov 24 19:30:03 CET 2007, Grant Edwards wrote: > The XO laptop comes with a built-in Python IDE, so everybody on > c.l.p ought to have one... A nice idea in theory, but... 2. XO laptops will be shipped only to G1G1 participants and only to the street addresses they provide for themsel

  1   2   >