Skip to content
Snippets Groups Projects

Add testing with pyqt5

Merged Oscar Gustafsson requested to merge testpyqt5 into master
Files
2
+ 1
1
@@ -527,7 +527,7 @@ class MainWindow(QMainWindow):
attr_button_scene.moveBy(
int(self.scene.width() / 4), int(self.scene.height() / 4)
)
attr_button_scene.setFlag(attr_button_scene.ItemIsSelectable, True)
attr_button_scene.setFlag(Qt.ItemFlag.ItemIsSelectable, True)
operation_label = QGraphicsTextItem(op.name, attr_button_scene)
if not self.is_show_names:
operation_label.setOpacity(0)
Loading