Snippets of the day – Sunday, November 3, 2013

Posted on Posted in Snippets

code-snippet-2

Here are some of the most recently published snippets!

How to create a simple button in python using GUI PyQt4

Using PyQt4 python module, you can easily add a QtGui.QPushButton as interactive button in your mask.

Constructor QPushButton(string text, QWidget parent = None).

The ‘text’ parameter is the text displayed on the button.

The ‘parent’ is a widget, onto which we place the button.

Thanks to http://zetcode.com/gui/pyqt4/firstprograms/

Open the snippet

Author:    lbottaro

How to list files changed in clearcase ucm stream activities

This script lists the files changed in all the activities delivered on a specific stream, with no duplicates. The stream is the one currently set on the clearcase view.

Open the snippet

Author:    lbottaro

Leave a Reply

Your email address will not be published. Required fields are marked *