Namespaces | |
| namespace | album |
| namespace | configure |
| namespace | dialog |
| namespace | editor |
| namespace | event |
| namespace | helper |
| namespace | library |
| namespace | main_window |
| namespace | models |
| namespace | page |
| namespace | views |
| namespace | widget |
| namespace | work |
Functions | |
| def | progress |
| def | exec_ |
Variables | |
| tuple | qt_version = pyqtconfig.Configuration() |
| int | qt_version = 262404 |
| tuple | app = QApplication(sys.argv) |
| tuple | locale_dir_pattern = os.path.join(qocfg.get_locale_dir(),"%s","LC_MESSAGES") |
| tuple | lang = locale.getlocale() |
| string | locale_dir = '_' |
| locale_dir = None | |
| tuple | translator = QTranslator() |
| tuple | qttranslator = QTranslator() |
| tuple | splash = QSplashScreen( QPixmap(qo.utils.decode(qocfg.get_splash_img())), Qt.WindowStaysOnTopHint ) |
| tuple | palette = splash.palette() |
| tuple | font = splash.font() |
| def py::gui::exec_ | ( | ) |
00085 : 00086 global splash 00087 progress(_("Verifying database...")) 00088 00089 notifier = qo.notifier.progress(lambda name,pc : progress(name), lambda name,pc : progress(name)) 00090 00091 qodb.admin.check_and_repair(notifier) 00092 qocfg.upgrade(notifier) 00093 00094 if not qocfg.cfg.has_option("General","configured") : 00095 from gui.dialog import firstrun_wizard, progress_notifier 00096 cfg = firstrun_wizard(splash).exec_() 00097 if cfg['download_catalog'] : 00098 progress_notifier(splash, _("Catalog update"), qo.catalog.update).exec_() 00099 qocfg.cfg.setboolean("General","configured",True) 00100 00101 progress(_("Loading interface...")) 00102 from gui.main_window import main_window 00103 mw = main_window() 00104 mw.show() 00105 progress(_("Filling views...")) 00106 mw.fill() 00107 progress(_("Done")) 00108 splash.close() 00109 del splash 00110 if qocfg.get_autosend_overlay() : 00111 QTimer.singleShot(5*60000, mw.send_overlay_silent) 00112 return app.exec_() 00113
| def py::gui::progress | ( | status | ) |
00079 : 00080 splash.showMessage( status, Qt.AlignBottom | Qt.AlignRight ) 00081 qApp.processEvents() 00082 00083 progress(_("Initialisation")) 00084 def exec_() :
tuple py::gui::app = QApplication(sys.argv) [static] |
tuple py::gui::font = splash.font() [static] |
tuple py::gui::lang = locale.getlocale() [static] |
py::gui::locale_dir = None [static] |
string py::gui::locale_dir = '_' [static] |
tuple py::gui::locale_dir_pattern = os.path.join(qocfg.get_locale_dir(),"%s","LC_MESSAGES") [static] |
tuple py::gui::palette = splash.palette() [static] |
int py::gui::qt_version = 262404 [static] |
tuple py::gui::qt_version = pyqtconfig.Configuration() [static] |
tuple py::gui::qttranslator = QTranslator() [static] |
tuple py::gui::splash = QSplashScreen( QPixmap(qo.utils.decode(qocfg.get_splash_img())), Qt.WindowStaysOnTopHint ) [static] |
tuple py::gui::translator = QTranslator() [static] |
1.5.3