def __init__(self, parent, context, program, download_kind, download_directory, downloads): ProgramWizard.__init__(self, parent, context) self.program = program self.setWindowTitle('Download ' + download_kind[0].upper() + download_kind[1:]) self.setPage(Constants.PAGE_DOWNLOAD, ProgramPageDownload(download_kind, download_directory, downloads))
def __init__(self, parent, context, program, available_files, available_directories): ProgramWizard.__init__(self, parent, context) self.program = program self.available_files = available_files self.available_directories = available_directories self.setWindowTitle('Edit Program')
def __init__(self, parent, context, program, last_directory): ProgramWizard.__init__(self, parent, context) self.program = program self.setWindowTitle('Upload Files') self.setPage(Constants.PAGE_FILES, ProgramPageFiles(title_prefix='Step 1 of 2: ', last_directory=last_directory)) self.setPage(Constants.PAGE_UPLOAD, ProgramPageUpload(title_prefix='Step 2 of 2: '))
def __init__(self, parent, context, program, last_directory): ProgramWizard.__init__(self, parent, context) self.program = program self.setWindowTitle('Upload Files') self.setPage( Constants.PAGE_FILES, ProgramPageFiles(title_prefix='Step 1 of 2: ', last_directory=last_directory)) self.setPage(Constants.PAGE_UPLOAD, ProgramPageUpload(title_prefix='Step 2 of 2: '))
def __init__(self, parent, context): ProgramWizard.__init__(self, parent, context) self.setWindowTitle('New Program') self.setPage(Constants.PAGE_GENERAL, ProgramPageGeneral(title_prefix='Step 1 of 8: ')) self.setPage(Constants.PAGE_FILES, ProgramPageFiles(title_prefix='Step 2 of 8: ')) self.setPage(Constants.PAGE_C, ProgramPageC(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_CSHARP, ProgramPageCSharp(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_DELPHI, ProgramPageDelphi(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_JAVA, ProgramPageJava(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_JAVASCRIPT, ProgramPageJavaScript(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_OCTAVE, ProgramPageOctave(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_PERL, ProgramPagePerl(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_PHP, ProgramPagePHP(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_PYTHON, ProgramPagePython(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_RUBY, ProgramPageRuby(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_SHELL, ProgramPageShell(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_VBNET, ProgramPageVBNET(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_ARGUMENTS, ProgramPageArguments(title_prefix='Step 4 of 8: ')) self.setPage(Constants.PAGE_STDIO, ProgramPageStdio(title_prefix='Step 5 of 8: ')) self.setPage(Constants.PAGE_SCHEDULE, ProgramPageSchedule(title_prefix='Step 6 of 8: ')) self.setPage(Constants.PAGE_SUMMARY, ProgramPageSummary(title_prefix='Step 7 of 8: ')) self.setPage(Constants.PAGE_UPLOAD, ProgramPageUpload(title_prefix='Step 8 of 8: '))
def __init__(self, parent, context): ProgramWizard.__init__(self, parent, context) self.setWindowTitle('New Program') self.setPage(Constants.PAGE_GENERAL, ProgramPageGeneral(title_prefix='Step 1 of 8: ')) self.setPage(Constants.PAGE_FILES, ProgramPageFiles(title_prefix='Step 2 of 8: ')) self.setPage(Constants.PAGE_C, ProgramPageC(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_CSHARP, ProgramPageCSharp(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_DELPHI, ProgramPageDelphi(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_JAVA, ProgramPageJava(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_JAVASCRIPT, ProgramPageJavaScript(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_OCTAVE, ProgramPageOctave(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_PERL, ProgramPagePerl(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_PHP, ProgramPagePHP(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_PYTHON, ProgramPagePython(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_RUBY, ProgramPageRuby(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_SHELL, ProgramPageShell(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_VBNET, ProgramPageVBNET(title_prefix='Step 3 of 8: ')) self.setPage(Constants.PAGE_ARGUMENTS, ProgramPageArguments(title_prefix='Step 4 of 8: ')) self.setPage(Constants.PAGE_STDIO, ProgramPageStdio(title_prefix='Step 5 of 8: ')) self.setPage(Constants.PAGE_SCHEDULE, ProgramPageSchedule(title_prefix='Step 6 of 8: ')) self.setPage(Constants.PAGE_SUMMARY, ProgramPageSummary(title_prefix='Step 7 of 8: ')) self.setPage(Constants.PAGE_UPLOAD, ProgramPageUpload(title_prefix='Step 8 of 8: '))