Commit graph

236 commits

Author SHA1 Message Date
6db97fbc5d Hook up the configuration action 2015-02-12 00:19:10 +01:00
1127033e47 Adjust to changes in the UI 2015-02-12 00:18:54 +01:00
7af2981e41 No need to use up/down in the UI, order doesn't matter 2015-02-12 00:18:26 +01:00
b5c96e5035 KConfigXT: use default boards 2015-02-12 00:18:02 +01:00
deb070b907 This is not needed 2015-02-12 00:17:46 +01:00
80e995f0a0 Hook the main page 2015-02-12 00:06:54 +01:00
4fcb5bf182 Clean up CMakeLists.txt 2015-02-12 00:06:33 +01:00
348f5ea0f1 Basic general page configuration 2015-02-12 00:05:44 +01:00
9620581a2f Hook KConfigXT to the main window 2015-02-11 23:01:26 +01:00
39e3a76e4b Preparation for KConfigXT based configuration 2015-02-10 07:43:48 +01:00
735d08f1a8 Add functionality to ensure that the basic system works
There are some things missing:

- Configuration
- Resuming downloads when the list doesn't scroll past the window
2015-02-08 23:53:57 +01:00
d94084bc25 Add setters for board url, cache, username, and password to DanbooruService
Remove also a useless constructor
2015-02-08 23:52:34 +01:00
d20cc5d3f5 Fix connect widget
Don't use winId as it breaks QQuickWidget (see Qt docs)
Add an isAnonymous() function to check whether the login is there or will not be used
Properly set passwords in the wallet
Do the hashing properly
2015-02-08 23:51:15 +01:00
5035caf3ef Remove StrictlyEnforceRange
This causes nasty effects in the view
2015-02-08 12:03:43 +01:00
9b27b329ca Rewrite license block to be consistent 2015-02-08 10:20:36 +01:00
21ec91d937 CMakeLists are a work in progress 2015-02-08 10:20:21 +01:00
867f04daf8 Try to make the grid view with focus 2015-02-08 10:20:00 +01:00
027bd6f6f5 Basic mainwindow is back (not functional yet) 2015-02-08 10:18:38 +01:00
d914dd9744 Extract tags from the model using TagRole 2015-02-08 10:17:59 +01:00
186b0fa0ff Allow using QSet<QString> with QVariants 2015-02-08 10:17:00 +01:00
b05ba203be Those are unneeded now 2015-02-08 10:16:36 +01:00
a23962e9a3 Stub for main application 2015-02-08 10:15:50 +01:00
8b625da6a0 Add transitions for image appearance 2015-02-07 15:40:40 +01:00
bec49f9bb7 Clean up 2015-02-07 15:19:10 +01:00
dc321e88ce Comment out unneeded code 2015-02-07 00:03:51 +01:00
95554b1aac Adjust QML view
Add transitions on button showing / hiding
Add a ScrollView to make scollbars appear
Formatting fixes for readability
2015-02-07 00:03:06 +01:00
6ee35b842c Add support to enable fetching from QML 2015-02-05 23:49:26 +01:00
b88e8a6268 Clean up the model
Add custom roles for QML
Set roleNames()
Use switch() instead of if()
Remove PixmapRole, DecorationRole is enough
2015-02-05 23:48:40 +01:00
f8b59e78b5 Clean up DanbooruService
Remove multi_get for now (broken in kio_http)
Add a default constructor (needed for QML)
Explicitly delete posts
2015-02-05 23:47:29 +01:00
719ef7ecaa Add an (experimental) QML view for the grid
Already works better than the C++ version.
2015-02-05 00:30:26 +01:00
b0185c136b Add custom roles to the post model and export them to QML 2015-02-05 00:29:41 +01:00
4fbfdf753e Add a default constructor for DanbooruPost 2015-02-05 00:28:02 +01:00
1adeaa4063 Bump KF5 requirement to 5.7.0 and Qt to 5.4 2015-02-05 00:26:21 +01:00
5bb326eb39 Add an .arcconfig file for the Phabricator instance 2015-01-25 23:07:41 +01:00
f470558d20 Clean up includes 2014-10-12 14:27:44 +02:00
06f4f8d1fc [libdanbooru/danbooruservice] This is also unneeded 2014-10-06 20:52:07 +02:00
d5e807791e [libdanbooru/danbooruservice] These slots are unneeded now 2014-10-06 20:49:53 +02:00
39aac8c95b Run astyle-kdelibs on the source 2014-10-05 09:53:19 +02:00
4b85d63d68 Use lambdas for most of the jobs 2014-10-05 09:51:26 +02:00
3f760a7690 [libdanbooru/danbooruservice] Move thumbnail downloading to a lambda
slot

This greatly reduces complexity and prevents the ugly passing of
properties along the jobs.
2014-10-04 15:36:10 +02:00
66cd4f46d1 [libdanbooru/utils] Add a convenience function to check if a post is
unwanted

This is mainly done to reduce the complexity of the post handing in
DanbooruService.
2014-10-04 15:35:03 +02:00
d99fd19d22 [danbooruservice] Check the blacklist outside the loop
Otherwise we keep on accessing a deleted post and we crash
2014-10-04 11:13:32 +02:00
fe630c753e Suppress "discards qualifiers" warning 2014-10-04 11:08:22 +02:00
8545ad84a8 Don't create a temporary QSet to check the blacklist 2014-10-04 11:07:41 +02:00
08b32208f0 Use KFormat instead of KGlobal 2014-10-04 11:05:48 +02:00
02b7e0b9bc Port to Qt5's internal JSON parser
Unfortunately the QVariant conversions need to be done as we still need
to handle the XML part
2014-10-04 11:05:02 +02:00
4a1cdc023b DeprecatedClasses--; 2014-10-04 11:04:41 +02:00
bcd24e9381 No longer a QPixmap pointer 2014-10-04 11:04:18 +02:00
2d5fef28fa Porting++, correct includes and signals 2014-10-04 11:03:40 +02:00
36388e667f Use the right KRun syntax 2014-10-04 11:03:15 +02:00