File: pluginlicenseform.py

package info (click to toggle)
hplip 3.16.11%2Brepack0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 129,416 kB
  • ctags: 20,423
  • sloc: python: 78,229; ansic: 67,606; cpp: 59,753; sh: 11,285; perl: 4,353; makefile: 693
file content (23 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui/pluginlicenseform_base.ui'
#
# Created: Thu May 15 11:08:01 2008
#      by: The PyQt User Interface Compiler (pyuic) 3.17.3
#
# WARNING! All changes made in this file will be lost!


from qt import *
from .pluginlicenseform_base import PluginLicenseForm_base

class PluginLicenseForm(PluginLicenseForm_base):
    def __init__(self, license_txt, parent=None, name=None, modal=0, fl=0):
        PluginLicenseForm_base.__init__(self,parent,name,modal,fl)

        self.titleText.setFont(QFont("Helvetica", 16))
        self.licenseTextEdit.setText(license_txt)
        

    def __tr(self,s,c = None):
        return qApp.translate("PluginLicenseForm",s,c)