How to use the nodeeditor.NodeEditor function in nodeeditor

To help you get started, we’ve selected a few nodeeditor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github softdevteam / eco / lib / eco / editortab.py View on Github external
def __init__(self, parent=None):
        QWidget.__init__(self, parent)
        boxlayout = QHBoxLayout(self)
        self.scrollarea = ScopeScrollArea(self)
        self.editor = NodeEditor(self)
        self.editor.setFocusPolicy(QtCore.Qt.WheelFocus)

        self.scrollarea.setWidget(self.editor)
        self.scrollarea.setWidgetResizable(True)
        self.scrollarea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.scrollarea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.scrollarea.update_theme()

        self.linenumbers = LineNumbers(self)
        self.linenumbers.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)

        self.autolboxes = AutoLBoxComplete(self)

        boxlayout.addWidget(self.autolboxes)
        boxlayout.addWidget(self.linenumbers)
        boxlayout.addWidget(self.scrollarea)

nodeeditor

Python Node Editor using PyQt5

MIT
Latest version published 3 years ago

Package Health Score

39 / 100
Full package analysis

Similar packages