~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/CodeTemplates/impl.py.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
 
 
3
"""
 
4
Module implementing $CLASSNAME$.
 
5
"""
 
6
 
 
7
from PyQt4.QtGui import $SUPERCLASS$
 
8
from PyQt4.QtCore import pyqtSignature
 
9
 
 
10
from Ui_$FORMFILE$ import Ui_$FORMCLASS$
 
11
 
 
12
class $CLASSNAME$($SUPERCLASS$, Ui_$FORMCLASS$):
 
13
    """
 
14
    Class documentation goes here.
 
15
    """
 
16
    def __init__(self, parent = None):
 
17
        """
 
18
        Constructor
 
19
        """
 
20
        $SUPERCLASS$.__init__(self, parent)
 
21
        self.setupUi(self)