6.1.1.4.1.6. thyrsis.meshlayer.meshlayerpropertydialog module¶
- class thyrsis.meshlayer.meshlayerpropertydialog.MeshLayerPropertyDialog(layer)¶
Bases :
PyQt5.QtWidgets.QDialog
- DEFAULT_NB_OF_CLASSES = 10¶
- addGraduation(flag=None)¶
Function to add a row in the table widget used for graduation
- Paramètres
flag (bool) – flag unused
- changeClassColors(f)¶
Function to set color ramp used for graduation
- Paramètres
f (string) – path to the image
- classify(flag=None)¶
Function to launch classification from dialog parameters
- Paramètres
flag (bool) – flag unused
- editColor(row, colum)¶
Function to edit the color cell of a row in the table widget Triggered on click on a cell if the cell is in the 0 column
:param row : row index :type row : int :param column : column index :type column : int
- loadClasses(flag=None)¶
Function to load symbology
- Paramètres
flag (bool) – flag unused
- logOnOff(flag)¶
Function to change linear/log scale in the colorLegend layer Triggered on click on logCheckBox
- Paramètres
flag (bool) – flag to set log scale
- removeGraduation(flag=None)¶
Function to remove a row in the table widget used for graduation
- Paramètres
flag (bool) – flag unused
- saveClasses(flag=None)¶
Function to save symbology
- Paramètres
flag (bool) – flag unused
- setFromGraduation(graduation)¶
Function to set rows from graduation
:param graduation : list of tuple => (QColor,float,float) :type graduation: list
- setMaxValue()¶
Function to change max values in the colorLegend layer. Triggered on textChanged on maxValue lineEdit.
- setMinValue()¶
Function to change min values in the colorLegend layer. Triggered on textChanged on minValue lineEdit.
- setSymbology(idx)¶
Function to set continuous/graduated sympbology
- Paramètres
idx (int) – menu index
- updateGraduation(item=None)¶
Function to update graduation in the colorLegend layer
- Paramètres
item (QTableWidgetItem) – tablewidget item
- updateMinMax()¶
Function to update min/max values in the dialog. Triggered on click on updateMinMaxButton.