def __init__(self, mainWindow, title):
     DockElement.__init__(self, mainWindow, "Solver Properties")
     self._data = None
     self.setToolTip('This shows the Properties the loaded Solver.')
     self.setupUi()
     self._mainWindow = mainWindow
     self.disableEditing(mainWindow.getDisabled())
 def __init__(self, mainWindow, title):
     DockElement.__init__(self, mainWindow, "Layer Properties")
     self.tab = QtWidgets.QTabWidget()
     self.tab.setDocumentMode(True)
     self.setWidget(self.tab)
     self.ids = []
     self.datadict = {}
     self._mainWindow = mainWindow
     self.disableEditing(mainWindow.getDisabled())
Exemplo n.º 3
0
 def __init__(self, mainWindow, title):
     DockElement.__init__(self, mainWindow, title)
     self.mainWindow = mainWindow
     self.default_actions = mainWindow.actions
     self.name = title
     self.resize(300, 500)
     self.__setupGui()
     self.controller = None
     self.displayed_sessions = None
    def __init__(self, mainWindow, title):
        DockElement.__init__(self, mainWindow, 'Network Layers')
        self.name = title

        # Set the minimum size parameters
        self.setMinimumHeight(265)
        self.setMinimumWidth(250)

        widget = QtWidgets.QWidget()
        self.layout = QtWidgets.QVBoxLayout()
        widget.setLayout(self.layout)
        self.setWidget(widget)

        self.addTextfieldForSearch()
        self.addTableWidget()
    def __init__(self, mainWindow, title):

        # Set title and initialize the dock widget
        DockElement.__init__(self, mainWindow, title)
        self.name = title
        widget = QtWidgets.QWidget()
        self.layout = QtWidgets.QVBoxLayout()

        # Add the text field and the layer list to the widget
        self.addDescription()
        self.addTextfieldForSearch()
        self.addListOfAllLayers()

        self.allLayersDict = info.CaffeMetaInformation().availableLayerTypes()
        self.allLayers = self.dictionaryToList(self.allLayersDict)
        self.setAllLayersNewLayerList(self.allLayers)

        widget.setLayout(self.layout)
        self.setWidget(widget)
    def __init__(self, mainWindow, title):
        DockElement.__init__(self, mainWindow, title)

        self.caller_id = None

        self.__setupGui()

        # Initialize the comboboxes needed
        self.sessionComboBox.activated['QString'].connect(self.__setCurrentSession)
        self.snapshotComboBox.activated['QString'].connect(self.__setCurrentSnapshot)
        self.layerComboBox.activated['QString'].connect(self.__setCurrentLayer)

        self.__currentSessionId = None
        self.__currentSnapshotId = None
        self.__currentLayerName = None
        self.__currentNet = None

        self.__sessionDict = {}
        # Stores the snapshots which has been selected by the user, to load them faster the next time they are needed.
        self.__alreadyOpenSnapshots = {}
Exemplo n.º 7
0
    def __init__(self, mainWindow, title):
        DockElement.__init__(self, mainWindow, 'Console')
        self.name = title
        self.resize(700, 500)
        self.widget = QWidget()

        Log.newLine.connect(self.appendLineToConsole)
        Log.sigRefreshGui.connect(self.appendLinesToConsole)
        Log.sigRefreshCallers.connect(self.fillCallerComboBox)

        self.__callersCopy = []

        self.__currentCallerFilter = -1
        self.__currentTypeFilter = -1

        self.__msgTypes = [Logger.ALL, Logger.ERROR, Logger.TEXT]

        self.__logOutput = None
        self.__callerComboBox = None

        self.__scrollDown = True

        self.__setupGui()
Exemplo n.º 8
0
 def __init__(self, mainWindow, title):
     DockElement.__init__(self, mainWindow, 'Plotter')
     self.name = title
     self.setWindowTitle(title)
     self.setupUi()