Commit graph

401 commits

Author SHA1 Message Date
69ef39748a Use a proper icon 2015-02-21 11:36:43 +01:00
b3268539fc This one is not used 2015-02-21 11:36:26 +01:00
44d632258d Allow to configure infinite scrolling 2015-02-21 11:33:08 +01:00
939e114080 Not needed anymore 2015-02-21 11:11:29 +01:00
0c3b61b73c commentedCode--; 2015-02-21 11:09:28 +01:00
7b8214401b Allow downloading posts from the toolbar
This allows downloading if the QML area is not filled.

TODO: Configure infinite scrolling
2015-02-21 11:07:57 +01:00
db03bdbce2 Add tag sorting (based on counts) to the tag view 2015-02-21 10:40:36 +01:00
ebd9e559ef QJson is no longer used 2015-02-21 10:38:51 +01:00
3479c42968 Add a custom role used to sort the tags with an upcoming proxy model 2015-02-20 23:44:24 +01:00
fc20d57708 Get tags related to the posts we are actuallly seeing.
TODO: Sort by size
2015-02-20 23:36:08 +01:00
942d1ffd1e Keep a set of all the tags from the posts stored
This allows later on to get post-specific tags.
2015-02-20 23:35:13 +01:00
f6aa593ee5 Don't add tags with no posts 2015-02-20 23:34:33 +01:00
7ccd845eba Clean up debug statements 2015-02-20 23:34:12 +01:00
cc7c6d1f1a Make downloading via tags work 2015-02-20 17:35:38 +01:00
428c1bae91 Basic support for tooltips in the tag widget 2015-02-20 17:35:08 +01:00
2623fee54d Add tag searching when clicking (broken)
This doesn't work at the moment and I've yet to figure out why...
2015-02-20 07:32:12 +01:00
51792459fb Simplify the handling of visibility in the QML view 2015-02-20 07:31:42 +01:00
25ff37df18 Support for the tag action 2015-02-20 07:31:08 +01:00
fee21d110c Let's not use too advanced C++11 features 2015-02-20 07:30:47 +01:00
cc100ad09a Specialized tag widget to display tags
Actually just a QListView but with support of the user's supplied
blacklist
2015-02-20 07:29:52 +01:00
14e1aa63ab Enable the tag model in the build system 2015-02-17 00:29:10 +01:00
bcc8a4eb5f Add a TODO 2015-02-17 00:28:58 +01:00
7c61efc3c2 Model for storing Danbooru tags 2015-02-17 00:28:31 +01:00
64464c15fe Implement proper saving files (still buggy somehow) 2015-02-16 00:12:14 +01:00
da1dd64317 Really fix CMakeLists.txt 2015-02-15 23:52:31 +01:00
1a8401d584 Fix installation 2015-02-15 23:37:54 +01:00
9aa5a7c839 Rename the xmlgui file 2015-02-15 23:36:36 +01:00
77ad8472c5 Use a lambda for a single Q_EMIT rather than a slot 2015-02-15 22:14:40 +01:00
70ccd49d04 Fix a few errors in board URL retrieval
Some functions accessed an empty QString (m_boardUrl) because it was not
yet filled at the time, breaking logic elsewhere. This is now fixed.
2015-02-15 22:10:58 +01:00
b951cddee4 Put a TODO for "password salts"
The way Danbooru handles passwords is simplistic to stay the least. It's
also impossible to know the "password salt" without visiting the API
page. As such, "salts" need to be put along with the board they
originate from.

The code doesn't handle missing keys, hence this TODO.
2015-02-15 22:05:17 +01:00
dfb9a42a1b Put blacklist configuration in the build system 2015-02-15 22:04:58 +01:00
169c10288e Handle blacklists and user-supplied URLs in main window
Previously, hardcoded URLs would be supplied to the connect widget: now
the preferences are correctly handled.
2015-02-15 22:03:57 +01:00
64021c47e9 Configuration for blacklists 2015-02-15 22:03:25 +01:00
98577bbcb8 Allow setting URLs in the widget (for config) and fix "salt" generation 2015-02-15 21:40:27 +01:00
8493f036ba Reorganize code a bit 2015-02-15 19:03:57 +01:00
32dd9bfc1a Hide the connect widget whether we're auto-downloading or not 2015-02-15 18:52:34 +01:00
d5d0d8ac03 Expose the auto-download functionality in the UI 2015-02-15 18:33:45 +01:00
b72c14dc89 UI file for the search widget - WIP 2015-02-15 18:33:25 +01:00
bc63d4e575 Plug the search widget in the main window (top dock)
Move all dock-related initialization to a dedicated function
2015-02-15 18:32:38 +01:00
45016bd3a2 Make the search widget functional 2015-02-15 18:32:13 +01:00
f4842f7eb9 Add an option to allow auto-download after connection 2015-02-15 18:31:29 +01:00
c1d0710db3 Rename to searchwidget 2015-02-15 16:37:47 +01:00
8570cd6d80 Add support for pool retrieval 2015-02-15 16:37:11 +01:00
ca5ee8b192 Set an object name 2015-02-15 16:36:47 +01:00
9e5dd48bc6 Some test code to see if pool download is working 2015-02-15 01:00:37 +01:00
21360fbe2f Add a poolMode property to QML
Pools don't need infinite scrolling, so set a property which will be
handled from C++ to disable the behavior.

TODO: Ensure that pools with items > 100 are handled.
2015-02-15 00:59:25 +01:00
5a4d2afa84 Add a poolAt() convenience function to the model
This will allow retrieving pools from the UI.
2015-02-15 00:58:31 +01:00
9b47e26bcb Uncomment qDebugs for debugging 2015-02-15 00:58:05 +01:00
7afc82127f Add the pool model to the build system 2015-02-15 00:18:14 +01:00
1af084647f Add a basic pool widget
More work is needed to make it workable:

- Download pools
- Clearing the thumbnail area when things are fetched
- Find a way to get more posts from the same pool
2015-02-15 00:16:33 +01:00