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

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/explorer/tabs/tree_projects_widget.py   ninja-ide(Download)
            else:
                name = file_manager.get_basename(editorWidget.file_path)
            new_path = file_manager.create_path(addToProject.pathSelected, name)
            ide_srv = IDE.get_service("ide")
            old_file = ide_srv.get_or_create_nfile(path)
                                   QMessageBox.Yes, QMessageBox.No)
        if val == QMessageBox.Yes:
            path = file_manager.create_path(path)
            main_container = ide_srv = IDE.get_service('main_container')
            if main_container and main_container.is_open(path):
                translations.TR_INVALID_FILENAME_ENTER_A_FILENAME)
            return
        new_path = file_manager.create_path(addToProject.pathSelected, name)
        ide_srv = IDE.get_service("ide")
        current_nfile = ide_srv.get_or_create_nfile(path)
            return
        name = file_manager.get_basename(path)
        new_path = file_manager.create_path(addToProject.pathSelected, name)
        ide_srv = IDE.get_service("ide")
        current_nfile = ide_srv.get_or_create_nfile(path)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/tools_dock/find_in_files.py   ninja-ide(Download)
            lineno = item.text(1)
            root_dir_name = parent.dir_name_root
            file_path = file_manager.create_path(root_dir_name, file_name)
            #open the file and jump_to_line
            self._main_container.open_file(file_path,
                root_dir_name = parent.dir_name_root
                file_name = parent.text(0)
                file_path = file_manager.create_path(root_dir_name, file_name)
                try:
                    content = file_manager.read_file_content(file_path)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/__init__.py   ninja-ide(Download)
    lang = qsettings.value('preferences/interface/language',
                           defaultValue=language, type='QString') + '.qm'
    lang_path = file_manager.create_path(resources.LANGS, lang)
    if file_manager.file_exists(lang_path):
        settings.LANGUAGE = lang_path
    if settings.NINJA_SKIN not in ('Default', 'Classic Theme'):
        file_name = ("%s.qss" % settings.NINJA_SKIN)
        qss_file = file_manager.create_path(resources.NINJA_THEME_DOWNLOAD,
                                            file_name)
        if file_manager.file_exists(qss_file):
                             type='QString')
    if scheme != 'default':
        scheme = file_manager.create_path(resources.EDITOR_SKINS,
                                          scheme + '.color')
        if file_manager.file_exists(scheme):

src/n/i/ninja-ide-HEAD/ninja_ide/gui/dialogs/preferences/preferences_editor_scheme_designer.py   ninja-ide(Download)
            return
        fileName = ('{0}.color'.format(
            file_manager.create_path(resources.EDITOR_SKINS, name)))
        answer = True
        if file_manager.file_exists(fileName):

src/n/i/ninja-ide-HEAD/ninja_ide/gui/dialogs/preferences/preferences_editor_general.py   ninja-ide(Download)
    def _remove_scheme(self):
        name = self._listScheme.currentItem().text()
        fileName = ('{0}.color'.format(
            file_manager.create_path(resources.EDITOR_SKINS, name)))
        file_manager.delete_file(fileName)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/tools_dock/tools_dock.py   ninja-ide(Download)
                self.emit(SIGNAL("projectExecuted(QString)"), nproject.path)
 
                main_file = file_manager.create_path(nproject.path,
                                                     nproject.main_file)
                self._run_application(