Florian Bruhin
2b60cdb64c
Object names cleanup
2014-09-23 23:05:55 +02:00
Florian Bruhin
b818bc5896
Use object registry for downloadmanager.
2014-09-23 22:22:03 +02:00
Florian Bruhin
8bd64382bd
Rename utils.qt to utils.qtutils.
2014-08-26 20:25:11 +02:00
Florian Bruhin
e04b31eb90
Remove qt_ prefix from qtutils functions.
2014-08-26 19:23:06 +02:00
Florian Bruhin
d625cde28c
Clean up imports
2014-08-26 19:10:14 +02:00
Florian Bruhin
8d80ce2628
Switch to python 3.4 enums.
...
Our home-brewn enum wasn't really liked by pylint (many no-member errors), so
instead of adding some workaround, we just use the python 3.4 enum instead.
This however also means we need to depend on Python 3.4 and not 3.3. Maybe we
should use enum34 on Python < 3.3.
2014-07-28 20:41:42 +02:00
Florian Bruhin
8a8ca0c34f
Split utils.misc into utils.{qt,misc}
2014-06-23 07:45:04 +02:00
Florian Bruhin
ef5b16556b
More validity checks.
2014-06-22 23:32:49 +02:00
Florian Bruhin
a64775a0f9
Improve logging messages
2014-06-21 22:40:31 +02:00
Florian Bruhin
7a6e2b3242
Ensure validity of Qt objects
2014-06-21 17:02:30 +02:00
Florian Bruhin
113221c731
Log some exceptions
2014-06-20 23:26:19 +02:00
Florian Bruhin
d65587128f
Add vim modelines to all files.
2014-06-19 09:04:37 +02:00
Florian Bruhin
1fef2d02b9
Add an :all-objects command and __repr__s
2014-06-17 11:03:42 +02:00
Florian Bruhin
9b42617c76
Fix lint
2014-06-13 23:09:24 +02:00
Florian Bruhin
6579f4dba0
Resize DownloadModel based on last item
2014-06-13 20:19:00 +02:00
Florian Bruhin
ba1f8e3764
Don't require parent argument for rowCount in DownloadModel.
2014-06-13 20:18:42 +02:00
Florian Bruhin
a5f71a286d
Don't make download items selectable
2014-06-13 17:47:03 +02:00
Florian Bruhin
3e5e8e59c1
Add right-click menu to cancel download
2014-06-13 12:19:30 +02:00
Florian Bruhin
4dc33102b7
Cleanup
2014-06-13 07:41:51 +02:00
Florian Bruhin
8c673ee66c
Add basic download info to view
2014-06-12 23:29:34 +02:00
Florian Bruhin
2ffc9bb00a
Add colors to DownloadView
2014-06-12 21:43:30 +02:00
Florian Bruhin
3c2c08f73a
Add missing docstrings
2014-06-12 17:56:28 +02:00
Florian Bruhin
3150a88a3b
Fix download model output if percentage is None
2014-06-12 10:20:27 +02:00
Florian Bruhin
8d9372045d
Connect downloadmanager signals to model properly
2014-06-12 10:20:10 +02:00
Florian Bruhin
2114f0cd73
Start adding download model/view
2014-06-12 08:02:44 +02:00