I'm trying to center a checkbox as described by this faq:
http://trolltech.com/developer/knowledgebase/faq.2008-01-03.2614755816/
Unfortunately, it looks like the function, check, that returns the
size of the checkbox isn't exposed in pyqt4 because it's marked as
internal. Is there another way to
Never mind... I've recreated the GUI in designer and now works... weird...
same GUI, same elements...
Cheers.
2008/6/11 Gustavo A. Díaz <[EMAIL PROTECTED]>:
Phil...
>
> If i pyuic4 -x -o file.ui and execute that Widget, the same segmantation
> fault ocurrs...
>
> 2008/6/11 Phil Thompson <[EMAIL
On Wednesday 11 June 2008 10:39:49 pm Gustavo A. Díaz wrote:
> Right, i forgot cause i was using a QWidget in the class, but now I've
> changed to right QDockWidget and gives me Segmentation fault and of course
> my App does not start...
>
> Just in case, my class for that widget is:
>
> class Work
Right, i forgot cause i was using a QWidget in the class, but now I've
changed to right QDockWidget and gives me Segmentation fault and of course
my App does not start...
Just in case, my class for that widget is:
class WorkstationDockWidget (QDockWidget, Ui_workstationDockWidget):
def __init
Hello,
I'm trying to detect the key combination of CTRL+DOWN for a QLineEdit widget.
This is what I've tried, but it doesn't work.
def keyPressEvent(self, event):
if event.key() == QtCore.Qt.Key_Down and \
int(event.modifiers() & QtCore.Qt.ControlModifier) ==
QtCore.Qt.ControlMo
Igor Prischepoff wrote:
Hello, I have found solution for my problem.
So this post only for archiving in email list.
Attaching example is a python version of this solution:
http://wiki.qtcentre.org/index.php?title=SingleApplication
It is possible to detect second instance of application and
> "Aaron" == Aaron Digulla <[EMAIL PROTECTED]> writes:
Aaron> Hello, I was wondering: Is there a Rapid Application
Aaron> Development framework to quickly write apps with PyQt?
In PyPaPi something is done, something is not done yet:)
Aaron> - Connect model fields (properties) to
Am Mittwoch, 11. Juni 2008 schrieb Aaron Digulla:
> Hello,
>
> I was wondering: Is there a Rapid Application Development framework to
> quickly write apps with PyQt?
>
> Specifically, I'm looking for these features:
>
> - Connect model fields (properties) to UI elements (for example,
> string field
Hello, I have a problem with sip 4.7.6 under both linux and windows
I wrap a self-written C++-library for Python.
For a Matrix-Object I implement a __getitem__ and __setitem__ method in
the sip-file with two integer arguments. While the __setitem__ function
is working from python, the __get__it
Hello,
I was wondering: Is there a Rapid Application Development framework to
quickly write apps with PyQt?
Specifically, I'm looking for these features:
- Connect model fields (properties) to UI elements (for example,
string fields to text editors or to combo boxes).
- Connect a python li
On Wednesday 11 June 2008 1:43:36 pm Gustavo A. Díaz wrote:
> Hi guys, i was creating a QDockWidget only widget to integrate it on my
> application. So, I've created from Qt Designer and exported to .py as well.
>
> When i execute my App, i have:
>
> File "gui/ui_workstationDockWidget.py", line 16,
On Tuesday 10 June 2008 8:57:54 pm Neal Holtz wrote:
> It turns out that this made me realize I could easily modify
> the original c++ argb code to be equivalent, and it turns out
> that I do get exactly the same behviour with the c++ version.
> So therefore it is NOT a PyQt problem.
>
So I've ju
Hi guys, i was creating a QDockWidget only widget to integrate it on my
application. So, I've created from Qt Designer and exported to .py as well.
When i execute my App, i have:
File "gui/ui_workstationDockWidget.py", line 16, in setupUi
workstationDockWidget.setFloating(False)
AttributeErro
On Wednesday 11 June 2008 11:37:55 am Charles Chen wrote:
> Hi Phil,
>
> Thanks for the reply. I was assuming that PyQt 4.4.2 required Qt
> 4.4.x because of the error I'm receiving (see below) about
> QGraphicsWidget (new in Qt 4.4) being missing.
>
> I'm building this with a clean install
Hi Phil,
Thanks for the reply. I was assuming that PyQt 4.4.2 required Qt
4.4.x because of the error I'm receiving (see below) about
QGraphicsWidget (new in Qt 4.4) being missing.
I'm building this with a clean install of Python 2.5.2 and Sip
4.7.6, using PyQt-win-commercial-4.4.2.
On Wednesday 11 June 2008 9:41:51 am Charles Chen wrote:
> I'm trying to build the commercial version of PyQt 4.3.x. I get the
> following error:
>
> mingw32-make[1]: Entering directory
> `C:/PyQt-win-commercial-4.3.3/QAxContaine
> g++ -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO
I'm trying to build the commercial version of PyQt 4.3.x. I get the
following error:
mingw32-make[1]: Entering directory
`C:/PyQt-win-commercial-4.3.3/QAxContaine
g++ -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG
-DQT
I_LIB -DQT_CORE_LIB -I. -IC:\Python25\include
-IC
17 matches
Mail list logo