summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--examples/python/simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/simple.py b/examples/python/simple.py
index 0ac9bd2..44fcae7 100644
--- a/examples/python/simple.py
+++ b/examples/python/simple.py
@@ -1,49 +1,49 @@
-#!pyquicklauncher
+#!/usr/bin/env pyquicklauncher
# -*- coding: iso8859-15 -*-
#--------------------------------------------------------------------------------------------------#
""" =. This file is part of the PyQt examples collection
.=l. Copyright (C) 2004 Michael Lauer <mickey@Vanille.de>
           .>+-=
 _;:,     .>    :=|. This program is free software; you can
.> <`_,   >  .   <= redistribute it and/or modify it under
:`=1 )Y*s>-.--   : the terms of the GNU General Public
.="- .-=="i,     .._ License as published by the Free Software
 - .   .-<_>     .<> Foundation; either version 2 of the License,
     ._= =}       : or (at your option) any later version.
    .%`+i>       _;_.
    .i_,=:_.      -<s. This program is distributed in the hope that
     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
    : ..    .:,     . . . without even the implied warranty of
    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
..}^=.=       =       ; General Public License for more
++=   -.     .`     .: details.
 :     =  ...= . :.=-
 -.   .:....=;==+<; You should have received a copy of the
  -_. . .   )=.  = GNU General Public License along with
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
"""
#--------------------------------------------------------------------------------------------------#
#--------------------------------------------------------------------------------------------------#
__version__ = "1.0.0"
__author__ = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
__license__ = "GPL"
#--------------------------------------------------------------------------------------------------#
import sys
from qt import *
from qtpe import *
#--------------------------------------------------------------------------------------------------#
class SimpleWidget( QWidget ):
"""A simple main widget with a label and a push button."""
def __init__( self, parent, name = "SimpleWidget" ):
"""Construct me."""
QWidget.__init__( self, parent, name )
#