Re: [PyQt] Styling an QMdiArea widget

2011-04-17 Thread Sarah Mount
On Mon, Apr 18, 2011 at 01:14, David Boddie wrote: > On Sun Apr 17 19:48:16 BST 2011, Sarah Mount wrote: > >> Thanks, you and David were both right, the error was an incorrect path >> for the JPG. However, what I was after was to have one image appear in >> the background, and not to have the imag

Re: [PyQt] Use QWebview with Flash plugin

2011-04-17 Thread David Boddie
On Sat, 16 Apr 2011 18:55:43 +0200, Gelonida Gmail wrote: > I'd like to have a small QWebview window in our application, which could > display the contents of a web page requiring Flash. > > > Is this possible with PyQT? > > If yes, is it possible > - on a Windows platform > - on a linux platform

Re: [PyQt] Styling an QMdiArea widget

2011-04-17 Thread David Boddie
On Sun Apr 17 19:48:16 BST 2011, Sarah Mount wrote: > Thanks, you and David were both right, the error was an incorrect path > for the JPG. However, what I was after was to have one image appear in > the background, and not to have the image tiled. This is possible > using a style sheet, but I'm n

[PyQt] removeItemWidget bug

2011-04-17 Thread Peter Morgan
I've experienced a bug which after a few hours found someone else is experiencing also, and explained in detail In a Python program I use setItemWidget() to add widgets to columns of QTreeWidgetItems (eg QPushButton, QComboBox, etc). When a widget is no longer needed it is removed using removeIte

Re: [PyQt] Styling an QMdiArea widget

2011-04-17 Thread Sarah Mount
On Sun, Apr 17, 2011 at 16:48, Vincent Vande Vyvre wrote: > Le 17/04/11 16:36, Sarah Mount a écrit : > > On Sun, Apr 17, 2011 at 15:28, Vincent Vande Vyvre > wrote: > > Le 17/04/11 15:17, Sarah Mount a écrit : > > Hi everyone, > > I have a main application window that I want to style with a style

[PyQt] Help with Design of Dialog interface

2011-04-17 Thread alsaf
Hi I am currently writing a project which takes vocabulary words from a XML file which is created through the KDE application Parley and generates sentences based on them. The project page is here: https://sourceforge.net/projects/languagesentenc/ This is done through the user firstly creati

Re: [PyQt] Styling an QMdiArea widget

2011-04-17 Thread David Boddie
On Sun Apr 17 15:36:11 BST 2011, Sarah Mount wrote: > On Sun, Apr 17, 2011 at 15:28, Vincent Vande Vyvre > > wrote: > > You can use setBackground() > > > > self.brush = QtGui.QBrush(QtGui.QPixmap("view.jpg")) > > self.mdi.setBackground(self.brush) > > > > but reimplement sizeEvent(

Re: [PyQt] Styling an QMdiArea widget

2011-04-17 Thread Vincent Vande Vyvre
Le 17/04/11 16:36, Sarah Mount a écrit : On Sun, Apr 17, 2011 at 15:28, Vincent Vande Vyvre wrote: Le 17/04/11 15:17, Sarah Mount a écrit : Hi everyone, I have a main application window that I want to style with a style sheet like this: #mywidget { ba

[PyQt] visualizing PDF files in PyQT WIndows

2011-04-17 Thread Gelonida G
Hi, Is there any recommended way to visualize PDF files with PyQT under Windows? Thanks in advance for any pointers ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Styling an QMdiArea widget

2011-04-17 Thread Sarah Mount
On Sun, Apr 17, 2011 at 15:28, Vincent Vande Vyvre wrote: > Le 17/04/11 15:17, Sarah Mount a écrit : > > Hi everyone, > > I have a main application window that I want to style with a style > sheet like this: > > > #mywidget { > background : white; > background-image : url(:/images/images/E

Re: [PyQt] Styling an QMdiArea widget

2011-04-17 Thread Vincent Vande Vyvre
Le 17/04/11 15:17, Sarah Mount a écrit : Hi everyone, I have a main application window that I want to style with a style sheet like this: #mywidget { background : white; background-image : url(:/images/images/EfDChancoComposite.jpg); background-repeat : no-repe

[PyQt] Styling an QMdiArea widget

2011-04-17 Thread Sarah Mount
Hi everyone, I have a main application window that I want to style with a style sheet like this: #mywidget { background : white; background-image : url(:/images/images/EfDChancoComposite.jpg); background-repeat : no-repeat; } When the project is created, the widget that I want to a

Re: [PyQt] Issue installing PyQt4 installer on Win

2011-04-17 Thread Detlev Offenbach
On Sonntag, 17. April 2011, Phil Thompson wrote: > On Fri, 1 Apr 2011 18:17:41 +0200, Detlev Offenbach > > wrote: > > Hello, > > > > I tried to install PyQt4 via the installer on an Windows machine as a > > normal > > user. The installation worked fine most of the way. However, it tried to > >

Re: [PyQt] Issue installing PyQt4 installer on Win

2011-04-17 Thread Phil Thompson
On Fri, 1 Apr 2011 18:17:41 +0200, Detlev Offenbach wrote: > Hello, > > I tried to install PyQt4 via the installer on an Windows machine as a > normal > user. The installation worked fine most of the way. However, it tried to > install the menu for "All users". That failed due to missing permis