# Path: qad_msg.py
# class QadMsgClass():
#    def __init__(self):
#    def translate(self, context, sourceText, disambiguation = None, encoding = QCoreApplication.UnicodeUTF8, n = -1):
# def qadShowPluginHelp(section = "", filename = "index", packageName = None):


from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from qgis.core import QgsApplication
from qgis.utils import *
from qgis.gui import *
from qad_variables import *
from qad_msg import QadMsg, qadShowPluginHelp
import qad_windowcolor_ui
import qad_utils


   #============================================================================
   # setupUi
   #============================================================================
   def setupUi(self, Dialog):
      qad_windowcolor_ui.Ui_WindowColor_Dialog.setupUi(self, self)
      # aggiungo il bottone di qgis QgsColorButtonV2 chiamato buttonColor 
      # che eredita la posizione di Button_ColorDummy (che viene nascosto)
      self.Button_ColorDummy.setHidden(True)
      self.buttonColor = QgsColorButtonV2(self.Button_ColorDummy.parent())
      self.buttonColor.setGeometry(self.Button_ColorDummy.geometry())
      self.buttonColor.setObjectName("buttonColor")
      QObject.connect(self.buttonColor, SIGNAL("colorChanged(QColor)"), self.colorChanged)

      # aggiungo il QWidget chiamato QadPreview
      # che eredita la posizione di widget_Preview (che viene nascosto)
      self.widget_Preview.setHidden(True)
      self.preview = QadPreview(self.plugIn, self.widget_Preview.parent(), self.tempQadVariables, self.currentContext)
      self.preview.setGeometry(self.widget_Preview.geometry())
      self.preview.setObjectName("preview")


   #============================================================================
   # init_context_list
   #============================================================================
   def init_context_list(self):
      self.contextList = dict()

      # description, element dictionary

# Path: qad_msg.py
# class QadMsgClass():
#    def __init__(self):
#    def translate(self, context, sourceText, disambiguation = None, encoding = QCoreApplication.UnicodeUTF8, n = -1):
# def qadShowPluginHelp(section = "", filename = "index", packageName = None):


# Path: qad_windowcolor_dlg.py
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from qgis.core import QgsApplication
from qgis.utils import *
from qgis.gui import *
from qad_variables import *
from qad_msg import QadMsg, qadShowPluginHelp
import qad_windowcolor_ui
import qad_utils



   #============================================================================
   # setupUi
   #============================================================================
   def setupUi(self, Dialog):
      qad_windowcolor_ui.Ui_WindowColor_Dialog.setupUi(self, self)
      # aggiungo il bottone di qgis QgsColorButtonV2 chiamato buttonColor 
      # che eredita la posizione di Button_ColorDummy (che viene nascosto)
      self.Button_ColorDummy.setHidden(True)
      self.buttonColor = QgsColorButtonV2(self.Button_ColorDummy.parent())
      self.buttonColor.setGeometry(self.Button_ColorDummy.geometry())
      self.buttonColor.setObjectName("buttonColor")
      QObject.connect(self.buttonColor, SIGNAL("colorChanged(QColor)"), self.colorChanged)

      # aggiungo il QWidget chiamato QadPreview
      # che eredita la posizione di widget_Preview (che viene nascosto)
      self.widget_Preview.setHidden(True)
      self.preview = QadPreview(self.plugIn, self.widget_Preview.parent(), self.tempQadVariables, self.currentContext)
      self.preview.setGeometry(self.widget_Preview.geometry())
      self.preview.setObjectName("preview")


   #============================================================================
   # init_context_list
   #============================================================================
   def init_context_list(self):
      self.contextList = dict()

      # description, element dictionary

      contextDescr = QadMsg.translate("WindowColor_Dialog", "Model Space") # x lupdate