home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / lib / hplip / ui / nodevicesform.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2006-08-31  |  1.2 KB  |  27 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4. from base.g import *
  5. from base import utils
  6. from prnt import cups
  7. import os.path as os
  8. from qt import *
  9. from nodevicesform_base import NoDevicesForm_base
  10.  
  11. class NoDevicesForm(NoDevicesForm_base):
  12.     
  13.     def __init__(self, parent = None, name = None, modal = 0, fl = 0):
  14.         NoDevicesForm_base.__init__(self, parent, name, modal, fl)
  15.         self.Icon.setPixmap(QPixmap(os.path.join(prop.image_dir, 'warning.png')))
  16.  
  17.     
  18.     def CUPSButton_clicked(self):
  19.         utils.openURL('http://localhost:631/printers')
  20.         self.close()
  21.  
  22.     
  23.     def ExitButton_clicked(self):
  24.         self.close()
  25.  
  26.  
  27.