Exemplo n.º 1
0
 def create_dock_widget_area(self):
     docWidget = QDockWidget("Script Jobs")
     docWidget.setWidget(self.dock_widget)
     # docWidget.setLayout(layout)
     docWidget.DockWidgetFeatures(QDockWidget.DockWidgetVerticalTitleBar)
     docWidget.setFloating(False)
     self.addDockWidget(Qt.LeftDockWidgetArea, docWidget, Qt.Vertical)
Exemplo n.º 2
0
    def create_dock_widget_area(self):
        docWidget = QDockWidget("Script Jobs")

        # Updated by Pinkesh Shah on 05-May-20 to disable Scheduler layout
        # Start Region
        docWidget.setWidget(self.dock_widget)
        # docWidget.setWidget(self.dockWidgetGroupBox)
        # End Region

        # docWidget.setLayout(layout)
        docWidget.DockWidgetFeatures(QDockWidget.DockWidgetVerticalTitleBar)
        docWidget.setFloating(False)
        self.addDockWidget(Qt.LeftDockWidgetArea, docWidget, Qt.Vertical)

        docWidget.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)