--- /dev/null
+/*******************************************************************************
+
+ This file is part of mDictionary.
+
+ mDictionary is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mDictionary is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mDictionary. If not, see <http://www.gnu.org/licenses/>.
+
+ Copyright 2010 Comarch S.A.
+
+*******************************************************************************/
+
+//Created by Mateusz Półrola
+
+#ifndef XDXFSETTINGSDIALOG_H
+#define XDXFSETTINGSDIALOG_H
+
+#include <QDialog>
+#include "../../../includes/settings.h"
+#include <QtGui>
+#include "xdxfplugin.h"
+
+class XdxfSettingsDialog : public QDialog
+{
+ Q_OBJECT
+public:
+ explicit XdxfSettingsDialog(XdxfPlugin* plugin, QWidget *parent = 0);
+
+ static Settings* getSettings(XdxfPlugin* plugin, QWidget *parent);
+
+ //! Returns choosen by user dictionary file path
+ //QString dicitonaryFilePath();
+
+ //! Returns if user want to cache dictionary
+ // bool generateCache();
+
+signals:
+
+public slots:
+
+private:
+ QLabel* infoLabel;
+ QPushButton* saveButton;
+ QPushButton* browseButton;
+ QLabel* browseLabel;
+ QPushButton* cacheButton;
+ QVBoxLayout* verticalLayout;
+ QHBoxLayout* browseLayout;
+ QHBoxLayout* cacheLayout;
+ QString _dicitonaryFilePath;
+ bool _generateCache;
+ XdxfPlugin* plugin;
+};
+
+#endif // XDXFSETTINGSDIALOG_H