summaryrefslogtreecommitdiffstats
blob: 29ff67521603c06d7d75ecf0331bfcbdd320fe41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2010-2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <QWizardPage>

#include <Swift/QtUI/QtFormWidget.h>
#include <Swift/QtUI/UserSearch/ui_QtUserSearchFieldsPage.h>

namespace Swift {
	class QtUserSearchFieldsPage : public QWizardPage, public Ui::QtUserSearchFieldsPage {
		Q_OBJECT
		public:
			QtUserSearchFieldsPage();
			virtual bool isComplete() const;

			QtFormWidget* getFormWidget();
			void setFormWidget(QtFormWidget *widget);

		public slots:
			void emitCompletenessCheck();

		private:
			QtFormWidget *formWidget_;
	};
}