[PyQt] Getting system theme colors..

2012-04-05 Thread Jebagnana Das
Hello all, Is it possible to get the "Currently active" theme color gradient using PyQt? To be more specific i want to have the color values when an item is selected and hovered over (or if it's focused). For example in my Ubuntu when a item is focused it shows the color like this [image: Inline

Re: [PyQt] How can i capture activated signal of Tray Icon??

2010-11-15 Thread Jebagnana Das
an i capture activated signal of Tray Icon?? > Message-ID: <201011101736.32188@urpla.net> > Content-Type: text/plain; charset="utf-8" > > On Wednesday 10 November 2010, 16:30:03 Jebagnana Das wrote: > > Thanks pete for your reply. > > > > I think you&#

Re: [PyQt] How can i capture activated signal of Tray Icon??

2010-11-10 Thread Jebagnana Das
d when you finish your second click.. Any solutions... Am Tuesday 09 November 2010 15:08:29 schrieb Jebagnana Das: > > Thanks Zoltan.. It did help a lot.. But if i want to capture single click > > and double click events of the mouse separately i'm afraid this can&

Re: [PyQt] How can i capture activated signal of Tray Icon??

2010-11-09 Thread Jebagnana Das
ked' > > if __name__ == "__main__": > app = QApplication(sys.argv) > w = MainWindow() > w.show() > sys.exit(app.exec_()) > > > hope it helps > > bests > Zoltan > > > > On 2010.11.08. 15:54, Jebagnana Das wrote: > > Hello

[PyQt] How can i capture activated signal of Tray Icon??

2010-11-08 Thread Jebagnana Das
Hello all, Based on this example http://www.saltycrane.com/blog/2008/01/how-to-capture-tab-key-press-event-with/i've created a class as below class SystemTrayIcon(QtGui.QSystemTrayIcon): def __init__(self,parent,objectName): QtGui.QSystemTrayIcon.__init__(self,parent)

Re: [PyQt] Building PyQt4 on Mac 10.6.3 -- python configure.py fails

2010-06-24 Thread Jebagnana Das
Hi Robin, I was the poster of the thread you mentioned.. Though i could not "install" PyQt 4 on my Mac OS X 10.6.4 (phew.. i was really tired of trying all possible ways)i found a workaround.. I copied the PyQt4 folder from another Mac machine which is running on OS X 10.5.6 and pasted into m

Re: [PyQt] PyQt Digest, Vol 70, Issue 31

2010-05-21 Thread Jebagnana Das
Have you tried to install it on snow leopard. What is the result that you got?. Refer this post also.. http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg20720.html Regards, Jeba. > Message: 2 > Date: Thu, 20 May 2010 10:51:48 -0700 > From: Scott Ballard > To: "pyqt@riverbankcomputing.c

Re: [PyQt] Problem in installing PyQt on Mac OS X 10.6.2

2010-04-06 Thread Jebagnana Das
sorry it should be why it's giving this error. why it's not giving this error.. > > Jeba. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Problem in installing PyQt on Mac OS X 10.6.2

2010-04-06 Thread Jebagnana Das
ror in the usage of SIP. Do i need to modify PyQt installation scripts? Need your help regarding this.. Thanks in advance.. Regards, Jeba. On Mon, Apr 5, 2010 at 9:51 PM, Jebagnana Das wrote: > Thanks darren for your reply. But still i couldn't make it to work. > > This is what i d

Re: [PyQt] Problem in installing PyQt on Mac OS X 10.6.2

2010-04-05 Thread Jebagnana Das
Am i doing anything wrong here?? Regards, Jeba On Mon, Apr 5, 2010 at 8:50 PM, Darren Dale wrote: > On Mon, Apr 5, 2010 at 11:09 AM, Jebagnana Das > wrote: > > Hi all, > > > > I found an archived discussion regarding the same problem. Click > here > > to se

Re: [PyQt] Problem in installing PyQt on Mac OS X 10.6.2

2010-04-05 Thread Jebagnana Das
posted on Nov 2009). Anybody have the new solution of installing pyqt 0n mac os x 10.6.2?? Regards, Jeba. On Thu, Apr 1, 2010 at 3:50 PM, Phil Thompson wrote: > On Thu, 1 Apr 2010 15:46:16 +0530, Jebagnana Das > wrote: > > Thanks phil for your reply. Here's the output o

[PyQt] Problem in installing PyQt on Mac OS X 10.6.2

2010-04-01 Thread Jebagnana Das
Hai everybody, when i tried to install PyQt on Mac Os X after installing python 3.1, Qt 4.6.2 and SIP 4.10.1 i encounter the following error when i execute $python3 configure.py command. Determining the layout of your Qt installation... This is the GPL version of PyQt 4.7 (licensed under

[PyQt] adding our own icon to the existing file and folder icon using Qt..

2010-03-10 Thread Jebagnana Das
Hello all, Is there a way that i can add my own icon to the existing folder and file icon like in dropbox or in ubuntu one.. Do we have any special classes for doing this?? Your suggestions and guidance are much awaited.. Thanks in advance.. Regards, Jeba ___

Re: [PyQt] PyQt Digest, Vol 68, Issue 24

2010-03-10 Thread Jebagnana Das
t;QGroupBox { background-color: rgb(255, > 255, > 255); border:1px solid rgb(255, 170, 255); }") > > Thus adding QGroupBox and acolades.. > > On Wed, Mar 10, 2010 at 2:51 PM, Jebagnana Das >wrote: > > > Thanks for your quick reply.. Have a look at this minima

Re: [PyQt] Style sheet properties..

2010-03-10 Thread Jebagnana Das
e a look at so called "Selector types" ( > http://qt.nokia.com/doc/4.3/stylesheet-syntax.html#selector-types). Given > a > QDialog and its children (e.g. QPushButtons), this can prevent this > cascading behaviour of styles, although I've never had any problems with > that

[PyQt] Style sheet properties..

2010-03-09 Thread Jebagnana Das
Hello all, If i apply a property to a parent widget it is automatically applied for child widgets too.. Is there any way of preventing this?? For example if i set background color as white in a dialog then any button,combo boxes and scroll bars(within the dialog) looks white and it lacks it's nat

[PyQt] Using same code for windows and linux ?

2010-02-23 Thread Jebagnana Das
Hello all, I developed the GUI (using pyqt) in windows and used setGeometry to position the widgets.. When i tried to run the same code in linux it looks cluttered.. And added to that in windows the font size of 8 seems good.. But in linux especially in ubuntu it doesn't appear well since the fon

[PyQt] QDirModel with QTreeView.. Help Please...

2010-02-10 Thread Jebagnana Das
Hai all, I've populated the directory tree using QDirModel. My aim is whenever i click on the patriculr folder or directory, the directory and it's children should be deleted from the model.. I don't know what am i doing wrong in the code below.. from PyQt4 import QtCore, QtGui class Ui_

[PyQt] qtextbrowser style sheet problem..

2010-02-02 Thread Jebagnana Das
Hi all, I can't get to execute the following code with the stylesheet set.. self.textBrowser.setStyleSheet("QTextBrowser {background: white;color:red; } /* add this to make hover work */\ QTextBrowser:hover {background: green;color:white; }"). But the same is working for a pushbutton perfec

Re: [PyQt] QDirmodel - Removing a directory and it's descendents..

2010-01-17 Thread Jebagnana Das
; > Detlev > > On Samstag, 16. Januar 2010, Jebagnana Das wrote: > > Hello all, > > Greetings.. After a spending a long time for googling i found the > > way to list the contents of a particular directory. Thanks to QDirModel. > > > >My aim h

[PyQt] Using QFileDialog to display the contents within a patricular folder..

2010-01-12 Thread Jebagnana Das
Hello all, Is there a way that i can make the QFileDialog to display the contents of a patricular directory.. For example i want the user to select only the files or folders within my documents.. The file dialog should display My Documents only as a parent directory and it's contents bu

[PyQt] Strange thing about tabbar.. Help me to solve..

2009-12-18 Thread Jebagnana Das
Hello all, I just started learning pyqt and it's been nice.. When i'm experimenting with the tabbar i encountered this.. As a minimal example i want to show a button in tab1 and a label in tab2.. Here's what i did from PyQt4 import QtGui class Ui_TabWidget(QtGui.QTabWidget): def __init__(self

[PyQt] syntax for using stylesheets in pyqt...

2009-12-15 Thread Jebagnana Das
Hello all, Can you please tell me the syntax for using style sheets - in sub-controls like QStyle.SE_TabWidgetTabBar by having QTabWidget as a reference element and also For setting stylesheets for tabs (sub-control) in tab bar like here http://doc.trolltech.com/4.3/styleshee

[PyQt] problem with css...

2009-12-14 Thread Jebagnana Das
Hi all, In the below program the style sheet properties isn't working even after it's set. Can you please where i went wrong from PyQt4 import QtCore, QtGui import sys class Ui_TabWidget(object): def setupUi(self, TabWidget): TabWidget.setObjectName("TabWidget") Tab

[PyQt] Re:Spacing between tabs in QTabWidget etc...

2009-12-12 Thread Jebagnana Das
Thanks Selim Tuvi for your reply. I've created a tab bar and i set that for the tabwidget. But when i tried to set the stylesheet properties like right-margin:5 and left-margin:5 it didn't work. However i think this property must be set for the tab2 alone.. How to get an instance for tab2?? To my d

[PyQt] Spacing between tabs in QTabWidget etc...

2009-12-11 Thread Jebagnana Das
Hi all, I have two questions regarding QTabWidget.. 1)Is it possible for us to leave space between the tab headers(between tab1 and tab2 in the header in this picture)... http://i48.tinypic.com/r2uhxf.jpg If yes could you tell me how it can be do

[PyQt] Question related to tabbed widgets...

2009-12-03 Thread Jebagnana Das
Hello all, I've been testing with PyQt for the past few days and it's been really cool... Here i've come up with a beginner question... 1) Is it possible for us to create tabbed windows by having images as tab headers.. If u r not getting the point it's like add/remove progr