Make the search widget functional
This commit is contained in:
parent
f4842f7eb9
commit
45016bd3a2
3 changed files with 71 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue