old_contents: #!/usr/bin/env python
  
  from PyQt4.QtCore import *
  from PyQt4.QtGui import *
  
  from structdata.project import g_project
  
  class ChangeBGButton(QPushButton):
  
      def __init__(self, parent=None):
          super(ChangeBGButton, self).__init__(parent)
          self.setStyleSheet("background-color:"
                                             "rgba( 255, 255, 255, 0% );")
          self.setIcon(QIcon("PageTurn.jpg"))
          self.setIconSize(QSize(30, 30))
  
  
  
  
new_contents: #!/usr/bin/env python
  
  from PyQt4.QtCore import *
  from PyQt4.QtGui import *
  
  
  class ChangeBGButton(QPushButton):
  
      def __init__(self, parent=None):
          super(ChangeBGButton, self).__init__(parent)
          self.setStyleSheet("background-color:"
                                             "rgba( 255, 255, 255, 0% );")
          self.setIcon(QIcon("PageTurn.jpg"))
          self.setIconSize(QSize(30, 30))
  
  
  
  
subject: remove unused import g_project