home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / lib / hplip / ui / supportform.py < prev    next >
Encoding:
Python Source  |  2006-08-30  |  1.1 KB  |  38 lines

  1. # -*- coding: utf-8 -*-
  2.  
  3. from base.g import *
  4. from qt import *
  5. from supportform_base import SupportForm_base
  6. from base import utils
  7. import os.path
  8.  
  9. class SupportForm(SupportForm_base):
  10.  
  11.     def __init__(self,parent = None,name = None,modal = 0,fl = 0):
  12.         SupportForm_base.__init__(self,parent,name,modal,fl)
  13.  
  14.     def hpinktjetButton_clicked(self):
  15.         utils.openURL("http://hpinkjet.sourceforge.net/")
  16.  
  17.     def linuxprintingButton_clicked(self):
  18.         utils.openURL("http://linuxprinting.org/")
  19.  
  20.     def cupsButton_clicked(self):
  21.         utils.openURL("http://cups.org/")
  22.  
  23.     def deb_hplip_docButton_clicked(self):
  24.         utils.openURL("file:///usr/share/doc/hplip/")
  25.  
  26.     def deb_hplipdoc_docButton_clicked(self):
  27.         utils.openURL("file:///usr/share/doc/hplip-doc/HTML/index.html")
  28.  
  29.     def deb_hpijs_docButton_clicked(self):
  30.         utils.openURL("file:///usr/share/doc/hpijs/")
  31.  
  32.     def deb_hpijsppds_docButton_clicked(self):
  33.         utils.openURL("file:///usr/share/doc/hpijs-ppds/")
  34.  
  35.     def deb_lpoppds_docButton_clicked(self):
  36.         utils.openURL("file:///usr/share/doc/linuxprinting.org-ppds/")
  37.  
  38.