[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] X Windows Screen goes Blank when new Window opens
From: <fossks () cox ! net>
Date: 2008-02-21 22:25:15
Message-ID: 20080221172515.0DWF8.7262.imail () fed1rmwml33
[Download RAW message or body]
Aaron/All,
The following is a typical class call I use for a new Widget with a pixmap. Can \
you see anything here that would cause the screen blanking out?
Kevin
_______________________________________
class dvdWidget (QWidget, Ui_dvdWidget):
def __init__(self, parent = None):
QWidget.__init__(self, parent)
self.setupUi(self)
self.dvdStyle = dvdStyle(self)
self.dvdBgPixmap = QtGui.QPixmap("images/dvdBG_800x480.png")
self.setMask(self.dvdBgPixmap.mask())
self.dvdBg.setPixmap(self.dvdBgPixmap)
screen = QtGui.QDesktopWidget().screenGeometry()
size = self.geometry()
self.move((screen.width()-size.width())/2, (screen.height()-size.height())/2)
self.setWindowFlags(QtCore.Qt.FramelessWindowHint | QtCore.Qt.Dialog)
self.connect(self.exitButton, SIGNAL("clicked()"), self.closeApp)
---- Aaron Digulla <digulla@hepe.com> wrote:
> Kevin Foss schrieb:
> > Hi,
> > Can any one explain in X Windows why the screen goes blank whenever a new
> > window is opened? It becomes annoying when I open a new application screen
> > and everything disappears for a second.
> >
> > Is it possible to avoid this?
>
> That's not normal. Do you resize the "screen" when you open a new one?
>
> Regards,
>
> --
> Aaron "Optimizer" Digulla a.k.a. Philmann Dark
> "It's not the universe that's limited, it's our imagination.
> Follow me and I'll show you something beyond the limits."
> http://darkviews.blogspot.com/ http://www.pdark.de/
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic