Icons file names are relative in *.ui files. When loadUi is used, PyQt4 (at
least for version 4.3.3) directly sends this relative path to QIcon
constructor. As a result icons cannot be loaded if Python current directory
is not the directory of the *.ui file. Changing the runtime directory before
c
Hello,
In the __init__ method of a standard QDialog I check for some requirements
to be fulfilled before the gui is shown (I communicate with a server over
a QTcpSocket for that matter) If the conditions fail I want to exit the
Application. How would I properly do that?
Currently I tried:
Hi,
I have been searching for a logging framework to use. I would have liked to
stick to a Qt based framework, but can only find the QDebug class that has
some functionality, and there was a 3rd party software/class called QLogger
for C++. Searching the internet it also seems like this has been as
I use the logging framework in Python but I wrote a PyQt widget people can add
to their apps to control log levels, filter logs by regex, search logs,
highlight text, stuff like that.
From: pyqt-boun...@riverbankcomputing.com [pyqt-boun...@riverbankcomputi
Qt does not support modifying SVG content (without modifying and reparsing the
file)
- Original Message
From: John Ossenfort
To: pyqt@riverbankcomputing.com
Sent: Thu, April 15, 2010 1:37:55 PM
Subject: [PyQt] changing SVG group rendering color
Hi list members!
I've been hacking aw
You can't if you're in the constructor.
What you have to do, is have your constructor post an event to show or exit. I
use a singleshot timer with a time of 0. This will post the event immediately
after the constructor is done.
- Original Message
From: Sebastian Elsner
To: "pyqt@ri
Can try something like this:
in init:
qapplication.postEvent(baseWindow, QtGui.QCloseEvent())
in baseWindow:
def closeEvent(self, event):
self.app.quit()
On 04/16/10 07:03, Sebastian Elsner wrote:
> Hello,
>
> In the __init__ method of a standard QDialog I check for some
> requirements to be
I'm using PyQt 4.7.2 gpl
Qt 4.6.2
using windows msvc 2008
I built Qt with:
configure -platform win32-msvc2008 -static -release -qt-libjpeg
-qt-zlib -qt-libpng -qt-gif -qt-libtiff -qt-sql-sqlite -nomake
examples -nomake demos -no-vcproj -no-incredibuild-xge -openssl-linked
OPENSSL_LIBS="-llibeay32
hi folks, a may be simple question. I am trying to develop an MDI
application for viewing dicom images with vtk. I would like to use
QMdiArea. When I add a sub window, QVTKRenderWindowInteractor, and
show it maximized and then I add a new maximized sub window, the
screen flick and I can see the bac
I came to a similar conclusion, but please let me know if the following is not
too
far-fetched: Because ElementTree stores the XML in memory, is it feasible to
read in the SVG group contents from file into an Etree element, and then modify
the color attributes as necessary prior to rendering/pa
10 matches
Mail list logo