示例#1
0
    def _initUI(self):
        # Widgets
        self._brw_pendbase = DirBrowseWidget()

        self._brw_exe = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_exe.setNameFilter('Application files (*.exe)')
        else:
            self._brw_exe.setNameFilter('Application files (*)')

        self._spn_dumpp = QSpinBox()
        self._spn_dumpp.setMinimum(30)
        self._spn_dumpp.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow("Path to pendbase directory", self._brw_pendbase)
        layout.addRow('Path to PENEPMA executable', self._brw_exe)
        layout.addRow('Interval between dump (s)', self._spn_dumpp)

        # Signals
        self._brw_pendbase.pathChanged.connect(self._onPathChanged)
        self._brw_exe.pathChanged.connect(self._onPathChanged)

        return layout
示例#2
0
    def _initUI(self):
        # Widgets
        self._brw_exe = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_exe.setNameFilter('Application files (*.exe)')
        else:
            self._brw_exe.setNameFilter('Application files (*)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow('Full path to WinXRay.exe', self._brw_exe)

        return layout
    def _initUI(self):
        # Widgets
        self._brw_exe = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_exe.setNameFilter('Application files (*.exe)')
        else:
            self._brw_exe.setNameFilter('Application files (*)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow('Full path to WinXRay.exe', self._brw_exe)

        return layout
示例#4
0
    def _initUI(self, settings):
        # Widgets
        self._brw_exe = FileBrowseWidget()
        self._brw_exe.setNameFilter('Application files (*.exe)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self, settings)
        layout.addRow('Full path to console_casino3_script.exe', self._brw_exe)

        # Defaults
        if 'casino3' in settings:
            path = getattr(settings.casino3, 'exe', None)
            try:
                self._brw_exe.setPath(path)
            except ValueError:
                pass

        return layout
    def _initUI(self):
        # Widgets
        self._brw_pendbase = DirBrowseWidget()

        self._brw_exe = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_exe.setNameFilter('Application files (*.exe)')
        else:
            self._brw_exe.setNameFilter('Application files (*)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow("Path to pendbase directory", self._brw_pendbase)
        layout.addRow('Path to PENSHOWER executable', self._brw_exe)

        # Signals
        self._brw_pendbase.pathChanged.connect(self._onPathChanged)
        self._brw_exe.pathChanged.connect(self._onPathChanged)

        return layout
示例#6
0
    def _initUI(self):
        # Widgets
        self._brw_basedir = DirBrowseWidget()

        self._brw_exe = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_exe.setNameFilter('Application files (*.exe)')
        else:
            self._brw_exe.setNameFilter('Application files (*)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow('Full path to base directory', self._brw_basedir)
        layout.addRow('Full path to Mccli32.exe (optional)', self._brw_exe)

        # Signals
        self._brw_basedir.pathChanged.connect(self._onPathChanged)
        self._brw_exe.pathChanged.connect(self._onPathChanged)

        return layout
    def _initUI(self):
        # Widgets
        self._brw_basedir = DirBrowseWidget()

        self._brw_exe = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_exe.setNameFilter('Application files (*.exe)')
        else:
            self._brw_exe.setNameFilter('Application files (*)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow('Full path to base directory', self._brw_basedir)
        layout.addRow('Full path to Mccli32.exe (optional)', self._brw_exe)

        # Signals
        self._brw_basedir.pathChanged.connect(self._onPathChanged)
        self._brw_exe.pathChanged.connect(self._onPathChanged)

        return layout
示例#8
0
    def _initUI(self):
        # Widgets
        self._brw_pendbase = DirBrowseWidget()

        self._brw_exe = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_exe.setNameFilter('Application files (*.exe)')
        else:
            self._brw_exe.setNameFilter('Application files (*)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow("Path to pendbase directory", self._brw_pendbase)
        layout.addRow('Path to PENSHOWER executable', self._brw_exe)

        # Signals
        self._brw_pendbase.pathChanged.connect(self._onPathChanged)
        self._brw_exe.pathChanged.connect(self._onPathChanged)

        return layout
示例#9
0
    def _initUI(self):
        # Controls
        self._brw_java = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_java.setNameFilter('Application files (*.exe)')
        else:
            self._brw_java.setNameFilter('Application files (*)')

        self._brw_jar = FileBrowseWidget()
        self._brw_jar.setNameFilter('Jar files (*.jar)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow('Path to Java executable', self._brw_java)
        layout.addRow('Path to pymontecarlo-dtsa2-proza.jar', self._brw_jar)

        # Signals
        self._brw_java.pathChanged.connect(self._onPathChanged)
        self._brw_jar.pathChanged.connect(self._onPathChanged)

        return layout
    def _initUI(self):
        # Controls
        self._brw_java = FileBrowseWidget()
        if os.name == 'nt':
            self._brw_java.setNameFilter('Application files (*.exe)')
        else:
            self._brw_java.setNameFilter('Application files (*)')

        self._brw_jar = FileBrowseWidget()
        self._brw_jar.setNameFilter('Jar files (*.jar)')

        # Layouts
        layout = _ConfigurePanelWidget._initUI(self)
        layout.addRow('Path to Java executable', self._brw_java)
        layout.addRow('Path to pymontecarlo-dtsa2-nistmonte.jar', self._brw_jar)

        # Signals
        self._brw_java.pathChanged.connect(self._onPathChanged)
        self._brw_jar.pathChanged.connect(self._onPathChanged)

        return layout