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
This commit is contained in:
parent
8ed916ef20
commit
1af084647f
2 changed files with 35 additions and 4 deletions
|
@ -23,11 +23,15 @@
|
|||
#ifndef DANBOORU_CLIENT_H
|
||||
#define DANBOORU_CLIENT_H
|
||||
|
||||
#include "libdanbooru/danboorupost.h"
|
||||
|
||||
#include <QTableView>
|
||||
|
||||
#include <kxmlguiwindow.h>
|
||||
#include <KSharedDataCache>
|
||||
#include <KImageCache>
|
||||
|
||||
#include "libdanbooru/danboorupost.h"
|
||||
|
||||
|
||||
class QQuickWidget;
|
||||
|
||||
|
@ -37,6 +41,7 @@ namespace Danbooru
|
|||
class DanbooruClientView;
|
||||
class DanbooruService;
|
||||
class DanbooruPostModel;
|
||||
class DanbooruPoolModel;
|
||||
class DanbooruConnectWidget;
|
||||
|
||||
/**
|
||||
|
@ -54,8 +59,10 @@ class DanbooruMainWindow : public KXmlGuiWindow
|
|||
private:
|
||||
QQuickWidget *m_view;
|
||||
DanbooruPostModel *m_model;
|
||||
DanbooruPoolModel *m_poolModel;
|
||||
DanbooruService *m_service;
|
||||
DanbooruConnectWidget *m_connectWidget;
|
||||
QTableView *m_tableView;
|
||||
KImageCache *m_cache;
|
||||
static QHash<int, DanbooruPost::Rating> ratingMap;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue