# 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 qad_dim import *
from qad_msg import QadMsg, qadShowPluginHelp
import qad_dimstyle_diff_ui
import qad_utils
            self.insertProp(propDescr, prop1Value, prop2Value)

      self.tableWidget.sortItems(0)

      self.tableWidget.horizontalHeader().setResizeMode(0, QHeaderView.ResizeToContents)
      self.tableWidget.horizontalHeader().setResizeMode(2, QHeaderView.Interactive)
      self.tableWidget.horizontalHeader().setResizeMode(3, QHeaderView.Interactive)
           
      self.msg.setText(QadMsg.translate("DimStyle_Diff_Dialog", "Found {0} differences: ").format(str(self.count)))


   def insertProp(self, description, val1, val2 = None):
      self.tableWidget.insertRow(self.count)
      
      item = QTableWidgetItem(unicode(description))
      item.setFlags(Qt.NoItemFlags | Qt.ItemIsEnabled | Qt.ItemIsSelectable)
      self.tableWidget.setItem(self.count, 0, item)
      
      item = QTableWidgetItem(unicode(val1))
      item.setFlags(Qt.NoItemFlags | Qt.ItemIsEnabled | Qt.ItemIsSelectable)
      self.tableWidget.setItem(self.count, 1, item)
      
      if val2 is not None:
         item = QTableWidgetItem(unicode(val2))
         item.setFlags(Qt.NoItemFlags | Qt.ItemIsEnabled | Qt.ItemIsSelectable)
         self.tableWidget.setItem(self.count, 2, item)
      self.count += 1
      
   
   def ButtonHELP_Pressed(self):

# 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_dimstyle_diff_dlg.py
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from qgis.core import QgsApplication
from qgis.utils import *
from qad_dim import *
from qad_msg import QadMsg, qadShowPluginHelp
import qad_dimstyle_diff_ui
import qad_utils

            self.insertProp(propDescr, prop1Value, prop2Value)

      self.tableWidget.sortItems(0)

      self.tableWidget.horizontalHeader().setResizeMode(0, QHeaderView.ResizeToContents)
      self.tableWidget.horizontalHeader().setResizeMode(2, QHeaderView.Interactive)
      self.tableWidget.horizontalHeader().setResizeMode(3, QHeaderView.Interactive)
           
      self.msg.setText(QadMsg.translate("DimStyle_Diff_Dialog", "Found {0} differences: ").format(str(self.count)))


   def insertProp(self, description, val1, val2 = None):
      self.tableWidget.insertRow(self.count)
      
      item = QTableWidgetItem(unicode(description))
      item.setFlags(Qt.NoItemFlags | Qt.ItemIsEnabled | Qt.ItemIsSelectable)
      self.tableWidget.setItem(self.count, 0, item)
      
      item = QTableWidgetItem(unicode(val1))
      item.setFlags(Qt.NoItemFlags | Qt.ItemIsEnabled | Qt.ItemIsSelectable)
      self.tableWidget.setItem(self.count, 1, item)
      
      if val2 is not None:
         item = QTableWidgetItem(unicode(val2))
         item.setFlags(Qt.NoItemFlags | Qt.ItemIsEnabled | Qt.ItemIsSelectable)
         self.tableWidget.setItem(self.count, 2, item)
      self.count += 1
      
   
   def ButtonHELP_Pressed(self):

      qadShowPluginHelp(QadMsg.translate("Help", "Dimensioning"))