Plugin Dialog Interaction¶
Interaction method is stored in SimilarityPlugin Class as its method
Preview section¶
resultPreview
(self)¶Activate preview section
See also
refreshPreview
(self)¶
CalcDialog.widgetCanvas : QgsMapCanvas
CalcDialog.nextBtn : QPushButton
CalcDialog.previousBtn : QPushButton
CalcDialog.removeBtn : QPushButton
attrPrinter
(self, fieldList: object, feature: QgsFeature, place: QTextEdit)¶Print feature atrribute info on text edit in preview section
- Parameters
fieldList (object) – Iterable field value object
feature (QgsFeature) – The feature will be printed
place (QTextEdit) – The place atrribute will be printed
refreshPreview
(self)¶Redraw canvas preview and reprint the attribute value based on current preview.
See also
attrPrinter
(self, fieldList: object, feature: QgsFeature, place: QTextEdit)¶
nextPreview
(self)¶next result features
nextPrevious
(self)¶previous result features
rmFeatResult
(self)¶Remove the current result
rmWarn
(self)¶Warning dialog to prevent accidentally remove result
Action section¶
addScoreItem
(self)¶Adding result score
calculateDialogAccepted
(self)¶Interaction when self.dialogCalc accepted
calculateClicked
(self)¶Interaction when self.dlg.calcBtn clicked
calculateDialogRejected
(self)¶Interaction when self.dialogCalc rejected
registerToProject
(self)¶Interaction when self.dlg.saveBtn clicked