# Path: help.py
# def show_context_help(context=None):
#     """Show help using the user's web browser.
# 
#     :type context: str
#     :param context: Page name (without path) of a document in the
#        user-docs subdirectory. e.g. 'keywords'
#     """
# 
#     try:
#         _show_local_help(context)
#     except HelpFileMissingError:
#         _show_online_help(context)


from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4 import QtCore, QtGui
from qgis.core import *
from xml.dom import minidom
from xml.dom.minidom import Document
from ui_calcolorischiopopolazione import Ui_FloodRisk
from tableViewer_gui import TableViewer
    from pylab import *
    from osgeo import ogr
from help import show_context_help
import os.path
import AssessConsequencesPopulation
import sys
import os
import sqlite3
import csv
import locale
    import ogr
                import matplotlib
        self.pushButtonView_2.setIcon(QIcon(":/plugins/floodrisk/icons/table_go.png"))
        self.pushButtonView_2.setIconSize(QSize(25,25))
        self.pushButtonIstogrammi.setIcon(QIcon(":/plugins/floodrisk/icons/chart_bar.png"))
        self.pushButtonIstogrammi.setIconSize(QSize(25,25))
        self.label_red_pop.setPixmap(QPixmap(":/plugins/floodrisk/icons/red20.png"))
        self.label_green_pop.setPixmap(QPixmap(":/plugins/floodrisk/icons/green20.png"))

        # initialize actions
        QObject.connect(self.btnChooseShellFile_3, SIGNAL("clicked()"), self.setFileMaxH)
        QObject.connect(self.btnChooseShellFile_velocita, SIGNAL("clicked()"), self.setFileMaxV)
        QObject.connect(self.btnChooseShellFile_tempi, SIGNAL("clicked()"), self.setFileTime)
        QObject.connect(self.toolButtonEsegui_2, SIGNAL("clicked()"), self.EseguiCalcoloPopolazione)
        QObject.connect(self.pushButtonView_2, SIGNAL("clicked()"), self.VediTabellaRischio)
        QObject.connect(self.pushButtonSalvaProgetto, SIGNAL("clicked()"), self.writexml)
        QObject.connect(self.pushButtonLoadLayer, SIGNAL("clicked()"), self.CaricaLayers)
        QObject.connect(self.pushButtonIstogrammi, SIGNAL("clicked()"), self.istogrammi)
        self.radioButton.toggled.connect(self.setUnderstandingDam)
        self.radioButton_2.toggled.connect(self.setUnderstandingSufri)

        # help
        QObject.connect(self.buttonBox, SIGNAL(_fromUtf8("helpRequested()")), self.show_help)

        self.paramMethod=''
        self.paramUnderstanding=''
        self.paramLOL_notRound=0.0

    #------------- Actions -----------------------

    def show_help(self):
        """Load the help text into the system browser."""

# Path: help.py
# def show_context_help(context=None):
#     """Show help using the user's web browser.
# 
#     :type context: str
#     :param context: Page name (without path) of a document in the
#        user-docs subdirectory. e.g. 'keywords'
#     """
# 
#     try:
#         _show_local_help(context)
#     except HelpFileMissingError:
#         _show_online_help(context)


# Path: calcolorischiopopolazione/calcolorischiopopolazionedialog.py
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4 import QtCore, QtGui
from qgis.core import *
from xml.dom import minidom
from xml.dom.minidom import Document
from ui_calcolorischiopopolazione import Ui_FloodRisk
from tableViewer_gui import TableViewer
    from pylab import *
    from osgeo import ogr
from help import show_context_help
import os.path
import AssessConsequencesPopulation
import sys
import os
import sqlite3
import csv
import locale
    import ogr
                import matplotlib

        self.pushButtonView_2.setIcon(QIcon(":/plugins/floodrisk/icons/table_go.png"))
        self.pushButtonView_2.setIconSize(QSize(25,25))
        self.pushButtonIstogrammi.setIcon(QIcon(":/plugins/floodrisk/icons/chart_bar.png"))
        self.pushButtonIstogrammi.setIconSize(QSize(25,25))
        self.label_red_pop.setPixmap(QPixmap(":/plugins/floodrisk/icons/red20.png"))
        self.label_green_pop.setPixmap(QPixmap(":/plugins/floodrisk/icons/green20.png"))

        # initialize actions
        QObject.connect(self.btnChooseShellFile_3, SIGNAL("clicked()"), self.setFileMaxH)
        QObject.connect(self.btnChooseShellFile_velocita, SIGNAL("clicked()"), self.setFileMaxV)
        QObject.connect(self.btnChooseShellFile_tempi, SIGNAL("clicked()"), self.setFileTime)
        QObject.connect(self.toolButtonEsegui_2, SIGNAL("clicked()"), self.EseguiCalcoloPopolazione)
        QObject.connect(self.pushButtonView_2, SIGNAL("clicked()"), self.VediTabellaRischio)
        QObject.connect(self.pushButtonSalvaProgetto, SIGNAL("clicked()"), self.writexml)
        QObject.connect(self.pushButtonLoadLayer, SIGNAL("clicked()"), self.CaricaLayers)
        QObject.connect(self.pushButtonIstogrammi, SIGNAL("clicked()"), self.istogrammi)
        self.radioButton.toggled.connect(self.setUnderstandingDam)
        self.radioButton_2.toggled.connect(self.setUnderstandingSufri)

        # help
        QObject.connect(self.buttonBox, SIGNAL(_fromUtf8("helpRequested()")), self.show_help)

        self.paramMethod=''
        self.paramUnderstanding=''
        self.paramLOL_notRound=0.0

    #------------- Actions -----------------------

    def show_help(self):
        """Load the help text into the system browser."""

        show_context_help(context='include4')