예제 #1
0
class Form4Dialog(QtGui.QDialog):
    def __init__(self):
        QtGui.QDialog.__init__(self)
        # Set up the user interface from Designer.
        self.ui = Ui_Form()
        self.ui.setupUi(self)

    def SetTextBrowseInputShapeSymbology(self):
        self.ui.BrowseShapeLineEdit.setText(flowmapper.InputShpSymbologyName)

    def MeanSymbology(self):
        self.ui.lineEditMeanSymbology.setText(flowmapper.GradSymMeanSymbology)

    def MaxSymbology(self):
        self.ui.lineEditMaxSymbology.setText(flowmapper.GradSymMaxSymbology)

    def MinSymbology(self):
        self.ui.lineEditMinSymbology.setText(flowmapper.GradSymMinSymbology)

    def StdDevSymbology(self):
        self.ui.lineEditStdDevSymbology.setText(
            flowmapper.GradSymStdDevSymbology)

    def NoOfFeaturesSymbology(self):
        self.ui.lineEditNoOfFeaturesSymbology.setText(
            flowmapper.GradSymNoOfFeaturesSymbology)

    def PushButtonColorSelectSymbology_1(self):
        self.ui.PushButtonColorSelect_1.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_1 + " }")

    def PushButtonColorSelectSymbology_2(self):
        self.ui.PushButtonColorSelect_2.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_2 + " }")

    def PushButtonColorSelectSymbology_3(self):
        self.ui.PushButtonColorSelect_3.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_3 + " }")

    def PushButtonColorSelectSymbology_4(self):
        self.ui.PushButtonColorSelect_4.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_4 + " }")

    def PushButtonColorSelectSymbology_5(self):
        self.ui.PushButtonColorSelect_5.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_5 + " }")

    def PushButtonColorSelectSymbology_6(self):
        self.ui.PushButtonColorSelect_6.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_6 + " }")

    def PushButtonColorSelectSymbology_7(self):
        self.ui.PushButtonColorSelect_7.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_7 + " }")

    def PushButtonColorSelectSymbology_8(self):
        self.ui.PushButtonColorSelect_8.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_8 + " }")
예제 #2
0
 def __init__(self):
     QtGui.QDialog.__init__(self)
     # Set up the user interface from Designer.
     self.ui = Ui_Form()
     self.ui.setupUi(self)
예제 #3
0
 def __init__(self):
     QtGui.QDialog.__init__(self)
     # Set up the user interface from Designer.
     self.ui = Ui_Form()
     self.ui.setupUi(self)
예제 #4
0
class Form4Dialog(QtGui.QDialog):
    def __init__(self):
        QtGui.QDialog.__init__(self)
        # Set up the user interface from Designer.
        self.ui = Ui_Form()
        self.ui.setupUi(self)

    def SetTextBrowseInputShapeSymbology(self):
        self.ui.BrowseShapeLineEdit.setText(flowmapper.InputShpSymbologyName)

    def MeanSymbology(self):
        self.ui.lineEditMeanSymbology.setText(flowmapper.GradSymMeanSymbology)

    def MaxSymbology(self):
        self.ui.lineEditMaxSymbology.setText(flowmapper.GradSymMaxSymbology)

    def MinSymbology(self):
        self.ui.lineEditMinSymbology.setText(flowmapper.GradSymMinSymbology)

    def StdDevSymbology(self):
        self.ui.lineEditStdDevSymbology.setText(flowmapper.GradSymStdDevSymbology)

    def NoOfFeaturesSymbology(self):
        self.ui.lineEditNoOfFeaturesSymbology.setText(flowmapper.GradSymNoOfFeaturesSymbology)

    def PushButtonColorSelectSymbology_1(self):
        self.ui.PushButtonColorSelect_1.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_1 + " }"
        )

    def PushButtonColorSelectSymbology_2(self):
        self.ui.PushButtonColorSelect_2.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_2 + " }"
        )

    def PushButtonColorSelectSymbology_3(self):
        self.ui.PushButtonColorSelect_3.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_3 + " }"
        )

    def PushButtonColorSelectSymbology_4(self):
        self.ui.PushButtonColorSelect_4.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_4 + " }"
        )

    def PushButtonColorSelectSymbology_5(self):
        self.ui.PushButtonColorSelect_5.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_5 + " }"
        )

    def PushButtonColorSelectSymbology_6(self):
        self.ui.PushButtonColorSelect_6.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_6 + " }"
        )

    def PushButtonColorSelectSymbology_7(self):
        self.ui.PushButtonColorSelect_7.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_7 + " }"
        )

    def PushButtonColorSelectSymbology_8(self):
        self.ui.PushButtonColorSelect_8.setStyleSheet(
            "QPushButton {background-color: " + flowmapper.color_name_8 + " }"
        )