Re: [PyQt] PyQt speed.

2007-11-09 Thread David Boddie
On Sat Nov 10 00:03:47 GMT 2007, Vadim Gutnik wrote: > I'm new to GUIs, but thinking about writing a GUI that is a little bit > like a simple vector drawing program. So I've been looking at various > toolkit and language options. > > So far, it looks like my first choice would be PyQt... but it s

[PyQt] PyQt speed.

2007-11-09 Thread Vadim Gutnik
I'm new to GUIs, but thinking about writing a GUI that is a little bit like a simple vector drawing program. So I've been looking at various toolkit and language options. So far, it looks like my first choice would be PyQt... but it seems slow. I wrote the attached code. If you select more than a

Re: [PyQt] ANN: new eric4 snapshot release

2007-11-09 Thread Simon Edwards
Detlev Offenbach wrote: On Donnerstag, 8. November 2007, Simon Edwards wrote: Detlev Offenbach wrote: * The autocomplete window always pops up regardless of how I configure it. I want it to be available but only to appear when I press Ctnl+Space. (I see that you've improved the popup too in the

Re: [PyQt] ANN: new eric4 snapshot release

2007-11-09 Thread Detlev Offenbach
On Donnerstag, 8. November 2007, Simon Edwards wrote: > Detlev Offenbach wrote: > * The autocomplete window always pops up regardless of how I configure > it. I want it to be available but only to appear when I press > Ctnl+Space. (I see that you've improved the popup too in the snap

Re: [PyQt] Eric3 issue: importing modules with the same name as an Eric module

2007-11-09 Thread Detlev Offenbach
On Donnerstag, 8. November 2007, Sundance wrote: > On Fri, Nov 02, 2007 at 11:57:15AM +0100, Detlev Offenbach wrote: > > meanwhile I removed the carantined import completely because it caused > > the interactive Python shell to not work at all. Everything entered in > > interactive mode i.e. while

Re: [PyQt] QLabel setFont does not work

2007-11-09 Thread Linos
Well i have fixed using html code in qlabel.setText, i have now bold and the size i wanted but i think this is a bug, i dont know if pyqt or qt but it seems a bug. Linos escribió: > Hello all, > i have a problem with a QLabel i want to change the font size and make > bold, i have a dialog

Re: [PyQt] QTreeView: inserting and removing rows in view and underlying data...

2007-11-09 Thread Andreas Pakulat
On 09.11.07 10:58:08, Dirk Wagener wrote: > At this stage I am doing something wrong regarding this. Now and then > (sporadically) I get access violations when getting the > underlying data from a QModelIndex(): > > tmpTreeNode = currentModelIndex.internalPointer() > To test to a certain extent

Re: [PyQt] QTreeView: inserting and removing rows in view and underlying data...

2007-11-09 Thread Andreas Pakulat
On 09.11.07 10:02:31, Mark Summerfield wrote: > On 2007-11-09, Dirk Wagener wrote: > > Hi > > > > I am experiencing some confusion regarding the model/view architecture > > when using a QTreeView with a custom > > QAbstractItemModel. > [snip] > > Can somebody please give me some advice. Where can I

Re: [PyQt] QTreeView: inserting and removing rows in view and underlying data...

2007-11-09 Thread Andreas Pakulat
On 09.11.07 10:58:08, Dirk Wagener wrote: > I am confused about the interaction between the view and the underlying > data. I read the Qt docs, but find them quite confusing regarding this > matter. > > How do I protect and synchronise interaction with the underlying data? > > When I populate a T

Re: [PyQt] QTreeView: inserting and removing rows in view and underlying data...

2007-11-09 Thread Mark Summerfield
On 2007-11-09, Dirk Wagener wrote: > Hi > > I am experiencing some confusion regarding the model/view architecture > when using a QTreeView with a custom > QAbstractItemModel. [snip] > Can somebody please give me some advice. Where can I learn how to do > this model/view interaction properly? > Are

[PyQt] QTreeView: inserting and removing rows in view and underlying data...

2007-11-09 Thread Dirk Wagener
Hi I am experiencing some confusion regarding the model/view architecture when using a QTreeView with a custom QAbstractItemModel. This is the bigger picture of what I am doing: * I use a tree view to browse and edit a bunch of object. * I have a data class (TreeNode) used to store my data. Th