Copyright 2010 Comarch S.A.
*******************************************************************************/
-/*! \file XdxfDictDialog.h
+/*!
+ \file XdxfDictDialog.h
+ \brief Implementation of DictDialog interface for xdxf plugin
+
+ \author Mateusz Półrola <mateusz.polrola@comarch.pl>
*/
-//Created by Mateusz Półrola
#ifndef XDXFDICTDIALOG_H
#define XDXFDICTDIALOG_H
-#include "../../common/DictDialog.h"
-#include "XdxfLoadDialog.h"
+#include "../../include/DictDialog.h"
class XdxfPlugin;
-
-//! Implementation of DictDialog interface for xdxf plugin
class XdxfDictDialog : public DictDialog {
Q_OBJECT
public:
explicit XdxfDictDialog(XdxfPlugin* plugin, QObject *parent = 0);
/*!
- Shows add new xdxf dictionary dialog and returns settings of new dict
- \param parent parent widget on which dialog will be displayed
+ Shows "add new xdxf dictionary" dialog and returns settings of a new dict
+ \param parent parent widget on which dialog will be displayed
*/
Settings* addNewDictionary(QWidget *parent);
/*!
- Shows settings dialog and save new settings in plugin
- \param parent parent widget on which dialog will be displayed
- */
+ Shows settings dialog and saves new settings in plugin
+ \param parent parent widget on which dialog will be displayed
+ */
void changeSettings(QWidget *parent);
+ //! Returns last parent of this dialog
+ QWidget* lastDialogParent();
+
+ //! Sets last parent of this dialog
+ void setLastDialogParent(QWidget*);
+
private:
XdxfPlugin* plugin;
+ QWidget* _lastDialogParent;
};
#endif // XDXFDICTDIALOG_H