home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / hplip / ui / imagepropertiesdlg.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2007-04-29  |  1.2 KB  |  27 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.5)
  3.  
  4. import sys
  5. from qt import *
  6. from imagepropertiesdlg_base import ImagePropertiesDlg_base
  7.  
  8. class ImagePropertiesDlg(ImagePropertiesDlg_base):
  9.     
  10.     def __init__(self, filename, location, mimetype, size, exif_info = { }, parent = None, name = None, modal = 0, fl = 0):
  11.         ImagePropertiesDlg_base.__init__(self, parent, name, modal, fl)
  12.         self.setCaption('Properties for ' + filename)
  13.         self.FilenameText.setText('<b>' + filename + '</b>')
  14.         self.LocationText.setText(location)
  15.         self.MimeTypeText.setText(mimetype)
  16.         self.SizeText.setText(size)
  17.         if exif_info:
  18.             for k in exif_info:
  19.                 kk = k.lower()
  20.                 if kk != 'jpegthumbnail':
  21.                     QListViewItem(self.EXifDataListView, k, str(exif_info[k]))
  22.                     continue
  23.             
  24.         
  25.  
  26.  
  27.