[PyQt] Giving focus to qlineedit after button pressed

2013-02-06 Thread uahmed
Hi I have one keypad having keys 0-9 and one qlineedit . Whenever user press any key it shows in qlineedit . I want that whenever key press the cursor should be visible in the qlineeidt , right now when i press 0-9 from keyboard the cursor remain there and keep blinking and as i click on 0-9 butto

Re: [PyQt] Pyqt Translation

2013-02-02 Thread uahmed
; Regards, > > Detlev > > > On Thursday 31 January 2013, 18:59:35 uahmed wrote: > > Hi > > Thanks for the reply . I will do same i guess . Can you tell me one thing > how you are making qt project with .py files? > > I installed -qt-creator-py and python-pyside too

Re: [PyQt] Pyqt Translation

2013-01-31 Thread uahmed
am new to QtCreator . Thanks Ahmed On Thu, Jan 31, 2013 at 3:45 PM, Vincent Vande Vyvre < vincent.vandevy...@swing.be> wrote: > Le 31/01/13 13:23, uahmed a écrit : > > Vincent , Should i make a Qt project and include all the python files > > to it ? In those python files i

Re: [PyQt] Pyqt Translation

2013-01-31 Thread uahmed
Vincent , Should i make a Qt project and include all the python files to it ? In those python files i use Pyqt for updating windows text etc . On Thu, Jan 31, 2013 at 3:12 PM, uahmed wrote: > Hi > > Thanks for the reply . Is there any way to do tranlsation with '.ui' file &

Re: [PyQt] Pyqt Translation

2013-01-31 Thread uahmed
Thu, Jan 31, 2013 at 2:53 PM, Vincent Vande Vyvre < vincent.vandevy...@swing.be> wrote: > Le 31/01/13 12:37, uahmed a écrit : > > Hi > > > > I am facing problem in doing translation of pyqt application . The way > > i use to create frame /window is that . I create

[PyQt] Pyqt Translation

2013-01-31 Thread uahmed
Hi I am facing problem in doing translation of pyqt application . The way i use to create frame /window is that . I create the frame on Qt4 Designer and it generate the .ui file after that i convert it to python file using pyuic4 tool and include it in the application . I search internet what i g

Re: [PyQt] Displaying 2nd Window Problem

2012-08-17 Thread uahmed
Thanks a lot . It make it works :) On Fri, Aug 17, 2012 at 4:25 PM, Vincent Vande Vyvre < vincent.vandevy...@swing.be> wrote: > On 16/08/12 22:56, uahmed wrote: > > Hi > > > > I am dealing with 2 windows . One is created by Qt Designer and i > > import it on test

[PyQt] Displaying 2nd Window Problem

2012-08-16 Thread uahmed
Hi I am dealing with 2 windows . One is created by Qt Designer and i import it on test.py program . what i did i make a Widget on the test program and than add a button to it and on click event I try to popup the other window(gui1.py) created by Qt Designer but it never pop ups and when i use bre

Re: [PyQt] Mouse Hover Event small issue

2012-02-21 Thread uahmed
sys.exit(app.exec_()) Can you please guide me how to add that script to program.py so it works fine .It will really solve my problem .Thanks in advance On Wed, Feb 22, 2012 at 2:08 AM, Hans-Peter Jansen wrote: > On Tuesday 21 February 2012, 03:27:41 uahmed wrote: > > hi , > >

Re: [PyQt] Mouse Hover Event small issue

2012-02-21 Thread uahmed
any help ! On Tue, Feb 21, 2012 at 7:27 AM, uahmed wrote: > hi , > > I want to do hover i saw an example and then write a script which will be > use as i made program i am facing one problem that hover only occur if u > putt mouse on the left corner of button i want that it will

[PyQt] Mouse Hover Event small issue

2012-02-20 Thread uahmed
hi , I want to do hover i saw an example and then write a script which will be use as i made program i am facing one problem that hover only occur if u putt mouse on the left corner of button i want that it will happen for all the button that if i move cursor on button then it should change. here

[PyQt] Widget image coming on button

2011-12-01 Thread uahmed
Hi I want to putt the background image in my pyqt application . I take a widget and putt image through stylesheet but when i created button the background image use for widget comes on button too . Code: import sys,os from functools import partial from PyQt4 import QtGui, QtCore app = QtGui.QA

Re: [PyQt] Importing Css file

2011-11-30 Thread uahmed
self.setStyleSheet(QtCore.QVariant(qss.readAll()).toString()) > css.close() > > Cheers, > -Scott > > > On Wed, Nov 30, 2011 at 11:14 AM, uahmed wrote: > >> Hi >> >> Now i am getting this error on following code >> >> *Error : Could not parse stylesheet

Re: [PyQt] Importing Css file

2011-11-30 Thread uahmed
padding: 3px; } Can anyone please help me in it :( On Tue, Nov 29, 2011 at 8:11 PM, uahmed wrote: > Hi , > > I want to include a css file to pyqt application , i wrote the following > code , but it is not effecting the properties of label > > my python code is

[PyQt] Importing Css file

2011-11-29 Thread uahmed
Hi , I want to include a css file to pyqt application , i wrote the following code , but it is not effecting the properties of label my python code is this #!/usr/bin/python import os ,sys from PyQt4.QtCore import * from PyQt4.QtGui import * file_path = QString("css_file.qss") app =QApplication(

Re: [PyQt] Updating Qlabel in widget

2011-08-25 Thread uahmed
time to avoid making lots of Qlabels On Thu, Aug 25, 2011 at 3:26 PM, Hans-Peter Jansen wrote: > On Thursday 25 August 2011, 12:02:52 uahmed wrote: > > Hi > > > > I want to update the Qlabel after the widget is made , Problem is > > that updating is base on counter so

Re: [PyQt] removeWidget

2011-08-25 Thread uahmed
, 2011 at 2:58 PM, Hans-Peter Jansen wrote: > [I prefer to not get personal replies on this list] > > On Thursday 25 August 2011, 11:39:46 uahmed wrote: > > Hi > > > > Thanks for the reply , I used .close() . I guess this will destroy > > the widget and will

[PyQt] Updating Qlabel in widget

2011-08-25 Thread uahmed
Hi I want to update the Qlabel after the widget is made , Problem is that updating is base on counter so i call that function after 4 seconds , but when it by pass the "if" statment it go through all the commands give me no errors but it does not update the widet although if i dont putt "if" statm

Re: [PyQt] removeWidget

2011-08-25 Thread uahmed
Hi Thanks for the reply , I used .close() . I guess this will destroy the widget and will not leave memory for it . On Thu, Aug 25, 2011 at 2:22 PM, Hans-Peter Jansen wrote: > On Thursday 25 August 2011, 10:43:20 Vincent Vande Vyvre wrote: > > Le 25/08/11 07:59, uahmed a écrit

[PyQt] removeWidget

2011-08-24 Thread uahmed
Hi I want to add widget in (f1) function and want to remove the widget from (f2) function . I tried the same thing in same function it do work but when i try to remove the widget from another it doesnt . Any help ? Code : import sys,os from functools import partial from PyQt4 import QtGui, QtCo

[PyQt] hover in setStyleSheet

2011-08-23 Thread uahmed
Hi I am generating buttons in the form of loop now i want that i dont use external css file and use the property "setStyleSheet" and do the "hover" . So whenever mouse comes over the button the button color should change ,When i try to putt"hover" in setStyleSheet it dont work , can any body tell

[PyQt] Foreground and Background Color QToolButton

2011-08-17 Thread uahmed
HI I want to change the foreground and bankground color of QToolButton , I know this can be done using ".setStyleSheet " but i want to use other way to do that can it be done through QPlatter i search it on net i do find examples of .setStyleSheet but not through any other way . __

Re: [PyQt] tkinter after method in pyqt

2011-08-17 Thread uahmed
Wed, 17 Aug 2011 03:07:03 +0500, uahmed wrote: > > 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 d

Re: [PyQt] Text and Image Alignment

2011-08-17 Thread uahmed
g")) > yourButton.setIconSize(QtCore.QSize(140, 140)) > yourButton.clicked.connect(self.onButtonClicked) > > On Wed, Aug 17, 2011 at 03:39, uahmed wrote: > >> Hi >> >> Thank you for the reply i search for it >> >> >> http://www.riverbankcomputing.co.uk/static/

Re: [PyQt] Text and Image Alignment

2011-08-16 Thread uahmed
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 uahmed
ou 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 reply yes it is like that When i press tab it moves to

Re: [PyQt] Button Color

2011-08-16 Thread uahmed
uld remove the focus (and coloring) if you > don't want it there. > > On Tue, Aug 16, 2011 at 3:03 PM, uahmed wrote: > > 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

[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