Re: [PyQt] Text and Image Alignment

2011-08-16 Thread uahmed
Hi Thank you for the reply i search for it http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtoolbutton.html but unfortunately i didnt get any of such method . On Wed, Aug 17, 2011 at 3:28 AM, Josh Stratton wrote: > QToolbarButton has a value for putting text underneath, which may be

Re: [PyQt] Button Color

2011-08-16 Thread uahmed
I am calling print just after using connect method . I think you are right it might get focus after displayed . On Wed, Aug 17, 2011 at 3:35 AM, Josh Stratton wrote: > I would assume it should print true if it's focused. Where are you > calling print? It might receive focus after you check if

Re: [PyQt] Button Color

2011-08-16 Thread Josh Stratton
I would assume it should print true if it's focused. Where are you calling print? It might receive focus after you check if it has focus. It might receive focus after the window is displayed. Not sure, but that's a guess. On Tue, Aug 16, 2011 at 3:32 PM, uahmed wrote: > Hi > > Thanks for the

Re: [PyQt] Button Color

2011-08-16 Thread uahmed
Hi Thanks for the reply yes it is like that When i press tab it moves to next button but When i use this command print close.hasFocus() It prints False , Does it indicate that it dont have Focus ? Thank You On Wed, Aug 17, 2011 at 3:26 AM, Josh Stratton wrote: > That looks like the default b

Re: [PyQt] Text and Image Alignment

2011-08-16 Thread Josh Stratton
QToolbarButton has a value for putting text underneath, which may be more what you want. On Tue, Aug 16, 2011 at 3:20 PM, uahmed wrote: > HI > > I want to do alignment inĀ  image and text , i want that image should be on > center top and text should be at the bottom of image . I search for it but

Re: [PyQt] Button Color

2011-08-16 Thread Josh Stratton
That looks like the default button that has focus if you were to hit "Enter" sending an event to that button. Like if you were to hit tab, the second button would receive the focus. You can check if the button has focus by calling hasFocus() or clearing it by calling clearFocus(). That should re

[PyQt] Text and Image Alignment

2011-08-16 Thread uahmed
HI I want to do alignment in image and text , i want that image should be on center top and text should be at the bottom of image . I search for it but didnt get the relevant search result . Can you please tell me how to do that ? Chunk of Code for Button Without Text: button =

[PyQt] tkinter after method in pyqt

2011-08-16 Thread uahmed
Hi In tkinter i use after method to recall the function after particular interval time and that function do the the changes in GUI . What i should use to do changes in Pyqt GUI ? Thank you Ahmed ___ PyQt mailing listPyQt@riverbankcomputing.com http

[PyQt] Button Color

2011-08-16 Thread uahmed
Hi , I am new in Pyqt , i am confuse on one thing whenever i make buttons the first button color always have reddish layer . I am also attaching the code and Screen Shot . import sys from PyQt4 import QtGui, QtCore app = QtGui.QApplication(sys.argv) widget = QtGui.QWidget() widget.setGeometry(2

[PyQt] How to build PyQt4 as 32/64-bit on a Mac

2011-08-16 Thread Emanuele Santos
Hi, I've installed Qt 4.7.3 Cocoa 32/64-bit libs on a Snow Leopard machine that has XCode 3.2.6 installed. I am using python 2.7.2 32/64-bit from python.org I am trying to build a 2-way (32-bit/64-bit) installation of PyQt4 but the configure step fails. I've built sip 4.12.4 without errors using

[PyQt] Programmer Job Re-Opened

2011-08-16 Thread Kerri Reno
You may remember seeing this job before, it has been re-opened. Please feel free to contact me with questions. Yuma Union High School District `__ (Yuma, AZ, USA) == = **Job Description**: Small

Re: [PyQt] How to compile SIP and PyQt using MinGW?

2011-08-16 Thread Phil Thompson
On Tue, 16 Aug 2011 11:59:01 +0800, chinakr wrote: > Dear Phil and the kind guys here, > > I recently want to use SQLCipher with my SQLite database. > I followed a guide to compile the driver using MinGW: > http://www.qtcentre.org/wiki/index.php?title=Building_QSQLITE_driver_with_AES-256_encrypti