Plug the search widget in the main window (top dock)
Move all dock-related initialization to a dedicated function
This commit is contained in:
parent
45016bd3a2
commit
bc63d4e575
2 changed files with 91 additions and 24 deletions
|
@ -43,6 +43,7 @@ class DanbooruService;
|
|||
class DanbooruPostModel;
|
||||
class DanbooruPoolModel;
|
||||
class DanbooruConnectWidget;
|
||||
class DanbooruSearchWidget;
|
||||
|
||||
/**
|
||||
* This class serves as the main window for danbooru_client. It handles the
|
||||
|
@ -62,6 +63,7 @@ private:
|
|||
DanbooruPoolModel *m_poolModel;
|
||||
DanbooruService *m_service;
|
||||
DanbooruConnectWidget *m_connectWidget;
|
||||
DanbooruSearchWidget *m_searchWidget;
|
||||
QTableView *m_tableView;
|
||||
KImageCache *m_cache;
|
||||
static QHash<int, DanbooruPost::Rating> ratingMap;
|
||||
|
@ -79,6 +81,7 @@ public:
|
|||
|
||||
private:
|
||||
void setupActions();
|
||||
void setupDockWidgets();
|
||||
void setupConnections();
|
||||
|
||||
private Q_SLOTS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue