+ def insertLineEdit(self, index, value, informations):
+ """
+ Inserts in the table at index a line edit for hexadecimal property
+ setted to value.
+ """
+ edit_box = QLineEdit()
+ edit_validator = QRegExpValidator(QRegExp(r"^0x[0-9A-Fa-f]+$"), edit_box)
+ edit_box.setValidator(edit_validator)
+ self.pageContent.propertyTable.setCellWidget(index, 1, edit_box)
+ edit_box.setText(value)
+ self._control_group.addControl(index, edit_box)
+