Commit graph

17 commits

Author SHA1 Message Date
Damien Elmes
826cbd3ecf make sure we catch esc in progress handler too 2011-12-07 16:47:52 +09:00
Damien Elmes
da2d4073c9 to avoid conflicts, make sure the progress dialog can't be closed 2011-12-04 15:34:31 +09:00
Damien Elmes
b9522487ad finish fields dialog 2011-11-30 12:36:12 +09:00
Damien Elmes
a253d756e3 use pyqt api2; move all imports into a single file for pyside 2011-04-28 09:28:02 +09:00
Damien Elmes
0c5c130f9f more robust deck load on startup 2011-04-28 09:27:56 +09:00
Damien Elmes
8865ca6131 _fields -> fields 2011-04-28 09:27:55 +09:00
Damien Elmes
a84cc55819 make excessive finish() calls a noop 2011-04-28 09:27:55 +09:00
Damien Elmes
7da7894c89 add a progress handler to upgrade 2011-04-28 09:27:55 +09:00
Damien Elmes
7acc6a882b gpl>agpl 2011-04-28 09:27:53 +09:00
Damien Elmes
ae1d7bf6fc saving of fields 2011-04-28 09:27:51 +09:00
Damien Elmes
e6b153df13 split error handling into separate file; remove dependency on recurring timer 2011-04-28 09:26:50 +09:00
Damien Elmes
dcd603bbf0 use modal instead of disabling ui on progress; make smoother 2011-04-28 09:26:49 +09:00
Damien Elmes
4fbb63aad5 don't lock the interface unless a progress handler is already active 2011-04-28 09:26:49 +09:00
Damien Elmes
8ea949db74 move the button links to actual buttons, fix some bugs
- by using normal buttons we get the native look&feel and space can activate
  the buttons which is what users expect. Unfortunately it seems that the
  buttons are currently hard-coded to a small font size; hopefully this will
  be fixed in a future toolkit release
- remove the space hack from webview
- move the times into the ease buttons
- set a default button on a few screens
- fix a bug with clearing progress after an error
2011-04-28 09:26:49 +09:00
Damien Elmes
edd04cffa8 fix progress handler 2011-04-28 09:26:48 +09:00
Damien Elmes
f96e03875a more deck browser work
- add a separate toolbar for the deck browser
- add a message when there are no decks
- change the progress handler not to lock the UI immediately, which causes
  flicker
- ensure the webview is focused after stdHtml()
2011-04-28 09:26:46 +09:00
Damien Elmes
d948b00c54 start refactoring main window
- moved progress handling into separate progress.py
- moved deck browser code into separate deckbrowser.py
- started reworking the state code; views will be rolled into this in the
  future
- the main window has been stripped of the study options, inline editor,
  congrats screen and so on, and now consists of a single main widget which
  has a webview placed inside it. The stripped features will be implemented
  either in separate windows, or as part of the web view
2011-04-28 09:26:46 +09:00