Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/h/a/Haeffner-Lab-LabRAD-Tools-HEAD/clients/script_scanner_gui/tree_view/Controllers.py   Haeffner-Lab-LabRAD-Tools(Download)
from PyQt4 import QtCore, uic
from Data import Node, ParameterNode, CollectionNode, ScanNode, SidebandElectorNode
from FilterModel import FilterModel
from Models import ParametersTreeModel
from PropertiesEditor import PropertiesEditor
    def setup_model(self): 
        self._rootNode   = Node("Root")
        self._proxyModel = FilterModel(self)
        self._model = ParametersTreeModel(self._rootNode, self)
        self._proxyModel.setSourceModel(self._model)