def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--search=word", "search for the given word"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "eric6 Web Browser", "file", "web browser", options) if not Globals.checkBlacklistedVersions(): sys.exit(100) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget, installErrorHandler=True) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 TR Previewer", "file", "TR file previewer", options) # set the library paths for plugins Startup.setLibraryPaths() app = E5Application(sys.argv) client = TRSingleApplicationClient() res = client.connect() if res > 0: if len(sys.argv) > 1: client.processArgs(sys.argv[1:]) sys.exit(0) elif res < 0: print("eric6_trpreviewer: {0}".format(client.errstr())) sys.exit(res) else: res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget, app=app) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [("--config=configDir", "use the given directory as the one containing the config files")] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Unittest", "file", "Graphical unit test application", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [("--config=configDir", "use the given directory as the one containing the config files")] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Snap", "", "Simple utility to do snapshots of the screen.", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo( sys.argv, "Eric6 QRegularExpression", "", "Regexp editor for Qt's QRegularExpression class", options ) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [("--config=configDir", "use the given directory as the one containing the config files")] appinfo = AppInfo.makeAppInfo( sys.argv, "Eric6 Plugin Repository", "", "Utility to show the contents of the eric6" " Plugin repository.", options, ) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 SQL Browser", "connection", "SQL browser", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 RE", "", "Regexp editor for the Python re module", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Compare", "", "Simple graphical compare tool", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Plugin Uninstaller", "", "Plugin uninstallation utility for eric6", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ from PyQt5.QtGui import QGuiApplication QGuiApplication.setDesktopFileName("eric6_re.desktop") options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 RE", "", "Regexp editor for the Python re module", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Plugin Repository", "", "Utility to show the contents of the eric6" " Plugin repository.", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ from PyQt5.QtGui import QGuiApplication QGuiApplication.setDesktopFileName("eric6_iconeditor.desktop") options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ("", "name of file to edit") ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Icon Editor", "", "Little tool to edit icon files.", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("", "name of file to edit") ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Icon Editor", "", "Little tool to edit icon files.", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ from PyQt5.QtGui import QGuiApplication QGuiApplication.setDesktopFileName("eric6_shell.desktop") options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo( sys.argv, "Eric6 Shell", "", "Stand alone version of the eric6" " interpreter shell", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 UI Previewer", "file", "UI file previewer", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ from PyQt5.QtGui import QGuiApplication QGuiApplication.setDesktopFileName("eric6_plugininstall.desktop") options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ("", "names of plugins to install") ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Plugin Installer", "", "Plugin installation utility for eric6", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Pymakr Plugin Uninstaller", "", "Plugin uninstallation utility for Pymakr", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Tray", "", "Traystarter for eric6", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget, quitOnLastWindowClosed=False, raiseIt=False) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Compare", "", "Simple graphical compare tool", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo( sys.argv, "Pymakr Snap", "", "Simple utility to do snapshots of the screen.", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ("", "name of file to edit") ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Hex Editor", "", "Little tool to edit binary files.", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--search=word", "search for the given word") ] appinfo = AppInfo.makeAppInfo(sys.argv, "eric6 Web Browser", "file", "web browser", options) if not Globals.checkBlacklistedVersions(): sys.exit(100) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget, installErrorHandler=True) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo( sys.argv, "Pymakr QRegularExpression", "", "Regexp editor for Qt's QRegularExpression class", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ("", "name of file to edit") ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Editor", "", "Simplified version of the eric6 editor", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)
def main(): """ Main entry point into the application. """ from PyQt5.QtGui import QGuiApplication QGuiApplication.setDesktopFileName("eric6_tray.desktop") options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Tray", "", "Traystarter for eric6", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget, quitOnLastWindowClosed=False, raiseIt=False) sys.exit(res)
def main(): """ Main entry point into the application. """ global app from PyQt5.QtGui import QGuiApplication QGuiApplication.setDesktopFileName("eric6_trpreviewer.desktop") options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 TR Previewer", "file", "TR file previewer", options) # set the library paths for plugins Startup.setLibraryPaths() app = E5Application(sys.argv) client = TRSingleApplicationClient() res = client.connect() if res > 0: if len(sys.argv) > 1: client.processArgs(sys.argv[1:]) sys.exit(0) elif res < 0: print("eric6_trpreviewer: {0}".format(client.errstr())) sys.exit(res) else: res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget, app=app) sys.exit(res)
def main(): """ Main entry point into the application. """ from PyQt5.QtGui import QGuiApplication QGuiApplication.setDesktopFileName("eric6_pluginrepository.desktop") options = [ ("--config=configDir", "use the given directory as the one containing the config files"), ("--settings=settingsDir", "use the given directory to store the settings files"), ] appinfo = AppInfo.makeAppInfo(sys.argv, "Eric6 Plugin Repository", "", "Utility to show the contents of the eric6" " Plugin repository.", options) res = Startup.simpleAppStartup(sys.argv, appinfo, createMainWidget) sys.exit(res)