Re: [PyQt] Problem using pyQT4 together with py2exe

2009-05-11 Thread Richard Smith
Have you dropped the icons into the dist directory created by py2exe? or are you using a resource file? cheers Richard On Tue, 12 May 2009 09:00:20 hio wrote: > hi all, > i'm in trouble with using pyQT4 and py2exe together... > My problem is that the .exe resulting by running the script seup.py,

Re: [PyQt] Custom widgets, dynamic properties and css

2007-11-22 Thread Richard Smith
Mark Summerfield wrote: > Well, if you're not mixing painting with calling setStyle() I don't see > why it should segfault. If you could reduce it to as small an example as > possible and post that then at least Phil could try it and see if it is > a PyQt bug. (A backtrace might help too.) No, not

Re: [PyQt] Custom widgets, dynamic properties and css

2007-11-20 Thread Richard Smith
Mark Summerfield wrote: > I think for styles you must call setStyle() rather than update() to > apply a new (or modified) style. Nope, that segfaulted... It did update the style before it segfaulted though. I've also tried setting the property using a QtCore.pyqtProperty() and various methods sti

[PyQt] Custom widgets, dynamic properties and css

2007-11-20 Thread Richard Smith
Hi Guys, I've created a custom widget for an application I'm building. The widget is a simple frame with 2 labels inside it. Basically, I need the frame style to change dependant on a property of the custom widget. I've set the property using .setProperty() method, and the initial style of the w

[PyQt] Widget CSS hints

2007-10-10 Thread Richard Smith
owever the QAbstractItemView widget seems a little elusive. Does anyone have any suggestions as to: a) How I can style these widgets? b) If there are any pre-defined "touch-screen" styles that can be used. Kind regards -- Richard Smith | OmniAccess S.L. Phone: +34 971 22

Re: [PyKDE] Installing pyqt4 on a debian testing (etch) sytem

2006-06-07 Thread Richard Smith
Well, if you build PyQt4 in debug mode I think it's pretty obvious that you also need the qt4 debug libs, is it? Or did you not specify the -u switch? Nope. I did. 'python configure.py' which complained it was unable to find a qmake for V4. So after I dug up what debian did with it. I spe

Re: [PyKDE] Installing pyqt4 on a debian testing (etch) sytem

2006-06-07 Thread Richard Smith
You don't need to be root, but you do need write permission in the source directory. Did you unpack the source as root? Indeed, I had some permission issues. However this was just a user error symptom of the larger problem where I didn't have QtCore_debug installed. Its not a dependency of

[PyKDE] Installing pyqt4 on a debian testing (etch) sytem

2006-06-06 Thread Richard Smith
I'm trying to install the beta on my debian system but I get this. Do I have to be root? The README says I shouldn't need that until make install. === [EMAIL PROTECTED]:~/src/PyQt4-gpl-4.0beta1$ python configure.py -q /usr/bin/qmake-qt4 Determining the layout of your Qt installation... An i

Re: [PyKDE] Eric3 user interface

2006-03-31 Thread Richard Smith
> > ..to the users complaining about too many options: think about it, its an ide > not an editor. Its far better than most other python scripting environments > out there *because* it has many options to play with. > I'll second that. I can ever really imagine too many options. I've got commerc

Re: [PyKDE] Eric3 user interface

2006-03-28 Thread Richard Smith
> x. Having a dialog box popping up when eric detects a currently open > file has been changed > outside the application is not very handy. An option automatically reload files if changed > outside the application> would be better. I dissagree. The dialog has alerted me of stupid things

[PyKDE] eric3 and VCS menu actions

2006-01-10 Thread Richard Smith
Detlev, The following is a mail I sent to you a while back that I never got any response on so I guess it must have gotten missed. = I've been perodically working on Darcs support for eric3. Currently what I have is a big search and replace of the mercurical package but i

[PyKDE] enableing eric3 VCS menu actions

2005-12-12 Thread Richard Smith
Detlev and other eric3 hackers, I've been perodically working on Darcs support for eric3. Currently what I have is a big search and replace of the mercurical package but it at least loads. And I can select 'darcs' from the 'Add to repository' It checks for the existence of darcs and then does

Re: [PyKDE] Newbie getting started on Debian

2005-09-29 Thread Richard Smith
> > I installed a few of the dependencies using apt-get -t unstable until > python2.3-qt3, which wanted to install a whole lot of KDE 3.4. I didn't > want this much from sid. Wise choice. The ABI transition is not complete and that upgrade would have broken your KDE. If you do mess things up you

Re: [PyKDE] eric3 questions

2005-09-28 Thread Richard Smith
> > > > How can I change the line separation in the text windows? > > I don't understand what you mean. I think this was covered in a previous thread. IIRC the line spaceing is set by the font you use for the editor text. -- Richard A. Smith ___

Re: [PyKDE] eric3 on windows 2000: strage main-window behavior

2005-09-13 Thread Richard Smith
On 9/13/05, Richard Smith <[EMAIL PROTECTED]> wrote: > > - eric3 window is always on top of ALL OTHER WINDOWS > > On one windows 2k machine I've installed eric3 on I see the same To clarify. I've only installed it on one windows machine and it has the same

Re: [PyKDE] eric3 on windows 2000: strage main-window behavior

2005-09-13 Thread Richard Smith
> - eric3 window is always on top of ALL OTHER WINDOWS On one windows 2k machine I've installed eric3 on I see the same behavior. I just figured it was some sort of issue with the free QT port. -- Richard A. Smith ___ PyKDE mailing listP

Re: [PyKDE] ANN: new snapshot of eric3 released

2005-08-25 Thread Richard Smith
> > 1) git > 2) monotone > 3) darcs > 4) GNU-arch (ala tla) Darcs! Darcs will get you 2 for 1 since it can work with native git trees. I started a bit of work on darcs but nothing too involved yet. I'll pull the snapshot and see what you did. -- Richard A. Smith

Re: [PyKDE] ANN: Eric3 3.7.0 released

2005-06-04 Thread Richard Smith
> this is to let all of you know about the release of eric3 3.7.0. Next to a > bunch of bugfixes, it adds these features. So is the wishlist for 3.8.x offically open? -- Richard A. Smith ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://ma

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-26 Thread Richard Smith
> > > Whenever I save a file, the cursor stands at the bottom of the page and > > > page scrolls. > > > > I've noticed something like that as well but I haven't spent any time > > to see what it was actually doing. > > Haven't seen anything like this over here. Could you give more specific > inst

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-25 Thread Richard Smith
On 5/25/05, Mike Tammerman <[EMAIL PROTECTED]> wrote: > I don't know if it is a bug or feature. > > Whenever I save a file, the cursor stands at the bottom of the page and > page scrolls. I've noticed something like that as well but I haven't spent any time to see what it was actually doing. -

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-24 Thread Richard Smith
> > That is correct behavior. cvs sends some status messages to stderr, which is > redirected to the error pane. There is nothing I can do about it. Ok.. I assumed you were processing and filtering the output rather than just routing it to a window. -- Richard A. Smith

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-24 Thread Richard Smith
> http://www.die-offenbachs.de/detlev/snapshots > > Please give it a thorough testing and report all bugs found. When doing a CVS update and commit the progress info for recursing into a subdirectory is reported in the errors window. example dir structure has some sub-dirs src src/ui src/servic

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-24 Thread Richard Smith
> > > I'm trying to use the task feature of eric3, but it looks like it is not > possible to link the task to a document/line... is it still in > development or I'm missing some fundamental point (like reading the > manual ;)) ? It's auto adding. You mark a task with the the word string TODO: or

Re: [PyKDE] autoAdding buttons to a grid

2005-05-20 Thread Richard Smith
On 5/19/05, Richard Smith <[EMAIL PROTECTED]> wrote: > > > > Here's a crude example that may do something like what you were > > originally trying to do: > > I tried to use your same QGrid model with a QButtonGroup but there is > still a piece of the puzzle

Re: [PyKDE] autoAdding buttons to a grid

2005-05-19 Thread Richard Smith
> > Here's a crude example that may do something like what you were > originally trying to do: Yes. Thats pretty much exactly what I want to do only in a QButtonGroup. I would also like to be able to change the number of columns as well. For one series of buttons a 2 x 3 grid may be what I wan

Re: PyQt wiki (was: [PyKDE] pyQt codesharing forum?)

2005-05-19 Thread Richard Smith
> > seperate pyQtforum or perhaps trying to have a pyQt forum on > > Qtforum.org created? > > There is already a wiki up and running: > > http://www.diotavelli.net/PyQtWiki/FrontPage I see that. I was just a day too early on my post. *grin* > The only problem I have with the wiki right now i

[PyKDE] pyQt codesharing forum?

2005-05-18 Thread Richard Smith
I've been looking at a lot of stuff on Qtforum.org. Lots of stuff there. Does anyone think there would be any interest in either a seperate pyQtforum or perhaps trying to have a pyQt forum on Qtforum.org created? -- Richard A. Smith ___ PyKDE mailin

Re: [PyKDE] autoAdding buttons to a grid

2005-05-18 Thread Richard Smith
> Okay so create a button-group for each of the sets of buttons you need. > Hide them all by calling their hide() methods. As each set of buttons > is needed, call its show() method (after re-positioning it if necessary > by calling its move() method). There should be no need to keep creating > and

Re: [PyKDE] autoAdding buttons to a grid

2005-05-18 Thread Richard Smith
> > IIUC, what you have is a static block of buttons on one side of the > screen which need to change dynamically. John, Allmost. The number of buttons is not fixed. Here's all the gory details: I'm building a specialized jukebox for use in Dance studios. With classification features far

Re: [PyKDE] autoAdding buttons to a grid

2005-05-18 Thread Richard Smith
> > not going to cause app crashes then I''d rather wait till it finds its > > way into unstable. > > Dtors being called twice will most likely result in seg faults, ie. > application crashes. Am I still going to have this problem? Or is it only associated with the AutoAdd? *Big sigh* GridLayou

Re: [PyKDE] autoAdding buttons to a grid

2005-05-18 Thread Richard Smith
> The closest thing I've found in the docs to removing a widget is > reparent() but the docs say: > > "Warning: It is extremely unlikely that you will ever need this > function. If you have a widget that changes its content dynamically, > it is far easier to use QWidgetStack or QWizard." > So mu

Re: [PyKDE] autoAdding buttons to a grid

2005-05-17 Thread Richard Smith
> > However I get exaclty the same results. Nothing. > Ok.. I worked with this more tonight and I don't think you can do what I want to do with stock Qt widgets. The core problem seems to be that I'm *not* trying to do this in the __init__ method but rather from a slot thats gets called in res

Re: [PyKDE] autoAdding buttons to a grid

2005-05-17 Thread Richard Smith
On 5/17/05, Richard Smith <[EMAIL PROTECTED]> wrote: > > > Thanks for the help. I'm glad I asked bc that would have probally > > > taken me a long time to figure out on my own with trial and error. > > > > You may still have problems as the button dtors ma

Re: [PyKDE] autoAdding buttons to a grid

2005-05-17 Thread Richard Smith
> > Thanks for the help. I'm glad I asked bc that would have probally > > taken me a long time to figure out on my own with trial and error. > > You may still have problems as the button dtors may be called twice. The Haven't tried it yet. Probally in then next hour or so. What possible problem

Re: [PyKDE] autoAdding buttons to a grid

2005-05-17 Thread Richard Smith
> > bgMainLayout.activate() > > > > But the items never showup in my buttongroup. > > Neither you or the QButtonGroup are keeping a reference to the QPushButton > so it is getting garbage collected immediately. I need to check the Qt > source to see if the QButtonGroup should keep a refere

[PyKDE] autoAdding buttons to a grid

2005-05-17 Thread Richard Smith
I just started using pyQt and I seem to need a little guidance... I'm trying to auto add several more QPushButtons to a QGridLayout but I either get runtime type errors or if it dosen't error then they don't seem to show. I have a form with a QButtonGroup on it that I created with the designer ca

Re: [PyKDE] unindent shortcut in eric3

2005-05-05 Thread Richard Smith
On 5/5/05, jul <[EMAIL PROTECTED]> wrote: > > > > It works for me too. > You can set your own shortcuts in the menu Settings->Keyboard Shortcuts... Oh yeah.. Duh. *slap* I never looked past Settings->Preferences > When multiple lines are selected, you should also be able to indent them > by pr

Re: [PyKDE] unindent shortcut in eric3

2005-05-05 Thread Richard Smith
On 5/5/05, Detlev Offenbach <[EMAIL PROTECTED]> wrote: > Am Donnerstag, 5. Mai 2005 04:57 schrieb Richard Smith: > > Un-indent is listed as Ctrl-Shift-I in the tool tip but that dosen't > > work for me. I checked with my shortcut config and KDE dosen't show > &g

[PyKDE] unindent shortcut in eric3

2005-05-04 Thread Richard Smith
Un-indent is listed as Ctrl-Shift-I in the tool tip but that dosen't work for me. I checked with my shortcut config and KDE dosen't show it as being used. Does the shortcut un-indent work for anybody? -- Richard A. Smith ___ PyKDE mailing listPyK

[PyKDE] crash and hang issues with pytone and eric3

2005-04-30 Thread Richard Smith
I'm trying to do some hacking on pytone (http://www.luga.de/pytone/) and decided to try out eric3 in the process. So far I like eric3 very much. I've got 3 issues that I'd like some help with. Issue 1 is that curses seems to not be compatible with eric3. currently pytone has a curses interface