[PyQt] QScintilla font is tiny on mac os x 10.6

2011-04-21 Thread Danny Shevitz
m and change font sizes in each app. thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] installation problem on mac os x 10.6.6

2011-03-18 Thread Danny Shevitz
om: PyCustomWidgets::getModuleAttr(char const*, char const*)in pluginloader.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [libpythonplugin.dylib] Error 1 make: *** [all] Error 2 Can anyone please offer suggestions as to what might be going on? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] memory leak on a Mac

2011-01-28 Thread Danny Shevitz
> I don't have those problems. How did you install PyQt? I use MacPorts (using Python 2.7). Arne, thanks for the MacPorts tip. I have installed pyqt through MacPorts and it works just fine. No memory leak anymore. After figuring out how to get through our firewall and making the MacPorts python

Re: [PyQt] memory leak on a Mac

2011-01-27 Thread Danny Shevitz
Arne Schmitz gmx.net> writes: > > Am 27.01.2011 um 18:12 schrieb Danny Shevitz: > > > Any PyQt application generates the same message. If I run something from the > > samples directory, I get the same memory leak, so it is nothing in my code. > > I don'

Re: [PyQt] memory leak on a Mac

2011-01-27 Thread Danny Shevitz
FWIW, Any PyQt application generates the same message. If I run something from the samples directory, I get the same memory leak, so it is nothing in my code. thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http

[PyQt] memory leak on a Mac

2011-01-27 Thread Danny Shevitz
PyQt 4.8.3 QScintilla 2.4.6 thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] automatic resizing code sample

2011-01-12 Thread Danny Shevitz
Howdy, In my past wanderings, I remember seeing a demo example of (I believe) a QTextEdit that automatically resized itself vertically to fit it's contents. I can no longer find this example. Does anyone remember this example and could please provide a link? thanks,

[PyQt] how to implement flags based on drop type

2010-10-27 Thread danny
==Qt.MoveAction and item.isBranch: return defaultFlags | Qt.ItemIsDropEnabled return defaultFlags The problem is that the signature of flags is: flags(modelIndex). I am completely stumped. Does anyone have any ideas? thanks, Danny ___ PyQt mailing

[PyQt] possible to change the execute drag type?

2010-10-26 Thread danny
s a copy so I can change the position behavior, but get reported back to the framework as a move, so the original row gets deleted. thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Possible bug in QAbstractItemModel.setItemData

2010-10-21 Thread danny
evant C++ source for setItemData is: bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap &roles) { bool b = true; for (QMap::ConstIterator it = roles.begin(); it != roles.end(); ++it) b = b && setData(index, it.value(), it.key()); } So setItemData

Re: [PyQt] dynamically determine if in a macro?

2010-10-21 Thread danny
> Isn't QUndoStack.isClean(), what you're after? But since beginMacro and > endMacro can nest, this state might not be meaningful. I don't believe so. isClean() refers to whether the current command index is at zero. If I push a command, then begin a macro, isClean will always be False. Your lo

[PyQt] dynamically determine if in a macro?

2010-10-21 Thread danny
object whether a macro is currently in progress? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] question on drag and drop

2010-10-20 Thread danny
> Hey Danny, cheer up! The good news are, that > QAbstractItemView.setDefaultDropAction() isn't exactly undocumented, > see http://doc.trolltech.com/4.6/qabstractitemview.html. Otherwise that > would be a major pity, since Phil refuses to implement any undocumented

Re: [PyQt] question on drag and drop

2010-10-20 Thread danny
> whenever i encounter situations where i'm going to reimplement virtual > methods, i will usually take a look at the qt source at some point. i > will look at the details of the default implementation, and also how the > method is used internally by other methods. if the method is part of an

Re: [PyQt] question on drag and drop

2010-10-19 Thread danny
> when your reimplemented mimeTypes() method is called internally by qt, > the first item in the returned list will be used to set the format. > Ok, I think I get it. Internal DnD will use the first specified mime type. That still raises the question of the purpose of the mimeType() method. T

[PyQt] question on drag and drop

2010-10-19 Thread danny
hatever' # EVEN FOR INTERNAL DROPS if data.hasFormat('application/x-whatever'): if action==Qt.MoveAction: ... thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] how to close editor in QTreeView

2010-10-13 Thread danny
self.closeEditor(editor, QAbstractItemDelegate.NoHint) Worked like a charm! The hard part was figuring out that indexWidget, returned to open editor if the item was being edited. thanks again, Danny ___ PyQt mailing listPyQt

[PyQt] how to close editor in QTreeView

2010-10-08 Thread Danny
t way to close the open QTreeView editor (I'm in single selection mode, BTW)? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] selectionChanged or currentChanged in QTreeView

2010-10-07 Thread danny
> Look in the selection model: > http://doc.trolltech.com/4.5/qitemselectionmodel.html#currentChanged thanks, I was looking in the wrong place. I guess the correct way to reference the signal is: myTreeView.selectionModel().currentChanged thanks, D ___

Re: [PyQt] selectionChanged or currentChanged in QTreeView

2010-10-07 Thread danny
d find. In my code, I emitted my own signal. Is there in fact a "currentChanged" signal, and if so, how do I connect to it? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] selectionChanged or currentChanged in QTreeView

2010-10-06 Thread danny
> Are you sure, that the activated signal doesn't fit your needs? Unfortunately, yes. I forgot to mention, that I have the activated signal connected to a slot that shows when it fires. I also have both selectionChanged and currentChanged overridden to show when they execute. My app constructs a

[PyQt] selectionChanged or currentChanged in QTreeView

2010-10-06 Thread danny
lt-in signal to connect to? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] can't drop external data onto QTreeView

2010-09-28 Thread danny
stupid me. I had: if not index.isValid(): return QtCore.Qt.NoItemFlags in my flags() override. doh! D ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] can't drop external data onto QTreeView

2010-09-28 Thread danny
re when I drop over an invalid item in the QTreeView? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] stopping tool button from staying depressed in D

2010-09-21 Thread danny
> Danny, show us your overload, or even better a minimum runnable example. > > You should also catch the mousePressEvent and prevent the press from being > delivered to the Qt event machinery, e.g. call event.ignore() on left > clicks. > > Consequently, you should start

[PyQt] stopping tool button from staying depressed in D

2010-09-21 Thread danny
False). Is there a cleverer way to do this so that the button ignores the pressed status after the drag starts? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] advice needed for dragging icons off a toolbar

2010-09-18 Thread Danny Shevitz
;ve send the other day. Thanks again for your response. I am pretty sure I know enough to begin now. I cannot find your delayedencoding example. Can you post a link or a thread title? thanks, Danny ___ PyQt mailing listPyQt@river

Re: [PyQt] advice needed for dragging icons off a toolbar

2010-09-17 Thread danny
Anyway, I'm still in the weeds. thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] advice needed for dragging icons off a toolbar

2010-09-17 Thread danny
Howdy, I have a newbie question. I want to construct a toolbar with standard looking icons, only I don't want to click them, I want to drag them like the "draggable icons" example. I will have four buttons on the toolbar. What I don't know, is in which widget to begin the drag operation. In the u

Re: [PyQt] QDockwidget advice needed

2010-08-19 Thread danny
slots can be set up once. I presume I do need an update UI function whenever the selected item changes, but that is no big deal. thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo

Re: [PyQt] QDockwidget advice needed

2010-08-18 Thread danny
FWIW, I do have Mark Summerfield's book and I agree it is brilliant. However, he does not give an example of how to connect a dock window to a tree item. His examples include how to keep two widgets synchronized, but that is not my problem. The problem with the tree and dock window, is that the *o

[PyQt] QDockwidget advice needed

2010-08-18 Thread danny
widget values in the dock widget? Is there a slicker way. Also, if I want the dockwidget to act in a live modeless manner, and have the changes propagate between the dock widget and the tree, is there a standard paradigm for doing this? thanks, Danny

Re: [PyQt] memory leak using QMainWindow.removeToolBar

2010-08-16 Thread danny
thanks, your solution works, and stops my code from seg faulting. I'm curious why mine doesn't work. In the documentation for QMainWindow http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qmainwindow.html#addToolBar-3 The third overloading of the addToolBar method, was what I was using.

[PyQt] memory leak using QMainWindow.removeToolBar

2010-08-16 Thread danny
ource code. Please let me know if this is a bug or my own stupidity. I am running python 2.5.1, pyqt 4.7.3 thanks, Danny #%< import sys from PyQt4 import QtGui, QtCore, QtSql def isAlive(qobj): import sip try: sip.unwrapinsta

Re: [PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread danny
my bad. It turns out I had a bug in my code, where I wasn't changing the template details. Calling setCentralWidget more than once, works just fine... thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread danny
Nick Gaens nickgaens.com> writes: > > > You might want to set a QStackedWidget as your centralWidget and toggle the content of that first one? > > On Wed, Aug 11, 2010 at 6:51 PM, Danny Shevitz lanl.gov> wrote:ilman/listinfo/pyqt > > > -- Nick Gaens > &

[PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread Danny Shevitz
had no effect. So, the question is simply, is there a way to change the central widget in a QMainWindow. (Or is this poor style, and there is a better design pattern?) thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http

[PyQt] best practices for MDI app

2010-07-13 Thread Danny Shevitz
This doesn't work as expected. When I click close, the MDI child blanks but doesn't disappear. It is as if the QDialog is closing itself, but the MDI page still exists fine. If I subclass QWidget, then do I need to reimplement all the button functionality?

[PyQt] alignment issue with radio buttons

2010-06-21 Thread Danny Shevitz
the left. I construct the radio buttons without labels, but it is as if the buttons have space allocated for labels even if there is no text. Is there any easy way to truly align the radio buttons and the column headings? thanks, Danny ___ PyQt

[PyQt] QToolBox question

2010-06-14 Thread Danny Shevitz
o how to change these? thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] can't get findChild to work

2010-06-08 Thread Danny Shevitz
e what I am doing wrong? Thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] newbie question on getting widget handles

2010-06-08 Thread Danny
howdy, this is a real newbie question. I have an MDI application. In the child widget code, I need to get access to a main window setting. So how do I get a handle to the main window from a child MDI window? thanks, Danny ___ PyQt mailing listPyQt

[PyQt] newbie question on getting widget handles

2010-06-08 Thread Danny Shevitz
howdy, this is a real newbie question. I have an MDI application. In the child widget code, I need to get access to a main window setting. So how do I get a handle to the main window from a child MDI window? thanks, Danny ___ PyQt mailing

[PyQt] minor bug in examples

2010-06-03 Thread Danny Shevitz
toPlainText() QtGui.QApplication.restoreOverrideCursor() I am using PyQt version 4.7.3 Thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] QTableView - insert e.g. another view in a cell?? Is that possible??

2009-05-26 Thread Danny Schneider
put the second view into the QTableView... Can anyone can give me an advice or any hints how to solve that problem??? Thanx so far... Kind regards Danny Neu: WEB.DE FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telef

[PyQt] PyKDE4 on FreeBSD, first impressions

2008-04-06 Thread Danny Pansters
Hi folks, and Jim (CC'd because lately it seems that seeing my post on the ML might take a few days, hope you don't mind), I started porting PyKDE4 to FreeBSD, using the kdelibs4 port from our "area 51" testing repo where all KDE stuff goes, most prominently the KDE4 ports. For now I have only

Re: [PyQt] PyKDE4-4.0.2-1 release available

2008-04-03 Thread Danny Pansters
On Friday 28 March 2008 19:50:04 Jim Bublitz wrote: > On Friday 21 March 2008 11:24, Danny Pansters wrote: > > I've been trying to get this to build on FreeBSD, but the build fails > > with both gcc34 and gcc42: > > Sorry for the slow response - my email to Phil got de

Re: [PyQt] PyKDE4-4.0.2-1 release available

2008-04-03 Thread Danny Pansters
On Friday 28 March 2008 19:50:04 Jim Bublitz wrote: > On Friday 21 March 2008 11:24, Danny Pansters wrote: > > I've been trying to get this to build on FreeBSD, but the build fails > > with both gcc34 and gcc42: > > Sorry for the slow response - my email to Phil got de

Re: [PyQt] PyKDE4-4.0.2-1 release available

2008-03-21 Thread Danny Pansters
kioKArchive.cpp:28: note: since type 'sipKArchive' has pure virtual functions sipkioKArchive.cpp:1373: error: cannot allocate an object of abstract type 'sipKArchive' sipkioKArchive.cpp:28: note: since type 'sipKArchive' has pure virtual functions *** Error code 1 Stop in /

Re: [PyQt] problem with designer plugin on windows

2008-02-13 Thread Danny Chan
thon 2.5.1 > > Qt 4.3.2 (compiled with MinGW) > > sip 4.7.3 (compiled with MinGW) > > PyQt 4.3.3 (compiled with MinGW) > > > > Apart from this, PyQt works fine. I have no problem using the builtin > > widgets

Re: [PyQt] problem with designer plugin on windows

2008-02-13 Thread Danny Pansters
On Wednesday 13 February 2008 13:06:05 Danny Chan wrote: > Hi! > I have a problem with the designer plugin on windows. I have installed both > Qt and PyQt from source. The designerplugin.dll ends up in the correct > location in the designer plugins directory inside my Qt directory. How

Re: [PyQt] Standard font in PyQt applications (Eric included)

2008-02-13 Thread Danny Pansters
On Wednesday 13 February 2008 13:28:21 Sibylle Koczian wrote: > Hello, > > I'm using PyQt 4.3.3, Qt 4.3.3, Eric 4.0.4(r1711), sip 4.7.3, QScintilla > 2.1, Python 2.5.1 on Gentoo Linux, with KDE 3.5.8 as my Desktop manager. > After one of the last Gentoo updates the font in Eric and in all my PyQt >

[PyQt] problem with designer plugin on windows

2008-02-13 Thread Danny Chan
have no problem using the builtin widgets, subclassing in Python or integrating my c++ custom widgets with sip. Can anybody help? Danny - Lesen Sie Ihre E-Mails auf dem Handy.. ___ PyQt maili

Re: [PyQt] [Fwd: Bug#441577: ftbfs with g++-4.3/gcc-snapshot]

2007-09-11 Thread Danny Pansters
On Tuesday 11 September 2007 02:11:52 Andreas Pakulat wrote: > On 10.09.07 16:30:50, Jim Bublitz wrote: > > On Monday 10 September 2007 13:25, Torsten Marek wrote: > > > Hi Phil, > > > > > > there has been a bug report about g++-4.3-related build problems, can > > > you comment on that, please? > >

Re: [PyQt] ImportError: No module named QtOpenGL

2007-05-03 Thread Danny Pansters
On Tuesday 01 May 2007 09:23:53 Phil Thompson wrote: > On Monday 30 April 2007 10:29 pm, Danny Pansters wrote: > > On Monday 30 April 2007 14:50:29 Giovanni Bajo wrote: > > > On 30/04/2007 9.11, Mark Summerfield wrote: > > > > But I agree with the general

Re: [PyQt] Re: PyQT4 always 'Segmentation fault' ,help me please

2007-05-03 Thread Danny Pansters
On Wednesday 02 May 2007 07:55:52 haiyun jiang wrote: > 2007/5/1, haiyun jiang <[EMAIL PROTECTED]>: > > Hi, > > > > I am having some serious problems with *PyQT4*, > > when i run pyqt script, I always get 'Segmentation *fault*'. > > Segmentation *fault* (core dumped) > > My system is FreeBSD 6.2

Re: *** GMX Spamverdacht *** Re: [PyQt] ImportError: No module named QtOpenGL

2007-04-30 Thread Danny Pansters
On Monday 30 April 2007 14:50:29 Giovanni Bajo wrote: > On 30/04/2007 9.11, Mark Summerfield wrote: > > But I agree with the general point that using "import *" is reasonable > > when you have a large library like PyQt4---providing that library has > > sensible export behaviour. For example, I _ass

Re: [PyQt] PyKDE dcopext string marshalling; no unicode chars in a QString?

2007-04-30 Thread Danny Pansters
On Monday 30 April 2007 21:35:57 Hans-Peter Jansen wrote: > Am Montag, 30. April 2007 16:22 schrieb Danny Pansters: > > The code that does the video capturing is written in C and used in the > > rest of the app as a python module (using SWIG to expose a dozen simple > > contro

Re: [PyQt] PyKDE dcopext string marshalling; no unicode chars in a QString?

2007-04-30 Thread Danny Pansters
On Monday 30 April 2007 16:46:59 you wrote: > > It seems I can't retrieve a QString object containing non-ASCII > > characters. > > You can if you use unicode() instead of str(). Yes that's obvious, but it may break other people's apps when using such a patched dcopext module. I create and mainta

[PyQt] PyKDE dcopext string marshalling; no unicode chars in a QString?

2007-04-30 Thread Danny Pansters
Hi, It seems I can't retrieve a QString object containing non-ASCII characters. I have a TV application (on FreeBSD) and it exports most of its functions via dcop. I now added functionality to retrieve (raw YUV) framedata over dcop, the idea being to eventually write a minimal dcopclient in C++

Re: [PyQt] New Releases of PyQt4, PyQt3, SIP

2007-04-04 Thread Danny Pansters
On Tuesday 03 April 2007 13:23:54 Phil Thompson wrote: > I plan to make new releases of PyQt4, PyQt3 and SIP (probably) over the > weekend. > > Let me know if there is something that isn't fixed in current snapshots but > should be. > That should be: Most of the PyQt4 html documentation went AWOL

Re: [PyQt] New Releases of PyQt4, PyQt3, SIP

2007-04-04 Thread Danny Pansters
On Tuesday 03 April 2007 13:23:54 Phil Thompson wrote: > I plan to make new releases of PyQt4, PyQt3 and SIP (probably) over the > weekend. > > Let me know if there is something that isn't fixed in current snapshots but > should be. > Most of the html documentation went AWOL somewhere between end

Re: [PyKDE] Latest PyQt4 snapshot build failure

2007-02-26 Thread Danny Pansters
On Monday 26 February 2007 15:27, Arve Knudsen wrote: > Did you try the latest SIP snapshot? Yup that was the problem, my sip was a day older... Sorry for the noise. Dan ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer

[PyKDE] Latest PyQt4 snapshot build failure

2007-02-26 Thread Danny Pansters
[ line breaks inserted for readability ] c++ -c -pipe -fPIC -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/local/include -I/usr/local/include/python2.4 -I/usr/local/mkspecs/freebsd-g++ -I/usr/local/include/QtGui -I/usr/local/include/QtCore -I/usr/X11

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-17 Thread Danny Pansters
On Saturday 17 February 2007 21:38, you wrote: > On Saturday 17 February 2007 4:07 pm, Danny Pansters wrote: > > On Saturday 17 February 2007 01:35, Phil Thompson wrote: > > > On Saturday 17 February 2007 12:10 am, Danny Pansters wrote: > > > > On Saturday 17 Febr

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-17 Thread Danny Pansters
On Saturday 17 February 2007 01:35, Phil Thompson wrote: > On Saturday 17 February 2007 12:10 am, Danny Pansters wrote: > > On Saturday 17 February 2007 00:18, Phil Thompson wrote: > > > On Friday 16 February 2007 10:54 pm, Danny Pansters wrote: > > > > A little bi

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-16 Thread Danny Pansters
On Saturday 17 February 2007 00:18, Phil Thompson wrote: > On Friday 16 February 2007 10:54 pm, Danny Pansters wrote: > > A little bit better: > > > > If I use pyldlib_dir = ducfg["LIBPL"] it seems to get the correct path > > (/usr/local/lib/python2.4/config

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-16 Thread Danny Pansters
uilt-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 Looks to be a casting problem. Any ideas? Cheers, Dan On Thursday 15 February 2007 23:32, Danny Pansters wrote: > Hi, > > I get what seems to be a similar problem as what P

[PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-15 Thread Danny Pansters
Hi, I get what seems to be a similar problem as what Patrick is seeing on his Mac, on FreeBSD. We recently had the Qt4 ports comitted and I've been working on the FreeBSD ports for PyQt4, sip (update), Qscintilla2 and have been following the snapshots daily, running full builds of the packages

Re: [PyKDE] Cannot use KUniqueApplication with dcop

2006-08-24 Thread Danny Pansters
On Thursday 24 August 2006 09:26, Sebastian Kügler wrote: > On Thursday 24 August 2006 01:53, Danny Pansters wrote: > > On Wednesday 23 August 2006 23:58, Sebastian Kügler wrote: > > > I'm trying to make a KUniqueApplication accessible via dcop, but I'm >

Re: [PyKDE] Cannot use KUniqueApplication with dcop

2006-08-23 Thread Danny Pansters
On Wednesday 23 August 2006 23:58, Sebastian Kügler wrote: > I'm trying to make a KUniqueApplication accessible via dcop, but I'm > getting the following error: > > dcop-testapp: ERROR: Communication problem with dcop-testapp, it probably > crashed. > > If I change KUniqueApplication to KApplicatio

Re: [PyKDE] eric3: Line wrapping

2006-05-10 Thread Danny Adair
checkbox in the preferences and the go something like self.setWrapMode(Preferences.getEditor("LineWrap") and QextScintilla.SC_WRAP_WORD or QextScintilla.SC_WRAP_NONE) so I have the fear that there is a reason why it was hardcoded... Cheers, Danny On 5/11/06, Danny Adair <[EM

Re: [PyKDE] eric3: Line wrapping

2006-05-10 Thread Danny Adair
START | > QextScintilla.SC_WRAPVISUALFLAG_END) looks like the culprit to me but I've no idea of side-effects. Detlev to the rescue? :-) Thanks so much in advance. Cheers, Danny On 5/11/06, Andreas Pakulat <[EMAIL PROTECTED]> wrote: On 11.05.06 09:57:58, Danny Adair wrote: > I just ugraded to eric 3.9.0 and I no

[PyKDE] eric3: Line wrapping

2006-05-10 Thread Danny Adair
scrollbar instead. Thanks for your help. Cheers, Danny ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[PyKDE] QImage usage (PyQt3)

2006-04-30 Thread Danny Pansters
I'm mucking around trying to get a QImage from capture hardware (USB camera). I'm using a simple pygame based overlay for displaying (read() a YUV frame then display it on an overlay). I have the raw YUV data, split out in a tuple as I'm already using them for displaying each frame (four Y plane

Re: [PyKDE] PyKDE Snapshot

2006-04-23 Thread Danny Pansters
On Sunday 23 April 2006 06:34, Jim Bublitz wrote: > I've sent Phil the new PyKDE snapshot (PyKDE-snapshot20060422.tar.gz) and > it should be available soon at riverbankcomputing.co.uk, allowing for > timezone differences and Phil's schedule. > > This snapshot *requires* sip 4.1.1 and probably will

Re: [PyKDE] PyKDE Snapshot

2006-04-23 Thread Danny Pansters
On Sunday 23 April 2006 06:34, Jim Bublitz wrote: > I've sent Phil the new PyKDE snapshot (PyKDE-snapshot20060422.tar.gz) and > it should be available soon at riverbankcomputing.co.uk, allowing for > timezone differences and Phil's schedule. > > This snapshot *requires* sip 4.1.1 and probably will

Re: [PyKDE] PyKDE building and the -j flag (again)

2006-04-14 Thread Danny Pansters
On Friday 14 April 2006 23:54, Torsten Marek wrote: > just as a quick guess, are the versions of sip the same? Yes, they're both at my latest port's version. > As far as system resources are concerned, g++ 4.0 (the C++ compiler I 3.4.4 on FBSD6, might be 3.3 on 5. > assume you are using) takes

[PyKDE] PyKDE building and the -j flag (again)

2006-04-14 Thread Danny Pansters
Hi, I'm maintaining the FreeBSD ports for sip/pyqt/pykde. I'm once again having problems with the -j flag, but this time not across archs but for i386. On my box it works fine, on the FreeBSD build cluster it doesn't. For clarity: I'm dependent on the package build runs on the cluster to get fe

Re: [PyKDE] Ghosting out dialog sections

2006-03-20 Thread Danny Pansters
On Monday 20 March 2006 20:36, Maxwell Bottiger wrote: > Hi, > > I'm fairly new to designing with Qt (esp w. python) and I was wondering > what the easiest way was to ghost out sections of my dialog. I have a pair > of raido buttons which determine which network protocol to use and I want > to mak

Re: [PyKDE] Status of new PyKDE snapshot

2006-02-20 Thread Danny Pansters
On Tuesday 21 February 2006 00:56, Andreas Pakulat wrote: > Hi, > > sorry but I have to ask: What is the status of a new PyKDE snapshot that > works with the recent sip changes? I don't want to put any pressure on > Jim, just a short note of his time plans for it would be really nice... > > Andreas

Re: [PyKDE] PyKDE example app(s).. what do *you* have? :)

2006-02-18 Thread Danny Pansters
On Thursday 16 February 2006 05:18, you wrote: > It's only a matter of time before high-level programming like this will > take off, IMHO. It still pains me to see someone waste there time with > pre-compilation and syntax soup to write some of the new apps we see. My Certainly. Especially when in

[PyKDE] PyKDE example app(s).. what do *you* have? :)

2006-02-15 Thread Danny Pansters
If we're showing off anyway (Patrick).. well I've seen quite a few people lately asking for working real-life examples of pyqt/pykde, here's one. It's for (Free)BSD not for Linux or Windows but it probably is a nice example of how PyKDE can be used in a useful way (once again this is PyQt3 and P

Re: [PyKDE] kdepyuic modifications

2006-02-11 Thread Danny Pansters
On Saturday 11 February 2006 13:15, Mikhail Yarmish wrote: > At the moment kdepyuic doesn't make import of kde widgets. I've modified > it for myself to do that imports. At the moment it do import just for > kfile widgets but if somebody needs such upgrade I'll finish it for > fully support of all

Re: [PyKDE] PyKDE - looking for comments

2006-01-23 Thread Danny Pansters
On Monday 23 January 2006 07:39, Jim Bublitz wrote: > It really doesn't matter a lot to me either way - anybody have an opinion > one way or the other? No strong opinion other than the niftyness factor of "building" the docs. After all it is source code being built so the build stage IMHO is mos

[PyKDE] PyKDE-snapshot20060118 runtime failure when built with gcc295 (KConfigSkeleton)

2006-01-22 Thread Danny Pansters
(shortened) ===> Configuring for py24-kde-3.15.0,1 ( cd /work/a/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20060118 && /usr/local/bin/python configure.py -k /usr/local -v /usr/local/share/py-sip -d /usr/local/lib/python2.4/site-packages ) PyKDE version 3.15.0 Python version is 2.4.2 sip vers

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-20 Thread Danny Pansters
There's one I forgot to mention: the kspell2 sip files don't seem to get installed. (I left it that way for now, they get built into the module alright I reckon, the sips are mostly for reference but I do have them installed by default) Cheers, Dan It'll be way too cold and wet tomorrow to cl

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-20 Thread Danny Pansters
On Thursday 19 January 2006 07:01, Jim Bublitz wrote: > I also need feedback on whether this snapshot builds on various systems - I > currently am only setup to test on SuSE so none of this has been tested on > Fedora, Mandriva, Ubuntu or Gentoo. I don't expect major problems. FreeBSD is ok. New p

[PyKDE] PyKDE compile problem sparc64/FreeBSD7

2006-01-11 Thread Danny Pansters
Hi, I maintain the Sip/QScintilla/PyQt/PyKDE ports for freeBSD. I don't have any non-i386 box myself, but recently I got this from the build cluster: c++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde340

Re: [PyKDE] DCOPExObj bug?

2005-12-01 Thread Danny Pansters
On Thursday 1 December 2005 00:57, Jim Bublitz wrote: > On Wednesday 30 November 2005 15:41, Danny Pansters wrote: > > Using kdcop and the dcop CLI, it seems that although the methods are > > executed alright, kdcop complains: "DCOP call failed. Application is > > sti

[PyKDE] DCOPExObj bug?

2005-11-30 Thread Danny Pansters
Hi, I'm working on a PyKDE app and have been adding a dcop interface like such: def __init__(self, obj, id): DCOPExObj.__init__(self, id) self.addMethod("void quit()", obj.slotQuit) where obj is the mainwindow instance that has all the relevant methods (most equal actions). Usi

[PyKDE] pyKDE 0628 snapshot doesn't compile anymore with newer sip

2005-08-22 Thread Danny Pansters
First of all, thanks for all the hard work. I'm having a problem building pyKDE with the new sip. The last version that I succesfully tested was 0727. With 0819 and 0821 I get this, and from the looks of it it's possibly a problem that other modules may also have: c++ -c -Wno-deprecated-declara

[PyKDE] FreeBSD and latest snapshot, so far so good.

2005-03-14 Thread Danny Pansters
Thanks Jim and Phil and all the others who help this package to get released and maintained. I always try to remember to say this but sometimes forget: Thanks for the software! Latest snapshot 0307 builds fine on FreeBSD5 and I think now that the KIconDir stuff is gone it will also work on Free

[PyKDE] PyKDE 4.0.0 and gcc295 (on older FreeBSD branch)

2005-03-06 Thread Danny Pansters
Hi, I attempt to maintain the FreeBSD port to sip, py-qt, py-kde, and have just updated the former two to their .1 versions, currently checking if py-kde still builds (latest snapshot). I have a few observations (small fixable things) and one problem (maybe a bug). First, some of the examples

Re: [PyKDE] Supported architectures?

2005-01-31 Thread Danny Pansters
Thanks for all your valuable info and suggestions. I will try to persue Ulrich's suggestion with an .exp file first (perhaps more for other modules). One complicating factor is that I don't have the hardware myself, so I'll have to rely on user feedback or (more likely) the automated build sys

[PyKDE] Supported architectures?

2005-01-31 Thread Danny Pansters
Hi, I'm the current maintainer of the pyKDE, pyQt and sip ports (*) for FreeBSD. I recently updated the port to allow it to build for KDE > 3.3.0 (I stuck to the stable realeased tarball and just had the port's Makefile rename the few diff files and such where needed). FreeBSD has the Tier 1 a