Exemplo n.º 1
0
def main():
    """
    Application entry point.
    """
    app = Application()
    ret_code = app.run()
    app.close()
    return ret_code
Exemplo n.º 2
0
def main():
    """
    Application entry point.
    """
    if not hasattr(sys, 'frozen'):
        override_sys_path()
    from pyqode.qt import QtGui
    from open_cobol_ide import system
    from open_cobol_ide.app import Application
    from open_cobol_ide.settings import Settings
    if system.linux:
        QtGui.QIcon.setThemeName(Settings().icon_theme)
    app = Application()
    ret_code = app.run()
    app.close()
    return ret_code
Exemplo n.º 3
0
def main():
    """
    Application entry point.
    """
    dev_mode = os.environ.get('OCIDE_DEV_MODE')
    if not hasattr(sys, 'frozen') and dev_mode is None:
        override_sys_path()
    from pyqode.qt import QtGui
    from open_cobol_ide import system
    from open_cobol_ide.app import Application
    from open_cobol_ide.settings import Settings
    app = Application()
    if system.linux:
        QtGui.QIcon.setThemeName(Settings().icon_theme)
    ret_code = app.run()
    app.close()
    return ret_code