Make the search widget functional

This commit is contained in:
Luca Beltrame 2015-02-15 18:32:13 +01:00
parent f4842f7eb9
commit 45016bd3a2
3 changed files with 71 additions and 1 deletions

View file

@ -17,4 +17,35 @@
* along with Danbooru Client. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DANBOORU_SEARCHWIDGET_H
#define DANBOORU_SEARCHWIDGET_H
#include "ui_searchwidget.h"
namespace Danbooru {
class DanbooruSearchWidget: public QWidget, Ui::SearchWidget {
Q_OBJECT
public:
explicit DanbooruSearchWidget(QWidget *parent = 0);
~DanbooruSearchWidget();
QStringList selectedTags() const;
private:
QStringList m_tags;
private Q_SLOTS:
void accept();
Q_SIGNALS:
void accepted();
void rejected();
};
} // namespace Danbooru
#endif